7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/AssetScope.h>
10#include <aws/datazone/model/FailureCause.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/datazone/model/SubscriptionGrantStatus.h>
53 inline void SetAssetId(
const char* value) { m_assetIdHasBeenSet =
true; m_assetId.assign(value); }
67 inline void SetAssetRevision(
const char* value) { m_assetRevisionHasBeenSet =
true; m_assetRevision.assign(value); }
143 inline void SetTargetName(
const char* value) { m_targetNameHasBeenSet =
true; m_targetName.assign(value); }
151 bool m_assetIdHasBeenSet =
false;
154 bool m_assetRevisionHasBeenSet =
false;
157 bool m_assetScopeHasBeenSet =
false;
160 bool m_failureCauseHasBeenSet =
false;
163 bool m_failureTimestampHasBeenSet =
false;
166 bool m_grantedTimestampHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
172 bool m_targetNameHasBeenSet =
false;
void SetTargetName(const char *value)
void SetAssetScope(AssetScope &&value)
SubscribedAsset & WithTargetName(const char *value)
void SetAssetId(Aws::String &&value)
void SetAssetScope(const AssetScope &value)
SubscribedAsset & WithAssetId(const Aws::String &value)
const Aws::String & GetTargetName() const
bool GrantedTimestampHasBeenSet() const
void SetFailureTimestamp(Aws::Utils::DateTime &&value)
void SetStatus(SubscriptionGrantStatus &&value)
const SubscriptionGrantStatus & GetStatus() const
bool AssetScopeHasBeenSet() const
void SetFailureCause(const FailureCause &value)
AWS_DATAZONE_API SubscribedAsset & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAssetId() const
void SetTargetName(const Aws::String &value)
bool AssetRevisionHasBeenSet() const
void SetTargetName(Aws::String &&value)
void SetAssetId(const Aws::String &value)
const FailureCause & GetFailureCause() const
void SetGrantedTimestamp(const Aws::Utils::DateTime &value)
SubscribedAsset & WithAssetId(Aws::String &&value)
void SetAssetRevision(const Aws::String &value)
AWS_DATAZONE_API SubscribedAsset(Aws::Utils::Json::JsonView jsonValue)
void SetFailureCause(FailureCause &&value)
bool FailureTimestampHasBeenSet() const
SubscribedAsset & WithGrantedTimestamp(Aws::Utils::DateTime &&value)
AWS_DATAZONE_API SubscribedAsset()
SubscribedAsset & WithAssetScope(const AssetScope &value)
SubscribedAsset & WithStatus(SubscriptionGrantStatus &&value)
SubscribedAsset & WithAssetRevision(const char *value)
void SetFailureTimestamp(const Aws::Utils::DateTime &value)
void SetAssetRevision(const char *value)
SubscribedAsset & WithFailureCause(FailureCause &&value)
const Aws::Utils::DateTime & GetGrantedTimestamp() const
SubscribedAsset & WithFailureCause(const FailureCause &value)
SubscribedAsset & WithTargetName(Aws::String &&value)
SubscribedAsset & WithFailureTimestamp(Aws::Utils::DateTime &&value)
SubscribedAsset & WithAssetRevision(Aws::String &&value)
SubscribedAsset & WithGrantedTimestamp(const Aws::Utils::DateTime &value)
bool AssetIdHasBeenSet() const
void SetGrantedTimestamp(Aws::Utils::DateTime &&value)
SubscribedAsset & WithStatus(const SubscriptionGrantStatus &value)
const Aws::Utils::DateTime & GetFailureTimestamp() const
bool StatusHasBeenSet() const
void SetAssetId(const char *value)
SubscribedAsset & WithFailureTimestamp(const Aws::Utils::DateTime &value)
SubscribedAsset & WithAssetRevision(const Aws::String &value)
bool TargetNameHasBeenSet() const
SubscribedAsset & WithTargetName(const Aws::String &value)
SubscribedAsset & WithAssetId(const char *value)
bool FailureCauseHasBeenSet() const
const AssetScope & GetAssetScope() const
void SetStatus(const SubscriptionGrantStatus &value)
SubscribedAsset & WithAssetScope(AssetScope &&value)
const Aws::String & GetAssetRevision() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAssetRevision(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue