7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/GrantedEntity.h>
12#include <aws/datazone/model/SubscribedAsset.h>
13#include <aws/datazone/model/SubscriptionGrantOverallStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename IdT = Aws::String>
41 m_idHasBeenSet =
true;
42 m_id = std::forward<IdT>(value);
44 template <
typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
57 template <
typename CreatedByT = Aws::String>
59 m_createdByHasBeenSet =
true;
60 m_createdBy = std::forward<CreatedByT>(value);
62 template <
typename CreatedByT = Aws::String>
74 template <
typename UpdatedByT = Aws::String>
76 m_updatedByHasBeenSet =
true;
77 m_updatedBy = std::forward<UpdatedByT>(value);
79 template <
typename UpdatedByT = Aws::String>
92 template <
typename DomainIdT = Aws::String>
94 m_domainIdHasBeenSet =
true;
95 m_domainId = std::forward<DomainIdT>(value);
97 template <
typename DomainIdT = Aws::String>
109 template <
typename CreatedAtT = Aws::Utils::DateTime>
111 m_createdAtHasBeenSet =
true;
112 m_createdAt = std::forward<CreatedAtT>(value);
114 template <
typename CreatedAtT = Aws::Utils::DateTime>
126 template <
typename UpdatedAtT = Aws::Utils::DateTime>
128 m_updatedAtHasBeenSet =
true;
129 m_updatedAt = std::forward<UpdatedAtT>(value);
131 template <
typename UpdatedAtT = Aws::Utils::DateTime>
143 template <
typename EnvironmentIdT = Aws::String>
145 m_environmentIdHasBeenSet =
true;
146 m_environmentId = std::forward<EnvironmentIdT>(value);
148 template <
typename EnvironmentIdT = Aws::String>
161 template <
typename SubscriptionTargetIdT = Aws::String>
163 m_subscriptionTargetIdHasBeenSet =
true;
164 m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value);
166 template <
typename SubscriptionTargetIdT = Aws::String>
179 template <
typename GrantedEntityT = GrantedEntity>
181 m_grantedEntityHasBeenSet =
true;
182 m_grantedEntity = std::forward<GrantedEntityT>(value);
184 template <
typename GrantedEntityT = GrantedEntity>
198 m_statusHasBeenSet =
true;
212 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
214 m_assetsHasBeenSet =
true;
215 m_assets = std::forward<AssetsT>(value);
217 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
222 template <
typename AssetsT = SubscribedAsset>
224 m_assetsHasBeenSet =
true;
225 m_assets.emplace_back(std::forward<AssetsT>(value));
233 template <
typename RequestIdT = Aws::String>
235 m_requestIdHasBeenSet =
true;
236 m_requestId = std::forward<RequestIdT>(value);
238 template <
typename RequestIdT = Aws::String>
261 GrantedEntity m_grantedEntity;
268 bool m_idHasBeenSet =
false;
269 bool m_createdByHasBeenSet =
false;
270 bool m_updatedByHasBeenSet =
false;
271 bool m_domainIdHasBeenSet =
false;
272 bool m_createdAtHasBeenSet =
false;
273 bool m_updatedAtHasBeenSet =
false;
274 bool m_environmentIdHasBeenSet =
false;
275 bool m_subscriptionTargetIdHasBeenSet =
false;
276 bool m_grantedEntityHasBeenSet =
false;
277 bool m_statusHasBeenSet =
false;
278 bool m_assetsHasBeenSet =
false;
279 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)
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