7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticmapreduce/EMRRequest.h>
10#include <aws/elasticmapreduce/EMR_EXPORTS.h>
11#include <aws/elasticmapreduce/model/AuthMode.h>
12#include <aws/elasticmapreduce/model/IdcUserAssignment.h>
13#include <aws/elasticmapreduce/model/Tag.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
81 m_authModeHasBeenSet =
true;
97 template <
typename VpcIdT = Aws::String>
99 m_vpcIdHasBeenSet =
true;
100 m_vpcId = std::forward<VpcIdT>(value);
102 template <
typename VpcIdT = Aws::String>
104 SetVpcId(std::forward<VpcIdT>(value));
118 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
120 m_subnetIdsHasBeenSet =
true;
121 m_subnetIds = std::forward<SubnetIdsT>(value);
123 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
128 template <
typename SubnetIdsT = Aws::String>
130 m_subnetIdsHasBeenSet =
true;
131 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
144 template <
typename ServiceRoleT = Aws::String>
146 m_serviceRoleHasBeenSet =
true;
147 m_serviceRole = std::forward<ServiceRoleT>(value);
149 template <
typename ServiceRoleT = Aws::String>
165 template <
typename UserRoleT = Aws::String>
167 m_userRoleHasBeenSet =
true;
168 m_userRole = std::forward<UserRoleT>(value);
170 template <
typename UserRoleT = Aws::String>
186 template <
typename WorkspaceSecurityGroupIdT = Aws::String>
188 m_workspaceSecurityGroupIdHasBeenSet =
true;
189 m_workspaceSecurityGroupId = std::forward<WorkspaceSecurityGroupIdT>(value);
191 template <
typename WorkspaceSecurityGroupIdT = Aws::String>
206 template <
typename EngineSecurityGroupIdT = Aws::String>
208 m_engineSecurityGroupIdHasBeenSet =
true;
209 m_engineSecurityGroupId = std::forward<EngineSecurityGroupIdT>(value);
211 template <
typename EngineSecurityGroupIdT = Aws::String>
225 template <
typename DefaultS3LocationT = Aws::String>
227 m_defaultS3LocationHasBeenSet =
true;
228 m_defaultS3Location = std::forward<DefaultS3LocationT>(value);
230 template <
typename DefaultS3LocationT = Aws::String>
246 template <
typename IdpAuthUrlT = Aws::String>
248 m_idpAuthUrlHasBeenSet =
true;
249 m_idpAuthUrl = std::forward<IdpAuthUrlT>(value);
251 template <
typename IdpAuthUrlT = Aws::String>
268 template <
typename IdpRelayStateParameterNameT = Aws::String>
270 m_idpRelayStateParameterNameHasBeenSet =
true;
271 m_idpRelayStateParameterName = std::forward<IdpRelayStateParameterNameT>(value);
273 template <
typename IdpRelayStateParameterNameT = Aws::String>
288 template <
typename TagsT = Aws::Vector<Tag>>
290 m_tagsHasBeenSet =
true;
291 m_tags = std::forward<TagsT>(value);
293 template <
typename TagsT = Aws::Vector<Tag>>
295 SetTags(std::forward<TagsT>(value));
298 template <
typename TagsT = Tag>
300 m_tagsHasBeenSet =
true;
301 m_tags.emplace_back(std::forward<TagsT>(value));
314 m_trustedIdentityPropagationEnabledHasBeenSet =
true;
315 m_trustedIdentityPropagationEnabled = value;
333 m_idcUserAssignmentHasBeenSet =
true;
334 m_idcUserAssignment = value;
349 template <
typename IdcInstanceArnT = Aws::String>
351 m_idcInstanceArnHasBeenSet =
true;
352 m_idcInstanceArn = std::forward<IdcInstanceArnT>(value);
354 template <
typename IdcInstanceArnT = Aws::String>
368 template <
typename EncryptionKeyArnT = Aws::String>
370 m_encryptionKeyArnHasBeenSet =
true;
371 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
373 template <
typename EncryptionKeyArnT = Aws::String>
406 bool m_trustedIdentityPropagationEnabled{
false};
413 bool m_nameHasBeenSet =
false;
414 bool m_descriptionHasBeenSet =
false;
415 bool m_authModeHasBeenSet =
false;
416 bool m_vpcIdHasBeenSet =
false;
417 bool m_subnetIdsHasBeenSet =
false;
418 bool m_serviceRoleHasBeenSet =
false;
419 bool m_userRoleHasBeenSet =
false;
420 bool m_workspaceSecurityGroupIdHasBeenSet =
false;
421 bool m_engineSecurityGroupIdHasBeenSet =
false;
422 bool m_defaultS3LocationHasBeenSet =
false;
423 bool m_idpAuthUrlHasBeenSet =
false;
424 bool m_idpRelayStateParameterNameHasBeenSet =
false;
425 bool m_tagsHasBeenSet =
false;
426 bool m_trustedIdentityPropagationEnabledHasBeenSet =
false;
427 bool m_idcUserAssignmentHasBeenSet =
false;
428 bool m_idcInstanceArnHasBeenSet =
false;
429 bool m_encryptionKeyArnHasBeenSet =
false;
const Aws::String & GetUserRole() const
const Aws::String & GetWorkspaceSecurityGroupId() const
bool VpcIdHasBeenSet() const
const Aws::String & GetIdcInstanceArn() const
AWS_EMR_API CreateStudioRequest()=default
CreateStudioRequest & WithVpcId(VpcIdT &&value)
const Aws::String & GetEncryptionKeyArn() const
bool GetTrustedIdentityPropagationEnabled() const
CreateStudioRequest & WithTags(TagsT &&value)
const Aws::String & GetDescription() const
CreateStudioRequest & WithTrustedIdentityPropagationEnabled(bool value)
bool SubnetIdsHasBeenSet() const
void SetDefaultS3Location(DefaultS3LocationT &&value)
const Aws::String & GetServiceRole() const
const Aws::Vector< Tag > & GetTags() const
void SetName(NameT &&value)
CreateStudioRequest & WithIdpAuthUrl(IdpAuthUrlT &&value)
AWS_EMR_API Aws::String SerializePayload() const override
void SetTrustedIdentityPropagationEnabled(bool value)
CreateStudioRequest & WithSubnetIds(SubnetIdsT &&value)
bool IdpRelayStateParameterNameHasBeenSet() const
const Aws::String & GetName() const
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStudioRequest & WithUserRole(UserRoleT &&value)
void SetIdpRelayStateParameterName(IdpRelayStateParameterNameT &&value)
void SetUserRole(UserRoleT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetEngineSecurityGroupId() const
void SetIdpAuthUrl(IdpAuthUrlT &&value)
IdcUserAssignment GetIdcUserAssignment() const
void SetTags(TagsT &&value)
bool UserRoleHasBeenSet() const
void SetVpcId(VpcIdT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetVpcId() const
CreateStudioRequest & WithName(NameT &&value)
CreateStudioRequest & WithIdpRelayStateParameterName(IdpRelayStateParameterNameT &&value)
bool TrustedIdentityPropagationEnabledHasBeenSet() const
void SetServiceRole(ServiceRoleT &&value)
bool EngineSecurityGroupIdHasBeenSet() const
CreateStudioRequest & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
CreateStudioRequest & WithWorkspaceSecurityGroupId(WorkspaceSecurityGroupIdT &&value)
bool WorkspaceSecurityGroupIdHasBeenSet() const
bool IdcInstanceArnHasBeenSet() const
void SetIdcUserAssignment(IdcUserAssignment value)
void SetAuthMode(AuthMode value)
void SetEngineSecurityGroupId(EngineSecurityGroupIdT &&value)
void SetSubnetIds(SubnetIdsT &&value)
AuthMode GetAuthMode() const
CreateStudioRequest & WithEngineSecurityGroupId(EngineSecurityGroupIdT &&value)
virtual const char * GetServiceRequestName() const override
bool DefaultS3LocationHasBeenSet() const
CreateStudioRequest & AddSubnetIds(SubnetIdsT &&value)
void SetWorkspaceSecurityGroupId(WorkspaceSecurityGroupIdT &&value)
bool IdpAuthUrlHasBeenSet() const
CreateStudioRequest & WithDefaultS3Location(DefaultS3LocationT &&value)
CreateStudioRequest & WithIdcInstanceArn(IdcInstanceArnT &&value)
CreateStudioRequest & WithServiceRole(ServiceRoleT &&value)
void SetIdcInstanceArn(IdcInstanceArnT &&value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
CreateStudioRequest & WithDescription(DescriptionT &&value)
bool IdcUserAssignmentHasBeenSet() const
const Aws::String & GetDefaultS3Location() const
CreateStudioRequest & AddTags(TagsT &&value)
const Aws::String & GetIdpRelayStateParameterName() const
void SetDescription(DescriptionT &&value)
CreateStudioRequest & WithIdcUserAssignment(IdcUserAssignment value)
bool EncryptionKeyArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool AuthModeHasBeenSet() const
CreateStudioRequest & WithAuthMode(AuthMode value)
const Aws::String & GetIdpAuthUrl() const
bool ServiceRoleHasBeenSet() const
bool NameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector