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>
51 template<
typename AssetIdT = Aws::String>
52 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet =
true; m_assetId = std::forward<AssetIdT>(value); }
53 template<
typename AssetIdT = Aws::String>
63 template<
typename AssetRevisionT = Aws::String>
64 void SetAssetRevision(AssetRevisionT&& value) { m_assetRevisionHasBeenSet =
true; m_assetRevision = std::forward<AssetRevisionT>(value); }
65 template<
typename AssetRevisionT = Aws::String>
75 template<
typename AssetScopeT = AssetScope>
76 void SetAssetScope(AssetScopeT&& value) { m_assetScopeHasBeenSet =
true; m_assetScope = std::forward<AssetScopeT>(value); }
77 template<
typename AssetScopeT = AssetScope>
88 template<
typename FailureCauseT = FailureCause>
89 void SetFailureCause(FailureCauseT&& value) { m_failureCauseHasBeenSet =
true; m_failureCause = std::forward<FailureCauseT>(value); }
90 template<
typename FailureCauseT = FailureCause>
101 template<
typename FailureTimestampT = Aws::Utils::DateTime>
102 void SetFailureTimestamp(FailureTimestampT&& value) { m_failureTimestampHasBeenSet =
true; m_failureTimestamp = std::forward<FailureTimestampT>(value); }
103 template<
typename FailureTimestampT = Aws::Utils::DateTime>
113 template<
typename GrantedTimestampT = Aws::Utils::DateTime>
114 void SetGrantedTimestamp(GrantedTimestampT&& value) { m_grantedTimestampHasBeenSet =
true; m_grantedTimestamp = std::forward<GrantedTimestampT>(value); }
115 template<
typename GrantedTimestampT = Aws::Utils::DateTime>
135 template<
typename TargetNameT = Aws::String>
136 void SetTargetName(TargetNameT&& value) { m_targetNameHasBeenSet =
true; m_targetName = std::forward<TargetNameT>(value); }
137 template<
typename TargetNameT = Aws::String>
143 bool m_assetIdHasBeenSet =
false;
146 bool m_assetRevisionHasBeenSet =
false;
149 bool m_assetScopeHasBeenSet =
false;
152 bool m_failureCauseHasBeenSet =
false;
155 bool m_failureTimestampHasBeenSet =
false;
158 bool m_grantedTimestampHasBeenSet =
false;
161 bool m_statusHasBeenSet =
false;
164 bool m_targetNameHasBeenSet =
false;
SubscribedAsset & WithGrantedTimestamp(GrantedTimestampT &&value)
void SetAssetRevision(AssetRevisionT &&value)
void SetAssetId(AssetIdT &&value)
const Aws::String & GetTargetName() const
bool GrantedTimestampHasBeenSet() const
SubscribedAsset & WithTargetName(TargetNameT &&value)
SubscribedAsset & WithAssetRevision(AssetRevisionT &&value)
bool AssetScopeHasBeenSet() const
void SetAssetScope(AssetScopeT &&value)
AWS_DATAZONE_API SubscribedAsset & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAssetId() const
bool AssetRevisionHasBeenSet() const
const FailureCause & GetFailureCause() const
SubscribedAsset & WithAssetScope(AssetScopeT &&value)
void SetFailureCause(FailureCauseT &&value)
AWS_DATAZONE_API SubscribedAsset(Aws::Utils::Json::JsonView jsonValue)
SubscribedAsset & WithAssetId(AssetIdT &&value)
SubscribedAsset & WithFailureCause(FailureCauseT &&value)
bool FailureTimestampHasBeenSet() const
SubscribedAsset & WithStatus(SubscriptionGrantStatus value)
const Aws::Utils::DateTime & GetGrantedTimestamp() const
void SetGrantedTimestamp(GrantedTimestampT &&value)
void SetFailureTimestamp(FailureTimestampT &&value)
void SetStatus(SubscriptionGrantStatus value)
bool AssetIdHasBeenSet() const
SubscriptionGrantStatus GetStatus() const
SubscribedAsset & WithFailureTimestamp(FailureTimestampT &&value)
const Aws::Utils::DateTime & GetFailureTimestamp() const
bool StatusHasBeenSet() const
AWS_DATAZONE_API SubscribedAsset()=default
bool TargetNameHasBeenSet() const
void SetTargetName(TargetNameT &&value)
bool FailureCauseHasBeenSet() const
const AssetScope & GetAssetScope() const
const Aws::String & GetAssetRevision() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue