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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
58 inline void SetCreatedBy(
const char* value) { m_createdBy.assign(value); }
72 inline void SetDomainId(
const char* value) { m_domainId.assign(value); }
85 inline void SetId(
const char* value) { m_id.assign(value); }
167 inline void SetUpdatedBy(
const char* value) { m_updatedBy.assign(value); }
178 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
193 bool m_retainPermissions;
void SetStatus(SubscriptionStatus &&value)
CancelSubscriptionResult & WithRequestId(const char *value)
AWS_DATAZONE_API CancelSubscriptionResult()
const Aws::String & GetUpdatedBy() const
const Aws::String & GetCreatedBy() const
AWS_DATAZONE_API CancelSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelSubscriptionResult & WithCreatedBy(Aws::String &&value)
void SetId(const Aws::String &value)
CancelSubscriptionResult & WithStatus(SubscriptionStatus &&value)
CancelSubscriptionResult & WithCreatedBy(const Aws::String &value)
CancelSubscriptionResult & WithSubscriptionRequestId(Aws::String &&value)
void SetDomainId(Aws::String &&value)
CancelSubscriptionResult & WithRetainPermissions(bool value)
void SetUpdatedBy(Aws::String &&value)
CancelSubscriptionResult & WithDomainId(const char *value)
CancelSubscriptionResult & WithSubscribedListing(SubscribedListing &&value)
void SetSubscribedPrincipal(SubscribedPrincipal &&value)
CancelSubscriptionResult & WithSubscriptionRequestId(const char *value)
void SetDomainId(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetDomainId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetSubscriptionRequestId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const SubscribedListing & GetSubscribedListing() const
CancelSubscriptionResult & WithSubscribedListing(const SubscribedListing &value)
void SetSubscribedListing(SubscribedListing &&value)
CancelSubscriptionResult & WithId(const Aws::String &value)
CancelSubscriptionResult & WithId(const char *value)
CancelSubscriptionResult & WithRequestId(const Aws::String &value)
CancelSubscriptionResult & WithRequestId(Aws::String &&value)
void SetStatus(const SubscriptionStatus &value)
void SetCreatedBy(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedBy(Aws::String &&value)
CancelSubscriptionResult & WithCreatedBy(const char *value)
void SetSubscribedListing(const SubscribedListing &value)
const SubscriptionStatus & GetStatus() const
CancelSubscriptionResult & WithUpdatedBy(const char *value)
CancelSubscriptionResult & WithSubscriptionRequestId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CancelSubscriptionResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CancelSubscriptionResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
void SetUpdatedBy(const Aws::String &value)
const Aws::String & GetSubscriptionRequestId() const
bool GetRetainPermissions() const
void SetRequestId(const char *value)
const Aws::String & GetRequestId() const
AWS_DATAZONE_API CancelSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
CancelSubscriptionResult & WithSubscribedPrincipal(const SubscribedPrincipal &value)
void SetSubscriptionRequestId(const char *value)
CancelSubscriptionResult & WithUpdatedBy(Aws::String &&value)
CancelSubscriptionResult & WithDomainId(Aws::String &&value)
void SetCreatedBy(const char *value)
void SetId(const char *value)
void SetSubscriptionRequestId(const Aws::String &value)
CancelSubscriptionResult & WithSubscribedPrincipal(SubscribedPrincipal &&value)
void SetDomainId(const Aws::String &value)
CancelSubscriptionResult & WithDomainId(const Aws::String &value)
CancelSubscriptionResult & WithId(Aws::String &&value)
void SetUpdatedBy(const char *value)
CancelSubscriptionResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const SubscribedPrincipal & GetSubscribedPrincipal() const
void SetSubscribedPrincipal(const SubscribedPrincipal &value)
void SetRetainPermissions(bool value)
CancelSubscriptionResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
CancelSubscriptionResult & WithStatus(const SubscriptionStatus &value)
const Aws::String & GetId() const
CancelSubscriptionResult & WithUpdatedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue