7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZoneRequest.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/SubscriptionGrantCreationMode.h>
13#include <aws/datazone/model/SubscriptionTargetForm.h>
42 template <
typename DomainIdentifierT = Aws::String>
44 m_domainIdentifierHasBeenSet =
true;
45 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
47 template <
typename DomainIdentifierT = Aws::String>
60 template <
typename EnvironmentIdentifierT = Aws::String>
62 m_environmentIdentifierHasBeenSet =
true;
63 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
65 template <
typename EnvironmentIdentifierT = Aws::String>
78 template <
typename NameT = Aws::String>
80 m_nameHasBeenSet =
true;
81 m_name = std::forward<NameT>(value);
83 template <
typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
96 template <
typename TypeT = Aws::String>
98 m_typeHasBeenSet =
true;
99 m_type = std::forward<TypeT>(value);
101 template <
typename TypeT = Aws::String>
103 SetType(std::forward<TypeT>(value));
114 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
116 m_subscriptionTargetConfigHasBeenSet =
true;
117 m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value);
119 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
124 template <
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
126 m_subscriptionTargetConfigHasBeenSet =
true;
127 m_subscriptionTargetConfig.emplace_back(std::forward<SubscriptionTargetConfigT>(value));
138 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
140 m_authorizedPrincipalsHasBeenSet =
true;
141 m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value);
143 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
148 template <
typename AuthorizedPrincipalsT = Aws::String>
150 m_authorizedPrincipalsHasBeenSet =
true;
151 m_authorizedPrincipals.emplace_back(std::forward<AuthorizedPrincipalsT>(value));
162 template <
typename ManageAccessRoleT = Aws::String>
164 m_manageAccessRoleHasBeenSet =
true;
165 m_manageAccessRole = std::forward<ManageAccessRoleT>(value);
167 template <
typename ManageAccessRoleT = Aws::String>
180 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
182 m_applicableAssetTypesHasBeenSet =
true;
183 m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value);
185 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
190 template <
typename ApplicableAssetTypesT = Aws::String>
192 m_applicableAssetTypesHasBeenSet =
true;
193 m_applicableAssetTypes.emplace_back(std::forward<ApplicableAssetTypesT>(value));
204 template <
typename Prov
iderT = Aws::String>
206 m_providerHasBeenSet =
true;
207 m_provider = std::forward<ProviderT>(value);
209 template <
typename Prov
iderT = Aws::String>
223 template <
typename ClientTokenT = Aws::String>
225 m_clientTokenHasBeenSet =
true;
226 m_clientToken = std::forward<ClientTokenT>(value);
228 template <
typename ClientTokenT = Aws::String>
243 m_subscriptionGrantCreationModeHasBeenSet =
true;
244 m_subscriptionGrantCreationMode = value;
273 bool m_domainIdentifierHasBeenSet =
false;
274 bool m_environmentIdentifierHasBeenSet =
false;
275 bool m_nameHasBeenSet =
false;
276 bool m_typeHasBeenSet =
false;
277 bool m_subscriptionTargetConfigHasBeenSet =
false;
278 bool m_authorizedPrincipalsHasBeenSet =
false;
279 bool m_manageAccessRoleHasBeenSet =
false;
280 bool m_applicableAssetTypesHasBeenSet =
false;
281 bool m_providerHasBeenSet =
false;
282 bool m_clientTokenHasBeenSet =
true;
283 bool m_subscriptionGrantCreationModeHasBeenSet =
false;
void SetSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
bool ApplicableAssetTypesHasBeenSet() const
CreateSubscriptionTargetRequest & WithSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
const Aws::String & GetManageAccessRole() const
bool TypeHasBeenSet() const
bool SubscriptionGrantCreationModeHasBeenSet() const
CreateSubscriptionTargetRequest & WithName(NameT &&value)
const Aws::String & GetProvider() const
virtual const char * GetServiceRequestName() const override
CreateSubscriptionTargetRequest & WithSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
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
SubscriptionGrantCreationMode GetSubscriptionGrantCreationMode() 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()
SubscriptionGrantCreationMode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector