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