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>
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>
79 template <
typename SubscriptionTargetIdentifierT = Aws::String>
81 m_subscriptionTargetIdentifierHasBeenSet =
true;
82 m_subscriptionTargetIdentifier = std::forward<SubscriptionTargetIdentifierT>(value);
84 template <
typename SubscriptionTargetIdentifierT = Aws::String>
97 template <
typename GrantedEntityT = GrantedEntityInput>
99 m_grantedEntityHasBeenSet =
true;
100 m_grantedEntity = std::forward<GrantedEntityT>(value);
102 template <
typename GrantedEntityT = GrantedEntityInput>
115 template <
typename AssetTargetNamesT = Aws::Vector<AssetTargetNameMap>>
117 m_assetTargetNamesHasBeenSet =
true;
118 m_assetTargetNames = std::forward<AssetTargetNamesT>(value);
120 template <
typename AssetTargetNamesT = Aws::Vector<AssetTargetNameMap>>
125 template <
typename AssetTargetNamesT = AssetTargetNameMap>
127 m_assetTargetNamesHasBeenSet =
true;
128 m_assetTargetNames.emplace_back(std::forward<AssetTargetNamesT>(value));
140 template <
typename ClientTokenT = Aws::String>
142 m_clientTokenHasBeenSet =
true;
143 m_clientToken = std::forward<ClientTokenT>(value);
145 template <
typename ClientTokenT = Aws::String>
163 bool m_domainIdentifierHasBeenSet =
false;
164 bool m_environmentIdentifierHasBeenSet =
false;
165 bool m_subscriptionTargetIdentifierHasBeenSet =
false;
166 bool m_grantedEntityHasBeenSet =
false;
167 bool m_assetTargetNamesHasBeenSet =
false;
168 bool m_clientTokenHasBeenSet =
true;
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