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>
79 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
94 inline void SetDomainId(
const char* value) { m_domainIdHasBeenSet =
true; m_domainId.assign(value); }
120 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
146 inline void SetSubscriptionTargetId(
const char* value) { m_subscriptionTargetIdHasBeenSet =
true; m_subscriptionTargetId.assign(value); }
172 inline void SetUpdatedBy(
const char* value) { m_updatedByHasBeenSet =
true; m_updatedBy.assign(value); }
180 bool m_assetsHasBeenSet =
false;
183 bool m_createdAtHasBeenSet =
false;
186 bool m_createdByHasBeenSet =
false;
189 bool m_domainIdHasBeenSet =
false;
192 bool m_grantedEntityHasBeenSet =
false;
195 bool m_idHasBeenSet =
false;
198 bool m_statusHasBeenSet =
false;
201 bool m_subscriptionTargetIdHasBeenSet =
false;
204 bool m_updatedAtHasBeenSet =
false;
207 bool m_updatedByHasBeenSet =
false;
bool UpdatedAtHasBeenSet() const
void SetSubscriptionTargetId(const char *value)
void SetUpdatedBy(const char *value)
SubscriptionGrantSummary & AddAssets(SubscribedAsset &&value)
bool DomainIdHasBeenSet() const
const Aws::String & GetCreatedBy() const
bool CreatedByHasBeenSet() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSubscriptionTargetId() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
SubscriptionGrantSummary & WithAssets(const Aws::Vector< SubscribedAsset > &value)
SubscriptionGrantSummary & WithStatus(SubscriptionGrantOverallStatus &&value)
SubscriptionGrantSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_DATAZONE_API SubscriptionGrantSummary()
SubscriptionGrantSummary & WithId(const char *value)
void SetAssets(Aws::Vector< SubscribedAsset > &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
SubscriptionGrantSummary & WithGrantedEntity(GrantedEntity &&value)
void SetDomainId(const Aws::String &value)
SubscriptionGrantSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
const GrantedEntity & GetGrantedEntity() const
SubscriptionGrantSummary & WithUpdatedBy(const char *value)
SubscriptionGrantSummary & WithSubscriptionTargetId(const Aws::String &value)
const Aws::String & GetDomainId() const
SubscriptionGrantSummary & WithStatus(const SubscriptionGrantOverallStatus &value)
SubscriptionGrantSummary & WithId(Aws::String &&value)
SubscriptionGrantSummary & WithDomainId(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
SubscriptionGrantSummary & WithUpdatedBy(const Aws::String &value)
bool SubscriptionTargetIdHasBeenSet() const
void SetStatus(SubscriptionGrantOverallStatus &&value)
void SetId(const Aws::String &value)
bool UpdatedByHasBeenSet() const
SubscriptionGrantSummary & WithDomainId(const char *value)
SubscriptionGrantSummary & AddAssets(const SubscribedAsset &value)
bool IdHasBeenSet() const
SubscriptionGrantSummary & WithDomainId(Aws::String &&value)
void SetDomainId(Aws::String &&value)
bool StatusHasBeenSet() const
void SetSubscriptionTargetId(const Aws::String &value)
void SetCreatedBy(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetId() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
SubscriptionGrantSummary & WithGrantedEntity(const GrantedEntity &value)
SubscriptionGrantSummary & WithCreatedBy(const char *value)
void SetGrantedEntity(const GrantedEntity &value)
void SetGrantedEntity(GrantedEntity &&value)
void SetSubscriptionTargetId(Aws::String &&value)
void SetCreatedBy(Aws::String &&value)
bool AssetsHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetId(Aws::String &&value)
SubscriptionGrantSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedBy(const char *value)
SubscriptionGrantSummary & WithId(const Aws::String &value)
void SetId(const char *value)
SubscriptionGrantSummary & WithSubscriptionTargetId(const char *value)
bool GrantedEntityHasBeenSet() const
SubscriptionGrantSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
SubscriptionGrantSummary & WithSubscriptionTargetId(Aws::String &&value)
void SetUpdatedBy(const Aws::String &value)
void SetDomainId(const char *value)
void SetAssets(const Aws::Vector< SubscribedAsset > &value)
const SubscriptionGrantOverallStatus & GetStatus() const
SubscriptionGrantSummary & WithUpdatedBy(Aws::String &&value)
AWS_DATAZONE_API SubscriptionGrantSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscriptionGrantSummary & WithCreatedBy(Aws::String &&value)
void SetStatus(const SubscriptionGrantOverallStatus &value)
void SetUpdatedBy(Aws::String &&value)
const Aws::String & GetUpdatedBy() const
SubscriptionGrantSummary & WithAssets(Aws::Vector< SubscribedAsset > &&value)
AWS_DATAZONE_API SubscriptionGrantSummary(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
const Aws::Vector< SubscribedAsset > & GetAssets() const
SubscriptionGrantSummary & WithCreatedBy(const Aws::String &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