7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/SubscriptionGrantCreationMode.h>
12#include <aws/datazone/model/SubscriptionTargetForm.h>
41 template <
typename DomainIdentifierT = Aws::String>
43 m_domainIdentifierHasBeenSet =
true;
44 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
46 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 IdentifierT = Aws::String>
80 m_identifierHasBeenSet =
true;
81 m_identifier = std::forward<IdentifierT>(value);
83 template <
typename IdentifierT = Aws::String>
97 template <
typename NameT = Aws::String>
99 m_nameHasBeenSet =
true;
100 m_name = std::forward<NameT>(value);
102 template <
typename NameT = Aws::String>
104 SetName(std::forward<NameT>(value));
116 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
118 m_authorizedPrincipalsHasBeenSet =
true;
119 m_authorizedPrincipals = std::forward<AuthorizedPrincipalsT>(value);
121 template <
typename AuthorizedPrincipalsT = Aws::Vector<Aws::String>>
126 template <
typename AuthorizedPrincipalsT = Aws::String>
128 m_authorizedPrincipalsHasBeenSet =
true;
129 m_authorizedPrincipals.emplace_back(std::forward<AuthorizedPrincipalsT>(value));
141 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
143 m_applicableAssetTypesHasBeenSet =
true;
144 m_applicableAssetTypes = std::forward<ApplicableAssetTypesT>(value);
146 template <
typename ApplicableAssetTypesT = Aws::Vector<Aws::String>>
151 template <
typename ApplicableAssetTypesT = Aws::String>
153 m_applicableAssetTypesHasBeenSet =
true;
154 m_applicableAssetTypes.emplace_back(std::forward<ApplicableAssetTypesT>(value));
166 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
168 m_subscriptionTargetConfigHasBeenSet =
true;
169 m_subscriptionTargetConfig = std::forward<SubscriptionTargetConfigT>(value);
171 template <
typename SubscriptionTargetConfigT = Aws::Vector<SubscriptionTargetForm>>
176 template <
typename SubscriptionTargetConfigT = SubscriptionTargetForm>
178 m_subscriptionTargetConfigHasBeenSet =
true;
179 m_subscriptionTargetConfig.emplace_back(std::forward<SubscriptionTargetConfigT>(value));
191 template <
typename ManageAccessRoleT = Aws::String>
193 m_manageAccessRoleHasBeenSet =
true;
194 m_manageAccessRole = std::forward<ManageAccessRoleT>(value);
196 template <
typename ManageAccessRoleT = Aws::String>
210 template <
typename Prov
iderT = Aws::String>
212 m_providerHasBeenSet =
true;
213 m_provider = std::forward<ProviderT>(value);
215 template <
typename Prov
iderT = Aws::String>
230 m_subscriptionGrantCreationModeHasBeenSet =
true;
231 m_subscriptionGrantCreationMode = value;
258 bool m_domainIdentifierHasBeenSet =
false;
259 bool m_environmentIdentifierHasBeenSet =
false;
260 bool m_identifierHasBeenSet =
false;
261 bool m_nameHasBeenSet =
false;
262 bool m_authorizedPrincipalsHasBeenSet =
false;
263 bool m_applicableAssetTypesHasBeenSet =
false;
264 bool m_subscriptionTargetConfigHasBeenSet =
false;
265 bool m_manageAccessRoleHasBeenSet =
false;
266 bool m_providerHasBeenSet =
false;
267 bool m_subscriptionGrantCreationModeHasBeenSet =
false;
bool DomainIdentifierHasBeenSet() const
const Aws::String & GetProvider() const
bool ProviderHasBeenSet() const
UpdateSubscriptionTargetRequest & AddAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
UpdateSubscriptionTargetRequest & WithSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
virtual const char * GetServiceRequestName() const override
void SetProvider(ProviderT &&value)
UpdateSubscriptionTargetRequest & WithApplicableAssetTypes(ApplicableAssetTypesT &&value)
void SetManageAccessRole(ManageAccessRoleT &&value)
UpdateSubscriptionTargetRequest & WithDomainIdentifier(DomainIdentifierT &&value)
SubscriptionGrantCreationMode GetSubscriptionGrantCreationMode() const
void SetApplicableAssetTypes(ApplicableAssetTypesT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetAuthorizedPrincipals() const
UpdateSubscriptionTargetRequest & WithIdentifier(IdentifierT &&value)
void SetIdentifier(IdentifierT &&value)
UpdateSubscriptionTargetRequest & WithManageAccessRole(ManageAccessRoleT &&value)
bool ManageAccessRoleHasBeenSet() const
bool SubscriptionGrantCreationModeHasBeenSet() const
const Aws::String & GetDomainIdentifier() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateSubscriptionTargetRequest & WithSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
const Aws::String & GetEnvironmentIdentifier() const
bool ApplicableAssetTypesHasBeenSet() const
const Aws::Vector< SubscriptionTargetForm > & GetSubscriptionTargetConfig() const
void SetSubscriptionGrantCreationMode(SubscriptionGrantCreationMode value)
UpdateSubscriptionTargetRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
void SetSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
const Aws::String & GetIdentifier() const
void SetAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
const Aws::String & GetManageAccessRole() const
UpdateSubscriptionTargetRequest & AddSubscriptionTargetConfig(SubscriptionTargetConfigT &&value)
bool AuthorizedPrincipalsHasBeenSet() const
UpdateSubscriptionTargetRequest & AddApplicableAssetTypes(ApplicableAssetTypesT &&value)
bool IdentifierHasBeenSet() const
const Aws::Vector< Aws::String > & GetApplicableAssetTypes() const
UpdateSubscriptionTargetRequest & WithProvider(ProviderT &&value)
UpdateSubscriptionTargetRequest & WithName(NameT &&value)
UpdateSubscriptionTargetRequest & WithAuthorizedPrincipals(AuthorizedPrincipalsT &&value)
bool SubscriptionTargetConfigHasBeenSet() const
void SetName(NameT &&value)
bool EnvironmentIdentifierHasBeenSet() const
AWS_DATAZONE_API UpdateSubscriptionTargetRequest()=default
const Aws::String & GetName() const
SubscriptionGrantCreationMode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector