7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/GrantedEntityInput.h>
12#include <aws/datazone/model/AssetTargetNameMap.h>
14#include <aws/core/utils/UUID.h>
45 template<
typename AssetTargetNamesT = Aws::Vector<AssetTargetNameMap>>
46 void SetAssetTargetNames(AssetTargetNamesT&& value) { m_assetTargetNamesHasBeenSet =
true; m_assetTargetNames = std::forward<AssetTargetNamesT>(value); }
47 template<
typename AssetTargetNamesT = Aws::Vector<AssetTargetNameMap>>
49 template<
typename AssetTargetNamesT = AssetTargetNameMap>
60 template<
typename ClientTokenT = Aws::String>
61 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
62 template<
typename ClientTokenT = Aws::String>
73 template<
typename DomainIdentifierT = Aws::String>
74 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
75 template<
typename DomainIdentifierT = Aws::String>
85 template<
typename EnvironmentIdentifierT = Aws::String>
86 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet =
true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
87 template<
typename EnvironmentIdentifierT = Aws::String>
97 template<
typename GrantedEntityT = GrantedEntityInput>
98 void SetGrantedEntity(GrantedEntityT&& value) { m_grantedEntityHasBeenSet =
true; m_grantedEntity = std::forward<GrantedEntityT>(value); }
99 template<
typename GrantedEntityT = GrantedEntityInput>
110 template<
typename SubscriptionTargetIdentifierT = Aws::String>
111 void SetSubscriptionTargetIdentifier(SubscriptionTargetIdentifierT&& value) { m_subscriptionTargetIdentifierHasBeenSet =
true; m_subscriptionTargetIdentifier = std::forward<SubscriptionTargetIdentifierT>(value); }
112 template<
typename SubscriptionTargetIdentifierT = Aws::String>
118 bool m_assetTargetNamesHasBeenSet =
false;
121 bool m_clientTokenHasBeenSet =
true;
124 bool m_domainIdentifierHasBeenSet =
false;
127 bool m_environmentIdentifierHasBeenSet =
false;
129 GrantedEntityInput m_grantedEntity;
130 bool m_grantedEntityHasBeenSet =
false;
133 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