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>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
71 inline void SetCreatedBy(
const char* value) { m_createdBy.assign(value); }
85 inline void SetDomainId(
const char* value) { m_domainId.assign(value); }
109 inline void SetId(
const char* value) { m_id.assign(value); }
157 inline void SetUpdatedBy(
const char* value) { m_updatedBy.assign(value); }
168 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetStatus(const SubscriptionGrantOverallStatus &value)
GetSubscriptionGrantResult & WithGrantedEntity(const GrantedEntity &value)
GetSubscriptionGrantResult & WithDomainId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetId(Aws::String &&value)
void SetUpdatedBy(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetSubscriptionTargetId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetSubscriptionGrantResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetSubscriptionGrantResult & AddAssets(SubscribedAsset &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetGrantedEntity(GrantedEntity &&value)
AWS_DATAZONE_API GetSubscriptionGrantResult()
GetSubscriptionGrantResult & WithStatus(const SubscriptionGrantOverallStatus &value)
GetSubscriptionGrantResult & WithUpdatedBy(const Aws::String &value)
GetSubscriptionGrantResult & WithRequestId(const char *value)
GetSubscriptionGrantResult & WithId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetCreatedBy(Aws::String &&value)
GetSubscriptionGrantResult & WithUpdatedBy(const char *value)
GetSubscriptionGrantResult & WithAssets(Aws::Vector< SubscribedAsset > &&value)
void SetSubscriptionTargetId(const Aws::String &value)
void SetAssets(Aws::Vector< SubscribedAsset > &&value)
GetSubscriptionGrantResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetSubscriptionGrantResult & WithSubscriptionTargetId(const char *value)
GetSubscriptionGrantResult & WithSubscriptionTargetId(Aws::String &&value)
const Aws::String & GetId() const
GetSubscriptionGrantResult & WithDomainId(const Aws::String &value)
GetSubscriptionGrantResult & WithStatus(SubscriptionGrantOverallStatus &&value)
void SetId(const char *value)
AWS_DATAZONE_API GetSubscriptionGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionGrantResult & WithAssets(const Aws::Vector< SubscribedAsset > &value)
const GrantedEntity & GetGrantedEntity() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetSubscriptionTargetId() const
GetSubscriptionGrantResult & WithRequestId(Aws::String &&value)
const SubscriptionGrantOverallStatus & GetStatus() const
void SetStatus(SubscriptionGrantOverallStatus &&value)
GetSubscriptionGrantResult & WithDomainId(Aws::String &&value)
void SetId(const Aws::String &value)
void SetDomainId(const char *value)
const Aws::Vector< SubscribedAsset > & GetAssets() const
GetSubscriptionGrantResult & WithId(const char *value)
void SetDomainId(const Aws::String &value)
GetSubscriptionGrantResult & WithSubscriptionTargetId(const Aws::String &value)
const Aws::String & GetUpdatedBy() const
void SetAssets(const Aws::Vector< SubscribedAsset > &value)
void SetDomainId(Aws::String &&value)
void SetRequestId(const char *value)
GetSubscriptionGrantResult & WithRequestId(const Aws::String &value)
GetSubscriptionGrantResult & WithId(const Aws::String &value)
GetSubscriptionGrantResult & WithCreatedBy(Aws::String &&value)
void SetUpdatedBy(const Aws::String &value)
GetSubscriptionGrantResult & WithUpdatedBy(Aws::String &&value)
GetSubscriptionGrantResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetCreatedBy() const
GetSubscriptionGrantResult & WithCreatedBy(const char *value)
void SetUpdatedBy(const char *value)
GetSubscriptionGrantResult & WithGrantedEntity(GrantedEntity &&value)
void SetSubscriptionTargetId(const char *value)
AWS_DATAZONE_API GetSubscriptionGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedBy(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetCreatedBy(const char *value)
void SetGrantedEntity(const GrantedEntity &value)
GetSubscriptionGrantResult & WithCreatedBy(const Aws::String &value)
GetSubscriptionGrantResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDomainId() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetSubscriptionGrantResult & AddAssets(const SubscribedAsset &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