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/SubscriptionTargetForm.h>
40 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
42 m_applicableAssetTypesHasBeenSet =
true;
43 m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value);
45 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
50 template <
typename ApplicableAssetTypesT = Aws::String>
52 m_applicableAssetTypesHasBeenSet =
true;
53 m_applicableAssetTypes.emplace_back(std::forward<ApplicableAssetTypesT>(value));
64 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
66 m_authorizedPrincipalsHasBeenSet =
true;
67 m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value);
69 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
74 template <
typename AuthorizedPrincipalsT = Aws::String>
76 m_authorizedPrincipalsHasBeenSet =
true;
77 m_authorizedPrincipals.emplace_back(std::forward<AuthorizedPrincipalsT>(value));
89 template <
typename ClientTokenT = Aws::String>
91 m_clientTokenHasBeenSet =
true;
92 m_clientToken = std::forward<ClientTokenT>(value);
94 template <
typename ClientTokenT = Aws::String>
108 template <
typename DomainIdentifierT = Aws::String>
110 m_domainIdentifierHasBeenSet =
true;
111 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
113 template <
typename DomainIdentifierT = Aws::String>
126 template <
typename EnvironmentIdentifierT = Aws::String>
128 m_environmentIdentifierHasBeenSet =
true;
129 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
131 template <
typename EnvironmentIdentifierT = Aws::String>
144 template <
typename ManageAccessRoleT = Aws::String>
146 m_manageAccessRoleHasBeenSet =
true;
147 m_manageAccessRole = std::forward<ManageAccessRoleT>(value);
149 template <
typename ManageAccessRoleT = Aws::String>
162 template <
typename NameT = Aws::String>
164 m_nameHasBeenSet =
true;
165 m_name = std::forward<NameT>(value);
167 template <
typename NameT = Aws::String>
169 SetName(std::forward<NameT>(value));
180 template <
typename Prov
iderT = Aws::String>
182 m_providerHasBeenSet =
true;
183 m_provider = std::forward<ProviderT>(value);
185 template <
typename Prov
iderT = Aws::String>
198 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
200 m_subscriptionTargetConfigHasBeenSet =
true;
201 m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value);
203 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
208 template <
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
210 m_subscriptionTargetConfigHasBeenSet =
true;
211 m_subscriptionTargetConfig.emplace_back(std::forward<SubscriptionTargetConfigT>(value));
222 template <
typename TypeT = Aws::String>
224 m_typeHasBeenSet =
true;
225 m_type = std::forward<TypeT>(value);
227 template <
typename TypeT = Aws::String>
229 SetType(std::forward<TypeT>(value));
235 bool m_applicableAssetTypesHasBeenSet =
false;
238 bool m_authorizedPrincipalsHasBeenSet =
false;
241 bool m_clientTokenHasBeenSet =
true;
244 bool m_domainIdentifierHasBeenSet =
false;
247 bool m_environmentIdentifierHasBeenSet =
false;
250 bool m_manageAccessRoleHasBeenSet =
false;
253 bool m_nameHasBeenSet =
false;
256 bool m_providerHasBeenSet =
false;
259 bool m_subscriptionTargetConfigHasBeenSet =
false;
262 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