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/AssetTargetNameMap.h>
13#include <aws/datazone/model/GrantedEntityInput.h>
41 template <
typename AssetTargetNamesT = Aws::Vector<AssetTargetNameMap>>
43 m_assetTargetNamesHasBeenSet =
true;
44 m_assetTargetNames = std::forward<AssetTargetNamesT>(value);
46 template <
typename AssetTargetNamesT = Aws::Vector<AssetTargetNameMap>>
51 template <
typename AssetTargetNamesT = AssetTargetNameMap>
53 m_assetTargetNamesHasBeenSet =
true;
54 m_assetTargetNames.emplace_back(std::forward<AssetTargetNamesT>(value));
66 template <
typename ClientTokenT = Aws::String>
68 m_clientTokenHasBeenSet =
true;
69 m_clientToken = std::forward<ClientTokenT>(value);
71 template <
typename ClientTokenT = Aws::String>
85 template <
typename DomainIdentifierT = Aws::String>
87 m_domainIdentifierHasBeenSet =
true;
88 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
90 template <
typename DomainIdentifierT = Aws::String>
103 template <
typename EnvironmentIdentifierT = Aws::String>
105 m_environmentIdentifierHasBeenSet =
true;
106 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
108 template <
typename EnvironmentIdentifierT = Aws::String>
121 template <
typename GrantedEntityT = GrantedEntityInput>
123 m_grantedEntityHasBeenSet =
true;
124 m_grantedEntity = std::forward<GrantedEntityT>(value);
126 template <
typename GrantedEntityT = GrantedEntityInput>
140 template <
typename SubscriptionTargetIdentifierT = Aws::String>
142 m_subscriptionTargetIdentifierHasBeenSet =
true;
143 m_subscriptionTargetIdentifier = std::forward<SubscriptionTargetIdentifierT>(value);
145 template <
typename SubscriptionTargetIdentifierT = Aws::String>
153 bool m_assetTargetNamesHasBeenSet =
false;
156 bool m_clientTokenHasBeenSet =
true;
159 bool m_domainIdentifierHasBeenSet =
false;
162 bool m_environmentIdentifierHasBeenSet =
false;
164 GrantedEntityInput m_grantedEntity;
165 bool m_grantedEntityHasBeenSet =
false;
168 bool m_subscriptionTargetIdentifierHasBeenSet =
false;
CreateSubscriptionGrantRequest & WithDomainIdentifier(DomainIdentifierT &&value)
const Aws::String & GetEnvironmentIdentifier() const
void SetClientToken(ClientTokenT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
CreateSubscriptionGrantRequest & WithSubscriptionTargetIdentifier(SubscriptionTargetIdentifierT &&value)
CreateSubscriptionGrantRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
void SetAssetTargetNames(AssetTargetNamesT &&value)
bool DomainIdentifierHasBeenSet() const
const Aws::String & GetClientToken() const
const GrantedEntityInput & GetGrantedEntity() const
AWS_DATAZONE_API CreateSubscriptionGrantRequest()=default
virtual const char * GetServiceRequestName() const override
bool GrantedEntityHasBeenSet() const
void SetSubscriptionTargetIdentifier(SubscriptionTargetIdentifierT &&value)
const Aws::Vector< AssetTargetNameMap > & GetAssetTargetNames() const
void SetDomainIdentifier(DomainIdentifierT &&value)
void SetGrantedEntity(GrantedEntityT &&value)
CreateSubscriptionGrantRequest & WithAssetTargetNames(AssetTargetNamesT &&value)
CreateSubscriptionGrantRequest & WithGrantedEntity(GrantedEntityT &&value)
bool AssetTargetNamesHasBeenSet() const
CreateSubscriptionGrantRequest & WithClientToken(ClientTokenT &&value)
CreateSubscriptionGrantRequest & AddAssetTargetNames(AssetTargetNamesT &&value)
bool EnvironmentIdentifierHasBeenSet() const
bool SubscriptionTargetIdentifierHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetSubscriptionTargetIdentifier() const
const Aws::String & GetDomainIdentifier() 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