7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/SubscriptionStatus.h>
11#include <aws/datazone/model/SubscribedListing.h>
12#include <aws/datazone/model/SubscribedPrincipal.h>
64 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
79 inline void SetDomainId(
const char* value) { m_domainIdHasBeenSet =
true; m_domainId.assign(value); }
92 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
93 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
105 inline void SetRetainPermissions(
bool value) { m_retainPermissionsHasBeenSet =
true; m_retainPermissions = value; }
153 inline void SetSubscriptionRequestId(
const char* value) { m_subscriptionRequestIdHasBeenSet =
true; m_subscriptionRequestId.assign(value); }
179 inline void SetUpdatedBy(
const char* value) { m_updatedByHasBeenSet =
true; m_updatedBy.assign(value); }
187 bool m_createdAtHasBeenSet =
false;
190 bool m_createdByHasBeenSet =
false;
193 bool m_domainIdHasBeenSet =
false;
196 bool m_idHasBeenSet =
false;
198 bool m_retainPermissions;
199 bool m_retainPermissionsHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
205 bool m_subscribedListingHasBeenSet =
false;
208 bool m_subscribedPrincipalHasBeenSet =
false;
211 bool m_subscriptionRequestIdHasBeenSet =
false;
214 bool m_updatedAtHasBeenSet =
false;
217 bool m_updatedByHasBeenSet =
false;
const Aws::String & GetUpdatedBy() const
bool CreatedAtHasBeenSet() const
SubscriptionSummary & WithUpdatedBy(Aws::String &&value)
SubscriptionSummary & WithStatus(SubscriptionStatus &&value)
const Aws::String & GetDomainId() const
const SubscribedPrincipal & GetSubscribedPrincipal() const
AWS_DATAZONE_API SubscriptionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedBy(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
SubscriptionSummary & WithRetainPermissions(bool value)
void SetSubscribedListing(const SubscribedListing &value)
void SetSubscriptionRequestId(Aws::String &&value)
void SetSubscribedPrincipal(SubscribedPrincipal &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_DATAZONE_API SubscriptionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscriptionSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDomainId(Aws::String &&value)
void SetSubscribedPrincipal(const SubscribedPrincipal &value)
const Aws::String & GetCreatedBy() const
void SetSubscriptionRequestId(const char *value)
void SetUpdatedBy(const char *value)
bool UpdatedAtHasBeenSet() const
SubscriptionSummary & WithCreatedBy(const char *value)
SubscriptionSummary & WithSubscribedListing(const SubscribedListing &value)
SubscriptionSummary & WithId(Aws::String &&value)
void SetUpdatedBy(Aws::String &&value)
void SetDomainId(const char *value)
void SetCreatedBy(Aws::String &&value)
bool RetainPermissionsHasBeenSet() const
const SubscriptionStatus & GetStatus() const
SubscriptionSummary & WithSubscribedPrincipal(SubscribedPrincipal &&value)
void SetId(const Aws::String &value)
SubscriptionSummary & WithSubscriptionRequestId(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
SubscriptionSummary & WithId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
SubscriptionSummary & WithStatus(const SubscriptionStatus &value)
void SetSubscriptionRequestId(const Aws::String &value)
SubscriptionSummary & WithSubscribedPrincipal(const SubscribedPrincipal &value)
bool SubscribedPrincipalHasBeenSet() const
void SetUpdatedBy(const Aws::String &value)
bool SubscriptionRequestIdHasBeenSet() const
SubscriptionSummary & WithSubscriptionRequestId(const char *value)
void SetDomainId(const Aws::String &value)
void SetRetainPermissions(bool value)
AWS_DATAZONE_API SubscriptionSummary()
SubscriptionSummary & WithDomainId(Aws::String &&value)
void SetId(const char *value)
SubscriptionSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
SubscriptionSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetSubscribedListing(SubscribedListing &&value)
SubscriptionSummary & WithSubscribedListing(SubscribedListing &&value)
bool StatusHasBeenSet() const
SubscriptionSummary & WithCreatedBy(Aws::String &&value)
bool CreatedByHasBeenSet() const
const Aws::String & GetSubscriptionRequestId() const
bool DomainIdHasBeenSet() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
bool SubscribedListingHasBeenSet() const
void SetStatus(const SubscriptionStatus &value)
void SetStatus(SubscriptionStatus &&value)
SubscriptionSummary & WithSubscriptionRequestId(Aws::String &&value)
bool UpdatedByHasBeenSet() const
SubscriptionSummary & WithId(const Aws::String &value)
SubscriptionSummary & WithUpdatedBy(const char *value)
SubscriptionSummary & WithDomainId(const char *value)
SubscriptionSummary & WithUpdatedBy(const Aws::String &value)
SubscriptionSummary & WithDomainId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
SubscriptionSummary & WithCreatedBy(const Aws::String &value)
bool IdHasBeenSet() const
bool GetRetainPermissions() const
const SubscribedListing & GetSubscribedListing() const
void SetId(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
SubscriptionSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue