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>
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename CreatedByT = Aws::String>
65 m_createdByHasBeenSet =
true;
66 m_createdBy = std::forward<CreatedByT>(value);
68 template <
typename CreatedByT = Aws::String>
81 template <
typename UpdatedByT = Aws::String>
83 m_updatedByHasBeenSet =
true;
84 m_updatedBy = std::forward<UpdatedByT>(value);
86 template <
typename UpdatedByT = Aws::String>
100 template <
typename DomainIdT = Aws::String>
102 m_domainIdHasBeenSet =
true;
103 m_domainId = std::forward<DomainIdT>(value);
105 template <
typename DomainIdT = Aws::String>
118 template <
typename CreatedAtT = Aws::Utils::DateTime>
120 m_createdAtHasBeenSet =
true;
121 m_createdAt = std::forward<CreatedAtT>(value);
123 template <
typename CreatedAtT = Aws::Utils::DateTime>
136 template <
typename UpdatedAtT = Aws::Utils::DateTime>
138 m_updatedAtHasBeenSet =
true;
139 m_updatedAt = std::forward<UpdatedAtT>(value);
141 template <
typename UpdatedAtT = Aws::Utils::DateTime>
154 template <
typename EnvironmentIdT = Aws::String>
156 m_environmentIdHasBeenSet =
true;
157 m_environmentId = std::forward<EnvironmentIdT>(value);
159 template <
typename EnvironmentIdT = Aws::String>
172 template <
typename SubscriptionTargetIdT = Aws::String>
174 m_subscriptionTargetIdHasBeenSet =
true;
175 m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value);
177 template <
typename SubscriptionTargetIdT = Aws::String>
190 template <
typename GrantedEntityT = GrantedEntity>
192 m_grantedEntityHasBeenSet =
true;
193 m_grantedEntity = std::forward<GrantedEntityT>(value);
195 template <
typename GrantedEntityT = GrantedEntity>
209 m_statusHasBeenSet =
true;
224 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
226 m_assetsHasBeenSet =
true;
227 m_assets = std::forward<AssetsT>(value);
229 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
234 template <
typename AssetsT = SubscribedAsset>
236 m_assetsHasBeenSet =
true;
237 m_assets.emplace_back(std::forward<AssetsT>(value));
258 GrantedEntity m_grantedEntity;
263 bool m_idHasBeenSet =
false;
264 bool m_createdByHasBeenSet =
false;
265 bool m_updatedByHasBeenSet =
false;
266 bool m_domainIdHasBeenSet =
false;
267 bool m_createdAtHasBeenSet =
false;
268 bool m_updatedAtHasBeenSet =
false;
269 bool m_environmentIdHasBeenSet =
false;
270 bool m_subscriptionTargetIdHasBeenSet =
false;
271 bool m_grantedEntityHasBeenSet =
false;
272 bool m_statusHasBeenSet =
false;
273 bool m_assetsHasBeenSet =
false;
SubscriptionGrantSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API SubscriptionGrantSummary()=default
bool UpdatedAtHasBeenSet() const
bool DomainIdHasBeenSet() const
const Aws::String & GetCreatedBy() const
void SetDomainId(DomainIdT &&value)
bool CreatedByHasBeenSet() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSubscriptionTargetId() const
SubscriptionGrantOverallStatus GetStatus() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSubscriptionTargetId(SubscriptionTargetIdT &&value)
SubscriptionGrantSummary & WithSubscriptionTargetId(SubscriptionTargetIdT &&value)
const GrantedEntity & GetGrantedEntity() const
SubscriptionGrantSummary & WithStatus(SubscriptionGrantOverallStatus value)
const Aws::String & GetDomainId() const
bool EnvironmentIdHasBeenSet() const
SubscriptionGrantSummary & WithId(IdT &&value)
bool SubscriptionTargetIdHasBeenSet() const
bool UpdatedByHasBeenSet() const
bool IdHasBeenSet() const
bool StatusHasBeenSet() const
SubscriptionGrantSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
SubscriptionGrantSummary & WithCreatedBy(CreatedByT &&value)
SubscriptionGrantSummary & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetId() const
void SetCreatedBy(CreatedByT &&value)
void SetAssets(AssetsT &&value)
bool AssetsHasBeenSet() const
void SetStatus(SubscriptionGrantOverallStatus value)
SubscriptionGrantSummary & WithGrantedEntity(GrantedEntityT &&value)
void SetGrantedEntity(GrantedEntityT &&value)
SubscriptionGrantSummary & WithAssets(AssetsT &&value)
SubscriptionGrantSummary & AddAssets(AssetsT &&value)
const Aws::String & GetEnvironmentId() const
void SetEnvironmentId(EnvironmentIdT &&value)
bool GrantedEntityHasBeenSet() const
SubscriptionGrantSummary & WithEnvironmentId(EnvironmentIdT &&value)
SubscriptionGrantSummary & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API SubscriptionGrantSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedBy(UpdatedByT &&value)
const Aws::String & GetUpdatedBy() const
AWS_DATAZONE_API SubscriptionGrantSummary(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
const Aws::Vector< SubscribedAsset > & GetAssets() const
void SetUpdatedAt(UpdatedAtT &&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