7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/GrantedEntity.h>
12#include <aws/datazone/model/SubscriptionGrantOverallStatus.h>
13#include <aws/datazone/model/SubscribedAsset.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename AssetsT = Aws::Vector<SubscribedAsset>>
46 void SetAssets(AssetsT&& value) { m_assetsHasBeenSet =
true; m_assets = std::forward<AssetsT>(value); }
47 template<
typename AssetsT = Aws::Vector<SubscribedAsset>>
49 template<
typename AssetsT = SubscribedAsset>
58 template<
typename CreatedAtT = Aws::Utils::DateTime>
59 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
60 template<
typename CreatedAtT = Aws::Utils::DateTime>
70 template<
typename CreatedByT = Aws::String>
71 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
72 template<
typename CreatedByT = Aws::String>
82 template<
typename DomainIdT = Aws::String>
83 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
84 template<
typename DomainIdT = Aws::String>
94 template<
typename GrantedEntityT = GrantedEntity>
95 void SetGrantedEntity(GrantedEntityT&& value) { m_grantedEntityHasBeenSet =
true; m_grantedEntity = std::forward<GrantedEntityT>(value); }
96 template<
typename GrantedEntityT = GrantedEntity>
105 template<
typename IdT = Aws::String>
106 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
107 template<
typename IdT = Aws::String>
127 template<
typename SubscriptionTargetIdT = Aws::String>
128 void SetSubscriptionTargetId(SubscriptionTargetIdT&& value) { m_subscriptionTargetIdHasBeenSet =
true; m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value); }
129 template<
typename SubscriptionTargetIdT = Aws::String>
138 template<
typename UpdatedAtT = Aws::Utils::DateTime>
139 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
140 template<
typename UpdatedAtT = Aws::Utils::DateTime>
149 template<
typename UpdatedByT = Aws::String>
150 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
151 template<
typename UpdatedByT = Aws::String>
158 template<
typename RequestIdT = Aws::String>
159 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
160 template<
typename RequestIdT = Aws::String>
166 bool m_assetsHasBeenSet =
false;
169 bool m_createdAtHasBeenSet =
false;
172 bool m_createdByHasBeenSet =
false;
175 bool m_domainIdHasBeenSet =
false;
177 GrantedEntity m_grantedEntity;
178 bool m_grantedEntityHasBeenSet =
false;
181 bool m_idHasBeenSet =
false;
184 bool m_statusHasBeenSet =
false;
187 bool m_subscriptionTargetIdHasBeenSet =
false;
190 bool m_updatedAtHasBeenSet =
false;
193 bool m_updatedByHasBeenSet =
false;
196 bool m_requestIdHasBeenSet =
false;
UpdateSubscriptionGrantStatusResult & WithDomainId(DomainIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_DATAZONE_API UpdateSubscriptionGrantStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSubscriptionGrantStatusResult & WithSubscriptionTargetId(SubscriptionTargetIdT &&value)
void SetStatus(SubscriptionGrantOverallStatus value)
const Aws::Vector< SubscribedAsset > & GetAssets() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetSubscriptionTargetId() const
UpdateSubscriptionGrantStatusResult & WithId(IdT &&value)
void SetUpdatedBy(UpdatedByT &&value)
void SetGrantedEntity(GrantedEntityT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
UpdateSubscriptionGrantStatusResult & WithCreatedAt(CreatedAtT &&value)
UpdateSubscriptionGrantStatusResult & WithAssets(AssetsT &&value)
AWS_DATAZONE_API UpdateSubscriptionGrantStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetUpdatedBy() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetAssets(AssetsT &&value)
UpdateSubscriptionGrantStatusResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateSubscriptionGrantStatusResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetRequestId() const
SubscriptionGrantOverallStatus GetStatus() const
const Aws::String & GetCreatedBy() const
UpdateSubscriptionGrantStatusResult & WithCreatedBy(CreatedByT &&value)
const GrantedEntity & GetGrantedEntity() const
UpdateSubscriptionGrantStatusResult & AddAssets(AssetsT &&value)
const Aws::String & GetId() const
const Aws::String & GetDomainId() const
void SetCreatedBy(CreatedByT &&value)
void SetSubscriptionTargetId(SubscriptionTargetIdT &&value)
UpdateSubscriptionGrantStatusResult & WithStatus(SubscriptionGrantOverallStatus value)
UpdateSubscriptionGrantStatusResult & WithGrantedEntity(GrantedEntityT &&value)
UpdateSubscriptionGrantStatusResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API UpdateSubscriptionGrantStatusResult()=default
void SetDomainId(DomainIdT &&value)
SubscriptionGrantOverallStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue