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