7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/GrantedEntity.h>
13#include <aws/datazone/model/SubscribedAsset.h>
14#include <aws/datazone/model/SubscriptionGrantOverallStatus.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename IdT = Aws::String>
42 m_idHasBeenSet =
true;
43 m_id = std::forward<IdT>(value);
45 template <
typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
58 template <
typename CreatedByT = Aws::String>
60 m_createdByHasBeenSet =
true;
61 m_createdBy = std::forward<CreatedByT>(value);
63 template <
typename CreatedByT = Aws::String>
75 template <
typename UpdatedByT = Aws::String>
77 m_updatedByHasBeenSet =
true;
78 m_updatedBy = std::forward<UpdatedByT>(value);
80 template <
typename UpdatedByT = Aws::String>
93 template <
typename DomainIdT = Aws::String>
95 m_domainIdHasBeenSet =
true;
96 m_domainId = std::forward<DomainIdT>(value);
98 template <
typename DomainIdT = Aws::String>
110 template <
typename CreatedAtT = Aws::Utils::DateTime>
112 m_createdAtHasBeenSet =
true;
113 m_createdAt = std::forward<CreatedAtT>(value);
115 template <
typename CreatedAtT = Aws::Utils::DateTime>
127 template <
typename UpdatedAtT = Aws::Utils::DateTime>
129 m_updatedAtHasBeenSet =
true;
130 m_updatedAt = std::forward<UpdatedAtT>(value);
132 template <
typename UpdatedAtT = Aws::Utils::DateTime>
144 template <
typename EnvironmentIdT = Aws::String>
146 m_environmentIdHasBeenSet =
true;
147 m_environmentId = std::forward<EnvironmentIdT>(value);
149 template <
typename EnvironmentIdT = Aws::String>
162 template <
typename SubscriptionTargetIdT = Aws::String>
164 m_subscriptionTargetIdHasBeenSet =
true;
165 m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value);
167 template <
typename SubscriptionTargetIdT = Aws::String>
180 template <
typename GrantedEntityT = GrantedEntity>
182 m_grantedEntityHasBeenSet =
true;
183 m_grantedEntity = std::forward<GrantedEntityT>(value);
185 template <
typename GrantedEntityT = GrantedEntity>
199 m_statusHasBeenSet =
true;
213 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
215 m_assetsHasBeenSet =
true;
216 m_assets = std::forward<AssetsT>(value);
218 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
223 template <
typename AssetsT = SubscribedAsset>
225 m_assetsHasBeenSet =
true;
226 m_assets.emplace_back(std::forward<AssetsT>(value));
234 template <
typename RequestIdT = Aws::String>
236 m_requestIdHasBeenSet =
true;
237 m_requestId = std::forward<RequestIdT>(value);
239 template <
typename RequestIdT = Aws::String>
264 GrantedEntity m_grantedEntity;
272 bool m_idHasBeenSet =
false;
273 bool m_createdByHasBeenSet =
false;
274 bool m_updatedByHasBeenSet =
false;
275 bool m_domainIdHasBeenSet =
false;
276 bool m_createdAtHasBeenSet =
false;
277 bool m_updatedAtHasBeenSet =
false;
278 bool m_environmentIdHasBeenSet =
false;
279 bool m_subscriptionTargetIdHasBeenSet =
false;
280 bool m_grantedEntityHasBeenSet =
false;
281 bool m_statusHasBeenSet =
false;
282 bool m_assetsHasBeenSet =
false;
283 bool m_requestIdHasBeenSet =
false;
UpdateSubscriptionGrantStatusResult & WithDomainId(DomainIdT &&value)
void SetRequestId(RequestIdT &&value)
UpdateSubscriptionGrantStatusResult & WithEnvironmentId(EnvironmentIdT &&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
void SetEnvironmentId(EnvironmentIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() 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)
const Aws::String & GetEnvironmentId() const
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