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/datazone/model/FailureCause.h>
11#include <aws/datazone/model/SubscriptionGrantStatus.h>
44 template<
typename AssetIdentifierT = Aws::String>
45 void SetAssetIdentifier(AssetIdentifierT&& value) { m_assetIdentifierHasBeenSet =
true; m_assetIdentifier = std::forward<AssetIdentifierT>(value); }
46 template<
typename AssetIdentifierT = Aws::String>
57 template<
typename DomainIdentifierT = Aws::String>
58 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
59 template<
typename DomainIdentifierT = Aws::String>
70 template<
typename FailureCauseT = FailureCause>
71 void SetFailureCause(FailureCauseT&& value) { m_failureCauseHasBeenSet =
true; m_failureCause = std::forward<FailureCauseT>(value); }
72 template<
typename FailureCauseT = FailureCause>
83 template<
typename IdentifierT = Aws::String>
84 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
85 template<
typename IdentifierT = Aws::String>
107 template<
typename TargetNameT = Aws::String>
108 void SetTargetName(TargetNameT&& value) { m_targetNameHasBeenSet =
true; m_targetName = std::forward<TargetNameT>(value); }
109 template<
typename TargetNameT = Aws::String>
115 bool m_assetIdentifierHasBeenSet =
false;
118 bool m_domainIdentifierHasBeenSet =
false;
121 bool m_failureCauseHasBeenSet =
false;
124 bool m_identifierHasBeenSet =
false;
127 bool m_statusHasBeenSet =
false;
130 bool m_targetNameHasBeenSet =
false;
const FailureCause & GetFailureCause() const
bool StatusHasBeenSet() const
const Aws::String & GetDomainIdentifier() const
bool IdentifierHasBeenSet() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateSubscriptionGrantStatusRequest & WithDomainIdentifier(DomainIdentifierT &&value)
bool DomainIdentifierHasBeenSet() const
void SetDomainIdentifier(DomainIdentifierT &&value)
UpdateSubscriptionGrantStatusRequest & WithAssetIdentifier(AssetIdentifierT &&value)
const Aws::String & GetAssetIdentifier() const
AWS_DATAZONE_API UpdateSubscriptionGrantStatusRequest()=default
virtual const char * GetServiceRequestName() const override
void SetTargetName(TargetNameT &&value)
bool TargetNameHasBeenSet() const
const Aws::String & GetIdentifier() const
void SetAssetIdentifier(AssetIdentifierT &&value)
UpdateSubscriptionGrantStatusRequest & WithFailureCause(FailureCauseT &&value)
const Aws::String & GetTargetName() const
UpdateSubscriptionGrantStatusRequest & WithStatus(SubscriptionGrantStatus value)
void SetFailureCause(FailureCauseT &&value)
bool FailureCauseHasBeenSet() const
UpdateSubscriptionGrantStatusRequest & WithIdentifier(IdentifierT &&value)
void SetIdentifier(IdentifierT &&value)
bool AssetIdentifierHasBeenSet() const
UpdateSubscriptionGrantStatusRequest & WithTargetName(TargetNameT &&value)
void SetStatus(SubscriptionGrantStatus value)
SubscriptionGrantStatus GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String