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>
51 template<
typename AssetsT = Aws::Vector<SubscribedAsset>>
52 void SetAssets(AssetsT&& value) { m_assetsHasBeenSet =
true; m_assets = std::forward<AssetsT>(value); }
53 template<
typename AssetsT = Aws::Vector<SubscribedAsset>>
55 template<
typename AssetsT = SubscribedAsset>
65 template<
typename CreatedAtT = Aws::Utils::DateTime>
66 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
67 template<
typename CreatedAtT = Aws::Utils::DateTime>
77 template<
typename CreatedByT = Aws::String>
78 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
79 template<
typename CreatedByT = Aws::String>
90 template<
typename DomainIdT = Aws::String>
91 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
92 template<
typename DomainIdT = Aws::String>
102 template<
typename GrantedEntityT = GrantedEntity>
103 void SetGrantedEntity(GrantedEntityT&& value) { m_grantedEntityHasBeenSet =
true; m_grantedEntity = std::forward<GrantedEntityT>(value); }
104 template<
typename GrantedEntityT = GrantedEntity>
114 template<
typename IdT = Aws::String>
115 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
116 template<
typename IdT = Aws::String>
136 template<
typename SubscriptionTargetIdT = Aws::String>
137 void SetSubscriptionTargetId(SubscriptionTargetIdT&& value) { m_subscriptionTargetIdHasBeenSet =
true; m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value); }
138 template<
typename SubscriptionTargetIdT = Aws::String>
148 template<
typename UpdatedAtT = Aws::Utils::DateTime>
149 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
150 template<
typename UpdatedAtT = Aws::Utils::DateTime>
160 template<
typename UpdatedByT = Aws::String>
161 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
162 template<
typename UpdatedByT = Aws::String>
168 bool m_assetsHasBeenSet =
false;
171 bool m_createdAtHasBeenSet =
false;
174 bool m_createdByHasBeenSet =
false;
177 bool m_domainIdHasBeenSet =
false;
179 GrantedEntity m_grantedEntity;
180 bool m_grantedEntityHasBeenSet =
false;
183 bool m_idHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_subscriptionTargetIdHasBeenSet =
false;
192 bool m_updatedAtHasBeenSet =
false;
195 bool m_updatedByHasBeenSet =
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
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)
bool GrantedEntityHasBeenSet() const
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