7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticmapreduce/model/AuthMode.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/elasticmapreduce/model/IdcUserAssignment.h>
13#include <aws/elasticmapreduce/model/Tag.h>
52 template<
typename StudioIdT = Aws::String>
53 void SetStudioId(StudioIdT&& value) { m_studioIdHasBeenSet =
true; m_studioId = std::forward<StudioIdT>(value); }
54 template<
typename StudioIdT = Aws::String>
64 template<
typename StudioArnT = Aws::String>
65 void SetStudioArn(StudioArnT&& value) { m_studioArnHasBeenSet =
true; m_studioArn = std::forward<StudioArnT>(value); }
66 template<
typename StudioArnT = Aws::String>
76 template<
typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
78 template<
typename NameT = Aws::String>
88 template<
typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
90 template<
typename DescriptionT = Aws::String>
111 template<
typename VpcIdT = Aws::String>
112 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
113 template<
typename VpcIdT = Aws::String>
123 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
124 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
125 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
127 template<
typename SubnetIdsT = Aws::String>
128 Studio&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
137 template<
typename ServiceRoleT = Aws::String>
138 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
139 template<
typename ServiceRoleT = Aws::String>
151 template<
typename UserRoleT = Aws::String>
152 void SetUserRole(UserRoleT&& value) { m_userRoleHasBeenSet =
true; m_userRole = std::forward<UserRoleT>(value); }
153 template<
typename UserRoleT = Aws::String>
165 template<
typename WorkspaceSecurityGroupIdT = Aws::String>
166 void SetWorkspaceSecurityGroupId(WorkspaceSecurityGroupIdT&& value) { m_workspaceSecurityGroupIdHasBeenSet =
true; m_workspaceSecurityGroupId = std::forward<WorkspaceSecurityGroupIdT>(value); }
167 template<
typename WorkspaceSecurityGroupIdT = Aws::String>
179 template<
typename EngineSecurityGroupIdT = Aws::String>
180 void SetEngineSecurityGroupId(EngineSecurityGroupIdT&& value) { m_engineSecurityGroupIdHasBeenSet =
true; m_engineSecurityGroupId = std::forward<EngineSecurityGroupIdT>(value); }
181 template<
typename EngineSecurityGroupIdT = Aws::String>
191 template<
typename UrlT = Aws::String>
192 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
193 template<
typename UrlT = Aws::String>
203 template<
typename CreationTimeT = Aws::Utils::DateTime>
204 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
205 template<
typename CreationTimeT = Aws::Utils::DateTime>
216 template<
typename DefaultS3LocationT = Aws::String>
217 void SetDefaultS3Location(DefaultS3LocationT&& value) { m_defaultS3LocationHasBeenSet =
true; m_defaultS3Location = std::forward<DefaultS3LocationT>(value); }
218 template<
typename DefaultS3LocationT = Aws::String>
230 template<
typename IdpAuthUrlT = Aws::String>
231 void SetIdpAuthUrl(IdpAuthUrlT&& value) { m_idpAuthUrlHasBeenSet =
true; m_idpAuthUrl = std::forward<IdpAuthUrlT>(value); }
232 template<
typename IdpAuthUrlT = Aws::String>
242 template<
typename IdpRelayStateParameterNameT = Aws::String>
243 void SetIdpRelayStateParameterName(IdpRelayStateParameterNameT&& value) { m_idpRelayStateParameterNameHasBeenSet =
true; m_idpRelayStateParameterName = std::forward<IdpRelayStateParameterNameT>(value); }
244 template<
typename IdpRelayStateParameterNameT = Aws::String>
254 template<
typename TagsT = Aws::Vector<Tag>>
255 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
256 template<
typename TagsT = Aws::Vector<Tag>>
258 template<
typename TagsT = Tag>
259 Studio&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
269 template<
typename IdcInstanceArnT = Aws::String>
270 void SetIdcInstanceArn(IdcInstanceArnT&& value) { m_idcInstanceArnHasBeenSet =
true; m_idcInstanceArn = std::forward<IdcInstanceArnT>(value); }
271 template<
typename IdcInstanceArnT = Aws::String>
306 template<
typename EncryptionKeyArnT = Aws::String>
307 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet =
true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
308 template<
typename EncryptionKeyArnT = Aws::String>
314 bool m_studioIdHasBeenSet =
false;
317 bool m_studioArnHasBeenSet =
false;
320 bool m_nameHasBeenSet =
false;
323 bool m_descriptionHasBeenSet =
false;
326 bool m_authModeHasBeenSet =
false;
329 bool m_vpcIdHasBeenSet =
false;
332 bool m_subnetIdsHasBeenSet =
false;
335 bool m_serviceRoleHasBeenSet =
false;
338 bool m_userRoleHasBeenSet =
false;
341 bool m_workspaceSecurityGroupIdHasBeenSet =
false;
344 bool m_engineSecurityGroupIdHasBeenSet =
false;
347 bool m_urlHasBeenSet =
false;
350 bool m_creationTimeHasBeenSet =
false;
353 bool m_defaultS3LocationHasBeenSet =
false;
356 bool m_idpAuthUrlHasBeenSet =
false;
359 bool m_idpRelayStateParameterNameHasBeenSet =
false;
362 bool m_tagsHasBeenSet =
false;
365 bool m_idcInstanceArnHasBeenSet =
false;
367 bool m_trustedIdentityPropagationEnabled{
false};
368 bool m_trustedIdentityPropagationEnabledHasBeenSet =
false;
371 bool m_idcUserAssignmentHasBeenSet =
false;
374 bool m_encryptionKeyArnHasBeenSet =
false;
void SetAuthMode(AuthMode value)
void SetUserRole(UserRoleT &&value)
Studio & WithServiceRole(ServiceRoleT &&value)
bool DescriptionHasBeenSet() const
AWS_EMR_API Studio()=default
Studio & WithIdcInstanceArn(IdcInstanceArnT &&value)
AWS_EMR_API Studio & operator=(Aws::Utils::Json::JsonView jsonValue)
Studio & WithIdcUserAssignment(IdcUserAssignment value)
void SetDefaultS3Location(DefaultS3LocationT &&value)
const Aws::String & GetStudioId() const
void SetSubnetIds(SubnetIdsT &&value)
Studio & AddTags(TagsT &&value)
const Aws::String & GetEngineSecurityGroupId() const
const Aws::String & GetIdpAuthUrl() const
Studio & WithAuthMode(AuthMode value)
bool IdcInstanceArnHasBeenSet() const
const Aws::String & GetVpcId() const
const Aws::String & GetServiceRole() const
void SetIdcUserAssignment(IdcUserAssignment value)
const Aws::String & GetDescription() const
Studio & WithVpcId(VpcIdT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetVpcId(VpcIdT &&value)
Studio & WithEngineSecurityGroupId(EngineSecurityGroupIdT &&value)
bool IdcUserAssignmentHasBeenSet() const
bool IdpAuthUrlHasBeenSet() const
Studio & WithStudioArn(StudioArnT &&value)
const Aws::String & GetWorkspaceSecurityGroupId() const
void SetStudioId(StudioIdT &&value)
const Aws::String & GetStudioArn() const
Studio & WithIdpAuthUrl(IdpAuthUrlT &&value)
bool UrlHasBeenSet() const
const Aws::String & GetEncryptionKeyArn() const
Studio & WithSubnetIds(SubnetIdsT &&value)
bool GetTrustedIdentityPropagationEnabled() const
bool StudioIdHasBeenSet() const
AWS_EMR_API Studio(Aws::Utils::Json::JsonView jsonValue)
Studio & WithTags(TagsT &&value)
bool TrustedIdentityPropagationEnabledHasBeenSet() const
void SetTrustedIdentityPropagationEnabled(bool value)
Studio & WithDefaultS3Location(DefaultS3LocationT &&value)
void SetStudioArn(StudioArnT &&value)
Studio & WithUserRole(UserRoleT &&value)
AuthMode GetAuthMode() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
bool StudioArnHasBeenSet() const
Studio & WithUrl(UrlT &&value)
bool ServiceRoleHasBeenSet() const
const Aws::String & GetDefaultS3Location() const
Studio & WithName(NameT &&value)
bool TagsHasBeenSet() const
bool SubnetIdsHasBeenSet() const
Studio & WithCreationTime(CreationTimeT &&value)
void SetDescription(DescriptionT &&value)
void SetIdpRelayStateParameterName(IdpRelayStateParameterNameT &&value)
IdcUserAssignment GetIdcUserAssignment() const
Studio & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
const Aws::String & GetUrl() const
void SetWorkspaceSecurityGroupId(WorkspaceSecurityGroupIdT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool EngineSecurityGroupIdHasBeenSet() const
void SetIdpAuthUrl(IdpAuthUrlT &&value)
Studio & WithWorkspaceSecurityGroupId(WorkspaceSecurityGroupIdT &&value)
void SetServiceRole(ServiceRoleT &&value)
const Aws::String & GetName() const
Studio & WithIdpRelayStateParameterName(IdpRelayStateParameterNameT &&value)
Studio & WithDescription(DescriptionT &&value)
void SetTags(TagsT &&value)
Studio & WithTrustedIdentityPropagationEnabled(bool value)
void SetName(NameT &&value)
const Aws::String & GetIdcInstanceArn() const
bool IdpRelayStateParameterNameHasBeenSet() const
bool NameHasBeenSet() const
void SetUrl(UrlT &&value)
bool DefaultS3LocationHasBeenSet() const
bool CreationTimeHasBeenSet() const
bool UserRoleHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
bool EncryptionKeyArnHasBeenSet() const
Studio & AddSubnetIds(SubnetIdsT &&value)
const Aws::String & GetUserRole() const
void SetIdcInstanceArn(IdcInstanceArnT &&value)
void SetEngineSecurityGroupId(EngineSecurityGroupIdT &&value)
Studio & WithStudioId(StudioIdT &&value)
const Aws::String & GetIdpRelayStateParameterName() const
bool WorkspaceSecurityGroupIdHasBeenSet() const
bool VpcIdHasBeenSet() const
bool AuthModeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue