7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/SubscribedListingInput.h>
12#include <aws/datazone/model/SubscribedPrincipalInput.h>
14#include <aws/core/utils/UUID.h>
48 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
63 inline void SetDomainIdentifier(
const char* value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier.assign(value); }
77 inline void SetRequestReason(
const char* value) { m_requestReasonHasBeenSet =
true; m_requestReason.assign(value); }
114 bool m_clientTokenHasBeenSet =
false;
117 bool m_domainIdentifierHasBeenSet =
false;
120 bool m_requestReasonHasBeenSet =
false;
123 bool m_subscribedListingsHasBeenSet =
false;
126 bool m_subscribedPrincipalsHasBeenSet =
false;
void SetDomainIdentifier(Aws::String &&value)
CreateSubscriptionRequestRequest & WithDomainIdentifier(const Aws::String &value)
CreateSubscriptionRequestRequest & WithRequestReason(const Aws::String &value)
void SetRequestReason(const char *value)
void SetSubscribedPrincipals(Aws::Vector< SubscribedPrincipalInput > &&value)
const Aws::String & GetRequestReason() const
void SetRequestReason(const Aws::String &value)
CreateSubscriptionRequestRequest & WithDomainIdentifier(Aws::String &&value)
CreateSubscriptionRequestRequest & AddSubscribedListings(const SubscribedListingInput &value)
void SetClientToken(const Aws::String &value)
CreateSubscriptionRequestRequest & WithDomainIdentifier(const char *value)
void SetSubscribedListings(const Aws::Vector< SubscribedListingInput > &value)
CreateSubscriptionRequestRequest & WithSubscribedListings(Aws::Vector< SubscribedListingInput > &&value)
CreateSubscriptionRequestRequest & AddSubscribedPrincipals(SubscribedPrincipalInput &&value)
CreateSubscriptionRequestRequest & WithRequestReason(Aws::String &&value)
void SetRequestReason(Aws::String &&value)
bool ClientTokenHasBeenSet() const
const Aws::Vector< SubscribedListingInput > & GetSubscribedListings() const
AWS_DATAZONE_API CreateSubscriptionRequestRequest()
bool RequestReasonHasBeenSet() const
CreateSubscriptionRequestRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const char *value)
CreateSubscriptionRequestRequest & WithRequestReason(const char *value)
bool DomainIdentifierHasBeenSet() const
CreateSubscriptionRequestRequest & WithClientToken(Aws::String &&value)
bool SubscribedPrincipalsHasBeenSet() const
CreateSubscriptionRequestRequest & WithClientToken(const char *value)
void SetSubscribedListings(Aws::Vector< SubscribedListingInput > &&value)
virtual const char * GetServiceRequestName() const override
CreateSubscriptionRequestRequest & WithSubscribedListings(const Aws::Vector< SubscribedListingInput > &value)
CreateSubscriptionRequestRequest & WithSubscribedPrincipals(const Aws::Vector< SubscribedPrincipalInput > &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
CreateSubscriptionRequestRequest & AddSubscribedPrincipals(const SubscribedPrincipalInput &value)
void SetDomainIdentifier(const char *value)
CreateSubscriptionRequestRequest & AddSubscribedListings(SubscribedListingInput &&value)
CreateSubscriptionRequestRequest & WithSubscribedPrincipals(Aws::Vector< SubscribedPrincipalInput > &&value)
const Aws::String & GetDomainIdentifier() const
const Aws::Vector< SubscribedPrincipalInput > & GetSubscribedPrincipals() const
void SetDomainIdentifier(const Aws::String &value)
bool SubscribedListingsHasBeenSet() const
void SetSubscribedPrincipals(const Aws::Vector< SubscribedPrincipalInput > &value)
void SetClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector