aws_sdk_quicksight/operation/create_account_subscription/builders.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use crate::operation::create_account_subscription::_create_account_subscription_output::CreateAccountSubscriptionOutputBuilder;
3
4pub use crate::operation::create_account_subscription::_create_account_subscription_input::CreateAccountSubscriptionInputBuilder;
5
6impl crate::operation::create_account_subscription::builders::CreateAccountSubscriptionInputBuilder {
7 /// Sends a request with this input using the given client.
8 pub async fn send_with(
9 self,
10 client: &crate::Client,
11 ) -> ::std::result::Result<
12 crate::operation::create_account_subscription::CreateAccountSubscriptionOutput,
13 ::aws_smithy_runtime_api::client::result::SdkError<
14 crate::operation::create_account_subscription::CreateAccountSubscriptionError,
15 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
16 >,
17 > {
18 let mut fluent_builder = client.create_account_subscription();
19 fluent_builder.inner = self;
20 fluent_builder.send().await
21 }
22}
23/// Fluent builder constructing a request to `CreateAccountSubscription`.
24///
25/// <p>Creates an Amazon Quick Sight account, or subscribes to Amazon Quick Sight Q.</p>
26/// <p>The Amazon Web Services Region for the account is derived from what is configured in the CLI or SDK.</p>
27/// <p>Before you use this operation, make sure that you can connect to an existing Amazon Web Services account. If you don't have an Amazon Web Services account, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/setting-up-aws-sign-up.html">Sign up for Amazon Web Services</a> in the <i>Amazon Quick Sight User Guide</i>. The person who signs up for Amazon Quick Sight needs to have the correct Identity and Access Management (IAM) permissions. For more information, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/iam-policy-examples.html">IAM Policy Examples for Amazon Quick Sight</a> in the <i>Amazon Quick Sight User Guide</i>.</p>
28/// <p>If your IAM policy includes both the <code>Subscribe</code> and <code>CreateAccountSubscription</code> actions, make sure that both actions are set to <code>Allow</code>. If either action is set to <code>Deny</code>, the <code>Deny</code> action prevails and your API call fails.</p>
29/// <p>You can't pass an existing IAM role to access other Amazon Web Services services using this API operation. To pass your existing IAM role to Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/security_iam_service-with-iam.html#security-create-iam-role">Passing IAM roles to Amazon Quick Sight</a> in the <i>Amazon Quick Sight User Guide</i>.</p>
30/// <p>You can't set default resource access on the new account from the Amazon Quick Sight API. Instead, add default resource access from the Amazon Quick Sight console. For more information about setting default resource access to Amazon Web Services services, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/scoping-policies-defaults.html">Setting default resource access to Amazon Web Services services</a> in the <i>Amazon Quick Sight User Guide</i>.</p>
31#[derive(::std::clone::Clone, ::std::fmt::Debug)]
32pub struct CreateAccountSubscriptionFluentBuilder {
33 handle: ::std::sync::Arc<crate::client::Handle>,
34 inner: crate::operation::create_account_subscription::builders::CreateAccountSubscriptionInputBuilder,
35 config_override: ::std::option::Option<crate::config::Builder>,
36}
37impl
38 crate::client::customize::internal::CustomizableSend<
39 crate::operation::create_account_subscription::CreateAccountSubscriptionOutput,
40 crate::operation::create_account_subscription::CreateAccountSubscriptionError,
41 > for CreateAccountSubscriptionFluentBuilder
42{
43 fn send(
44 self,
45 config_override: crate::config::Builder,
46 ) -> crate::client::customize::internal::BoxFuture<
47 crate::client::customize::internal::SendResult<
48 crate::operation::create_account_subscription::CreateAccountSubscriptionOutput,
49 crate::operation::create_account_subscription::CreateAccountSubscriptionError,
50 >,
51 > {
52 ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
53 }
54}
55impl CreateAccountSubscriptionFluentBuilder {
56 /// Creates a new `CreateAccountSubscriptionFluentBuilder`.
57 pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
58 Self {
59 handle,
60 inner: ::std::default::Default::default(),
61 config_override: ::std::option::Option::None,
62 }
63 }
64 /// Access the CreateAccountSubscription as a reference.
65 pub fn as_input(&self) -> &crate::operation::create_account_subscription::builders::CreateAccountSubscriptionInputBuilder {
66 &self.inner
67 }
68 /// Sends the request and returns the response.
69 ///
70 /// If an error occurs, an `SdkError` will be returned with additional details that
71 /// can be matched against.
72 ///
73 /// By default, any retryable failures will be retried twice. Retry behavior
74 /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
75 /// set when configuring the client.
76 pub async fn send(
77 self,
78 ) -> ::std::result::Result<
79 crate::operation::create_account_subscription::CreateAccountSubscriptionOutput,
80 ::aws_smithy_runtime_api::client::result::SdkError<
81 crate::operation::create_account_subscription::CreateAccountSubscriptionError,
82 ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
83 >,
84 > {
85 let input = self
86 .inner
87 .build()
88 .map_err(::aws_smithy_runtime_api::client::result::SdkError::construction_failure)?;
89 let runtime_plugins = crate::operation::create_account_subscription::CreateAccountSubscription::operation_runtime_plugins(
90 self.handle.runtime_plugins.clone(),
91 &self.handle.conf,
92 self.config_override,
93 );
94 crate::operation::create_account_subscription::CreateAccountSubscription::orchestrate(&runtime_plugins, input).await
95 }
96
97 /// Consumes this builder, creating a customizable operation that can be modified before being sent.
98 pub fn customize(
99 self,
100 ) -> crate::client::customize::CustomizableOperation<
101 crate::operation::create_account_subscription::CreateAccountSubscriptionOutput,
102 crate::operation::create_account_subscription::CreateAccountSubscriptionError,
103 Self,
104 > {
105 crate::client::customize::CustomizableOperation::new(self)
106 }
107 pub(crate) fn config_override(mut self, config_override: impl ::std::convert::Into<crate::config::Builder>) -> Self {
108 self.set_config_override(::std::option::Option::Some(config_override.into()));
109 self
110 }
111
112 pub(crate) fn set_config_override(&mut self, config_override: ::std::option::Option<crate::config::Builder>) -> &mut Self {
113 self.config_override = config_override;
114 self
115 }
116 /// <p>The edition of Amazon Quick Sight that you want your account to have. Currently, you can choose from <code>ENTERPRISE</code> or <code>ENTERPRISE_AND_Q</code>.</p>
117 /// <p>If you choose <code>ENTERPRISE_AND_Q</code>, the following parameters are required:</p>
118 /// <ul>
119 /// <li>
120 /// <p><code>FirstName</code></p></li>
121 /// <li>
122 /// <p><code>LastName</code></p></li>
123 /// <li>
124 /// <p><code>EmailAddress</code></p></li>
125 /// <li>
126 /// <p><code>ContactNumber</code></p></li>
127 /// </ul>
128 pub fn edition(mut self, input: crate::types::Edition) -> Self {
129 self.inner = self.inner.edition(input);
130 self
131 }
132 /// <p>The edition of Amazon Quick Sight that you want your account to have. Currently, you can choose from <code>ENTERPRISE</code> or <code>ENTERPRISE_AND_Q</code>.</p>
133 /// <p>If you choose <code>ENTERPRISE_AND_Q</code>, the following parameters are required:</p>
134 /// <ul>
135 /// <li>
136 /// <p><code>FirstName</code></p></li>
137 /// <li>
138 /// <p><code>LastName</code></p></li>
139 /// <li>
140 /// <p><code>EmailAddress</code></p></li>
141 /// <li>
142 /// <p><code>ContactNumber</code></p></li>
143 /// </ul>
144 pub fn set_edition(mut self, input: ::std::option::Option<crate::types::Edition>) -> Self {
145 self.inner = self.inner.set_edition(input);
146 self
147 }
148 /// <p>The edition of Amazon Quick Sight that you want your account to have. Currently, you can choose from <code>ENTERPRISE</code> or <code>ENTERPRISE_AND_Q</code>.</p>
149 /// <p>If you choose <code>ENTERPRISE_AND_Q</code>, the following parameters are required:</p>
150 /// <ul>
151 /// <li>
152 /// <p><code>FirstName</code></p></li>
153 /// <li>
154 /// <p><code>LastName</code></p></li>
155 /// <li>
156 /// <p><code>EmailAddress</code></p></li>
157 /// <li>
158 /// <p><code>ContactNumber</code></p></li>
159 /// </ul>
160 pub fn get_edition(&self) -> &::std::option::Option<crate::types::Edition> {
161 self.inner.get_edition()
162 }
163 /// <p>The method that you want to use to authenticate your Quick Sight account.</p>
164 /// <p>If you choose <code>ACTIVE_DIRECTORY</code>, provide an <code>ActiveDirectoryName</code> and an <code>AdminGroup</code> associated with your Active Directory.</p>
165 /// <p>If you choose <code>IAM_IDENTITY_CENTER</code>, provide an <code>AdminGroup</code> associated with your IAM Identity Center account.</p>
166 pub fn authentication_method(mut self, input: crate::types::AuthenticationMethodOption) -> Self {
167 self.inner = self.inner.authentication_method(input);
168 self
169 }
170 /// <p>The method that you want to use to authenticate your Quick Sight account.</p>
171 /// <p>If you choose <code>ACTIVE_DIRECTORY</code>, provide an <code>ActiveDirectoryName</code> and an <code>AdminGroup</code> associated with your Active Directory.</p>
172 /// <p>If you choose <code>IAM_IDENTITY_CENTER</code>, provide an <code>AdminGroup</code> associated with your IAM Identity Center account.</p>
173 pub fn set_authentication_method(mut self, input: ::std::option::Option<crate::types::AuthenticationMethodOption>) -> Self {
174 self.inner = self.inner.set_authentication_method(input);
175 self
176 }
177 /// <p>The method that you want to use to authenticate your Quick Sight account.</p>
178 /// <p>If you choose <code>ACTIVE_DIRECTORY</code>, provide an <code>ActiveDirectoryName</code> and an <code>AdminGroup</code> associated with your Active Directory.</p>
179 /// <p>If you choose <code>IAM_IDENTITY_CENTER</code>, provide an <code>AdminGroup</code> associated with your IAM Identity Center account.</p>
180 pub fn get_authentication_method(&self) -> &::std::option::Option<crate::types::AuthenticationMethodOption> {
181 self.inner.get_authentication_method()
182 }
183 /// <p>The Amazon Web Services account ID of the account that you're using to create your Quick Sight account.</p>
184 pub fn aws_account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
185 self.inner = self.inner.aws_account_id(input.into());
186 self
187 }
188 /// <p>The Amazon Web Services account ID of the account that you're using to create your Quick Sight account.</p>
189 pub fn set_aws_account_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
190 self.inner = self.inner.set_aws_account_id(input);
191 self
192 }
193 /// <p>The Amazon Web Services account ID of the account that you're using to create your Quick Sight account.</p>
194 pub fn get_aws_account_id(&self) -> &::std::option::Option<::std::string::String> {
195 self.inner.get_aws_account_id()
196 }
197 /// <p>The name of your Amazon Quick Sight account. This name is unique over all of Amazon Web Services, and it appears only when users sign in. You can't change <code>AccountName</code> value after the Amazon Quick Sight account is created.</p>
198 pub fn account_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
199 self.inner = self.inner.account_name(input.into());
200 self
201 }
202 /// <p>The name of your Amazon Quick Sight account. This name is unique over all of Amazon Web Services, and it appears only when users sign in. You can't change <code>AccountName</code> value after the Amazon Quick Sight account is created.</p>
203 pub fn set_account_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
204 self.inner = self.inner.set_account_name(input);
205 self
206 }
207 /// <p>The name of your Amazon Quick Sight account. This name is unique over all of Amazon Web Services, and it appears only when users sign in. You can't change <code>AccountName</code> value after the Amazon Quick Sight account is created.</p>
208 pub fn get_account_name(&self) -> &::std::option::Option<::std::string::String> {
209 self.inner.get_account_name()
210 }
211 /// <p>The email address that you want Quick Sight to send notifications to regarding your Quick Sight account or Quick Sight subscription.</p>
212 pub fn notification_email(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
213 self.inner = self.inner.notification_email(input.into());
214 self
215 }
216 /// <p>The email address that you want Quick Sight to send notifications to regarding your Quick Sight account or Quick Sight subscription.</p>
217 pub fn set_notification_email(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
218 self.inner = self.inner.set_notification_email(input);
219 self
220 }
221 /// <p>The email address that you want Quick Sight to send notifications to regarding your Quick Sight account or Quick Sight subscription.</p>
222 pub fn get_notification_email(&self) -> &::std::option::Option<::std::string::String> {
223 self.inner.get_notification_email()
224 }
225 /// <p>The name of your Active Directory. This field is required if <code>ACTIVE_DIRECTORY</code> is the selected authentication method of the new Quick Sight account.</p>
226 pub fn active_directory_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
227 self.inner = self.inner.active_directory_name(input.into());
228 self
229 }
230 /// <p>The name of your Active Directory. This field is required if <code>ACTIVE_DIRECTORY</code> is the selected authentication method of the new Quick Sight account.</p>
231 pub fn set_active_directory_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
232 self.inner = self.inner.set_active_directory_name(input);
233 self
234 }
235 /// <p>The name of your Active Directory. This field is required if <code>ACTIVE_DIRECTORY</code> is the selected authentication method of the new Quick Sight account.</p>
236 pub fn get_active_directory_name(&self) -> &::std::option::Option<::std::string::String> {
237 self.inner.get_active_directory_name()
238 }
239 /// <p>The realm of the Active Directory that is associated with your Quick Sight account. This field is required if <code>ACTIVE_DIRECTORY</code> is the selected authentication method of the new Quick Sight account.</p>
240 pub fn realm(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
241 self.inner = self.inner.realm(input.into());
242 self
243 }
244 /// <p>The realm of the Active Directory that is associated with your Quick Sight account. This field is required if <code>ACTIVE_DIRECTORY</code> is the selected authentication method of the new Quick Sight account.</p>
245 pub fn set_realm(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
246 self.inner = self.inner.set_realm(input);
247 self
248 }
249 /// <p>The realm of the Active Directory that is associated with your Quick Sight account. This field is required if <code>ACTIVE_DIRECTORY</code> is the selected authentication method of the new Quick Sight account.</p>
250 pub fn get_realm(&self) -> &::std::option::Option<::std::string::String> {
251 self.inner.get_realm()
252 }
253 /// <p>The ID of the Active Directory that is associated with your Quick Sight account.</p>
254 pub fn directory_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
255 self.inner = self.inner.directory_id(input.into());
256 self
257 }
258 /// <p>The ID of the Active Directory that is associated with your Quick Sight account.</p>
259 pub fn set_directory_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
260 self.inner = self.inner.set_directory_id(input);
261 self
262 }
263 /// <p>The ID of the Active Directory that is associated with your Quick Sight account.</p>
264 pub fn get_directory_id(&self) -> &::std::option::Option<::std::string::String> {
265 self.inner.get_directory_id()
266 }
267 ///
268 /// Appends an item to `AdminGroup`.
269 ///
270 /// To override the contents of this collection use [`set_admin_group`](Self::set_admin_group).
271 ///
272 /// <p>The admin group associated with your Active Directory or IAM Identity Center account. Either this field or the <code>AdminProGroup</code> field is required if <code>ACTIVE_DIRECTORY</code> or <code>IAM_IDENTITY_CENTER</code> is the selected authentication method of the new Quick Sight account.</p>
273 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
274 pub fn admin_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
275 self.inner = self.inner.admin_group(input.into());
276 self
277 }
278 /// <p>The admin group associated with your Active Directory or IAM Identity Center account. Either this field or the <code>AdminProGroup</code> field is required if <code>ACTIVE_DIRECTORY</code> or <code>IAM_IDENTITY_CENTER</code> is the selected authentication method of the new Quick Sight account.</p>
279 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
280 pub fn set_admin_group(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
281 self.inner = self.inner.set_admin_group(input);
282 self
283 }
284 /// <p>The admin group associated with your Active Directory or IAM Identity Center account. Either this field or the <code>AdminProGroup</code> field is required if <code>ACTIVE_DIRECTORY</code> or <code>IAM_IDENTITY_CENTER</code> is the selected authentication method of the new Quick Sight account.</p>
285 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
286 pub fn get_admin_group(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
287 self.inner.get_admin_group()
288 }
289 ///
290 /// Appends an item to `AuthorGroup`.
291 ///
292 /// To override the contents of this collection use [`set_author_group`](Self::set_author_group).
293 ///
294 /// <p>The author group associated with your Active Directory or IAM Identity Center account.</p>
295 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
296 pub fn author_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
297 self.inner = self.inner.author_group(input.into());
298 self
299 }
300 /// <p>The author group associated with your Active Directory or IAM Identity Center account.</p>
301 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
302 pub fn set_author_group(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
303 self.inner = self.inner.set_author_group(input);
304 self
305 }
306 /// <p>The author group associated with your Active Directory or IAM Identity Center account.</p>
307 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
308 pub fn get_author_group(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
309 self.inner.get_author_group()
310 }
311 ///
312 /// Appends an item to `ReaderGroup`.
313 ///
314 /// To override the contents of this collection use [`set_reader_group`](Self::set_reader_group).
315 ///
316 /// <p>The reader group associated with your Active Directory or IAM Identity Center account.</p>
317 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
318 pub fn reader_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
319 self.inner = self.inner.reader_group(input.into());
320 self
321 }
322 /// <p>The reader group associated with your Active Directory or IAM Identity Center account.</p>
323 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
324 pub fn set_reader_group(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
325 self.inner = self.inner.set_reader_group(input);
326 self
327 }
328 /// <p>The reader group associated with your Active Directory or IAM Identity Center account.</p>
329 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
330 pub fn get_reader_group(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
331 self.inner.get_reader_group()
332 }
333 ///
334 /// Appends an item to `AdminProGroup`.
335 ///
336 /// To override the contents of this collection use [`set_admin_pro_group`](Self::set_admin_pro_group).
337 ///
338 /// <p>The admin pro group associated with your Active Directory or IAM Identity Center account. Either this field or the <code>AdminGroup</code> field is required if <code>ACTIVE_DIRECTORY</code> or <code>IAM_IDENTITY_CENTER</code> is the selected authentication method of the new Quick Sight account.</p>
339 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
340 pub fn admin_pro_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
341 self.inner = self.inner.admin_pro_group(input.into());
342 self
343 }
344 /// <p>The admin pro group associated with your Active Directory or IAM Identity Center account. Either this field or the <code>AdminGroup</code> field is required if <code>ACTIVE_DIRECTORY</code> or <code>IAM_IDENTITY_CENTER</code> is the selected authentication method of the new Quick Sight account.</p>
345 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
346 pub fn set_admin_pro_group(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
347 self.inner = self.inner.set_admin_pro_group(input);
348 self
349 }
350 /// <p>The admin pro group associated with your Active Directory or IAM Identity Center account. Either this field or the <code>AdminGroup</code> field is required if <code>ACTIVE_DIRECTORY</code> or <code>IAM_IDENTITY_CENTER</code> is the selected authentication method of the new Quick Sight account.</p>
351 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
352 pub fn get_admin_pro_group(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
353 self.inner.get_admin_pro_group()
354 }
355 ///
356 /// Appends an item to `AuthorProGroup`.
357 ///
358 /// To override the contents of this collection use [`set_author_pro_group`](Self::set_author_pro_group).
359 ///
360 /// <p>The author pro group associated with your Active Directory or IAM Identity Center account.</p>
361 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
362 pub fn author_pro_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
363 self.inner = self.inner.author_pro_group(input.into());
364 self
365 }
366 /// <p>The author pro group associated with your Active Directory or IAM Identity Center account.</p>
367 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
368 pub fn set_author_pro_group(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
369 self.inner = self.inner.set_author_pro_group(input);
370 self
371 }
372 /// <p>The author pro group associated with your Active Directory or IAM Identity Center account.</p>
373 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
374 pub fn get_author_pro_group(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
375 self.inner.get_author_pro_group()
376 }
377 ///
378 /// Appends an item to `ReaderProGroup`.
379 ///
380 /// To override the contents of this collection use [`set_reader_pro_group`](Self::set_reader_pro_group).
381 ///
382 /// <p>The reader pro group associated with your Active Directory or IAM Identity Center account.</p>
383 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
384 pub fn reader_pro_group(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
385 self.inner = self.inner.reader_pro_group(input.into());
386 self
387 }
388 /// <p>The reader pro group associated with your Active Directory or IAM Identity Center account.</p>
389 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
390 pub fn set_reader_pro_group(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
391 self.inner = self.inner.set_reader_pro_group(input);
392 self
393 }
394 /// <p>The reader pro group associated with your Active Directory or IAM Identity Center account.</p>
395 /// <p>For more information about using IAM Identity Center in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/sec-identity-management-identity-center.html">Using IAM Identity Center with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide. For more information about using Active Directory in Amazon Quick Sight, see <a href="https://docs.aws.amazon.com/quicksight/latest/user/aws-directory-service.html">Using Active Directory with Amazon Quick Sight Enterprise Edition</a> in the Amazon Quick Sight User Guide.</p>
396 pub fn get_reader_pro_group(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
397 self.inner.get_reader_pro_group()
398 }
399 /// <p>The first name of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
400 pub fn first_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
401 self.inner = self.inner.first_name(input.into());
402 self
403 }
404 /// <p>The first name of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
405 pub fn set_first_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
406 self.inner = self.inner.set_first_name(input);
407 self
408 }
409 /// <p>The first name of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
410 pub fn get_first_name(&self) -> &::std::option::Option<::std::string::String> {
411 self.inner.get_first_name()
412 }
413 /// <p>The last name of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
414 pub fn last_name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
415 self.inner = self.inner.last_name(input.into());
416 self
417 }
418 /// <p>The last name of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
419 pub fn set_last_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
420 self.inner = self.inner.set_last_name(input);
421 self
422 }
423 /// <p>The last name of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
424 pub fn get_last_name(&self) -> &::std::option::Option<::std::string::String> {
425 self.inner.get_last_name()
426 }
427 /// <p>The email address of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
428 pub fn email_address(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
429 self.inner = self.inner.email_address(input.into());
430 self
431 }
432 /// <p>The email address of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
433 pub fn set_email_address(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
434 self.inner = self.inner.set_email_address(input);
435 self
436 }
437 /// <p>The email address of the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
438 pub fn get_email_address(&self) -> &::std::option::Option<::std::string::String> {
439 self.inner.get_email_address()
440 }
441 /// <p>A 10-digit phone number for the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
442 pub fn contact_number(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
443 self.inner = self.inner.contact_number(input.into());
444 self
445 }
446 /// <p>A 10-digit phone number for the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
447 pub fn set_contact_number(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
448 self.inner = self.inner.set_contact_number(input);
449 self
450 }
451 /// <p>A 10-digit phone number for the author of the Amazon Quick Sight account to use for future communications. This field is required if <code>ENTERPPRISE_AND_Q</code> is the selected edition of the new Amazon Quick Sight account.</p>
452 pub fn get_contact_number(&self) -> &::std::option::Option<::std::string::String> {
453 self.inner.get_contact_number()
454 }
455 /// <p>The Amazon Resource Name (ARN) for the IAM Identity Center instance.</p>
456 pub fn iam_identity_center_instance_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
457 self.inner = self.inner.iam_identity_center_instance_arn(input.into());
458 self
459 }
460 /// <p>The Amazon Resource Name (ARN) for the IAM Identity Center instance.</p>
461 pub fn set_iam_identity_center_instance_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
462 self.inner = self.inner.set_iam_identity_center_instance_arn(input);
463 self
464 }
465 /// <p>The Amazon Resource Name (ARN) for the IAM Identity Center instance.</p>
466 pub fn get_iam_identity_center_instance_arn(&self) -> &::std::option::Option<::std::string::String> {
467 self.inner.get_iam_identity_center_instance_arn()
468 }
469}