7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/SubscriptionTargetForm.h>
13#include <aws/core/utils/UUID.h>
44 template<
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
45 void SetApplicableAssetTypes(ApplicableAssetTypesT&& value) { m_applicableAssetTypesHasBeenSet =
true; m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value); }
46 template<
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
48 template<
typename ApplicableAssetTypesT = Aws::String>
58 template<
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
59 void SetAuthorizedPrincipals(AuthorizedPrincipalsT&& value) { m_authorizedPrincipalsHasBeenSet =
true; m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value); }
60 template<
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
62 template<
typename AuthorizedPrincipalsT = Aws::String>
73 template<
typename ClientTokenT = Aws::String>
74 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
75 template<
typename ClientTokenT = Aws::String>
86 template<
typename DomainIdentifierT = Aws::String>
87 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
88 template<
typename DomainIdentifierT = Aws::String>
98 template<
typename EnvironmentIdentifierT = Aws::String>
99 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet =
true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
100 template<
typename EnvironmentIdentifierT = Aws::String>
110 template<
typename ManageAccessRoleT = Aws::String>
111 void SetManageAccessRole(ManageAccessRoleT&& value) { m_manageAccessRoleHasBeenSet =
true; m_manageAccessRole = std::forward<ManageAccessRoleT>(value); }
112 template<
typename ManageAccessRoleT = Aws::String>
122 template<
typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
124 template<
typename NameT = Aws::String>
134 template<
typename Prov
iderT = Aws::String>
135 void SetProvider(ProviderT&& value) { m_providerHasBeenSet =
true; m_provider = std::forward<ProviderT>(value); }
136 template<
typename Prov
iderT = Aws::String>
146 template<
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
147 void SetSubscriptionTargetConfig(SubscriptionTargetConfigT&& value) { m_subscriptionTargetConfigHasBeenSet =
true; m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value); }
148 template<
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
150 template<
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
160 template<
typename TypeT = Aws::String>
161 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
162 template<
typename TypeT = Aws::String>
168 bool m_applicableAssetTypesHasBeenSet =
false;
171 bool m_authorizedPrincipalsHasBeenSet =
false;
174 bool m_clientTokenHasBeenSet =
true;
177 bool m_domainIdentifierHasBeenSet =
false;
180 bool m_environmentIdentifierHasBeenSet =
false;
183 bool m_manageAccessRoleHasBeenSet =
false;
186 bool m_nameHasBeenSet =
false;
189 bool m_providerHasBeenSet =
false;
192 bool m_subscriptionTargetConfigHasBeenSet =
false;
195 bool m_typeHasBeenSet =
false;
bool ApplicableAssetTypesHasBeenSet() const
CreateSubscriptionTargetRequest & WithSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
const Aws::String & GetManageAccessRole() const
bool TypeHasBeenSet() const
CreateSubscriptionTargetRequest & WithName(NameT &&value)
const Aws::String & GetProvider() const
virtual const char * GetServiceRequestName() const override
void SetProvider(ProviderT &&value)
void SetName(NameT &&value)
bool ProviderHasBeenSet() const
CreateSubscriptionTargetRequest & WithManageAccessRole(ManageAccessRoleT &&value)
CreateSubscriptionTargetRequest & WithType(TypeT &&value)
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
bool ManageAccessRoleHasBeenSet() const
CreateSubscriptionTargetRequest & WithDomainIdentifier(DomainIdentifierT &&value)
bool EnvironmentIdentifierHasBeenSet() const
bool DomainIdentifierHasBeenSet() const
CreateSubscriptionTargetRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
void SetType(TypeT &&value)
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
void SetDomainIdentifier(DomainIdentifierT &&value)
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
void SetApplicableAssetTypes(ApplicableAssetTypesT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateSubscriptionTargetRequest & WithProvider(ProviderT &&value)
CreateSubscriptionTargetRequest & AddSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
void SetAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
CreateSubscriptionTargetRequest & WithAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
const Aws::String & GetType() const
const Aws::String & GetEnvironmentIdentifier() const
const Aws::String & GetName() const
CreateSubscriptionTargetRequest & WithApplicableAssetTypes(ApplicableAssetTypesT &&value)
CreateSubscriptionTargetRequest & AddAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
void SetSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
CreateSubscriptionTargetRequest & AddApplicableAssetTypes(ApplicableAssetTypesT &&value)
bool SubscriptionTargetConfigHasBeenSet() const
void SetManageAccessRole(ManageAccessRoleT &&value)
bool NameHasBeenSet() const
CreateSubscriptionTargetRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
AWS_DATAZONE_API CreateSubscriptionTargetRequest()=default
const Aws::String & GetDomainIdentifier() const
bool AuthorizedPrincipalsHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector