7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/AssetScope.h>
11#include <aws/datazone/model/FailureCause.h>
12#include <aws/datazone/model/Permissions.h>
13#include <aws/datazone/model/SubscriptionGrantStatus.h>
46 template <
typename AssetIdT = Aws::String>
48 m_assetIdHasBeenSet =
true;
49 m_assetId = std::forward<AssetIdT>(value);
51 template <
typename AssetIdT = Aws::String>
64 template <
typename AssetRevisionT = Aws::String>
66 m_assetRevisionHasBeenSet =
true;
67 m_assetRevision = std::forward<AssetRevisionT>(value);
69 template <
typename AssetRevisionT = Aws::String>
83 m_statusHasBeenSet =
true;
98 template <
typename TargetNameT = Aws::String>
100 m_targetNameHasBeenSet =
true;
101 m_targetName = std::forward<TargetNameT>(value);
103 template <
typename TargetNameT = Aws::String>
117 template <
typename FailureCauseT = FailureCause>
119 m_failureCauseHasBeenSet =
true;
120 m_failureCause = std::forward<FailureCauseT>(value);
122 template <
typename FailureCauseT = FailureCause>
135 template <
typename GrantedTimestampT = Aws::Utils::DateTime>
137 m_grantedTimestampHasBeenSet =
true;
138 m_grantedTimestamp = std::forward<GrantedTimestampT>(value);
140 template <
typename GrantedTimestampT = Aws::Utils::DateTime>
154 template <
typename FailureTimestampT = Aws::Utils::DateTime>
156 m_failureTimestampHasBeenSet =
true;
157 m_failureTimestamp = std::forward<FailureTimestampT>(value);
159 template <
typename FailureTimestampT = Aws::Utils::DateTime>
172 template <
typename AssetScopeT = AssetScope>
174 m_assetScopeHasBeenSet =
true;
175 m_assetScope = std::forward<AssetScopeT>(value);
177 template <
typename AssetScopeT = AssetScope>
190 template <
typename PermissionsT = Permissions>
192 m_permissionsHasBeenSet =
true;
193 m_permissions = std::forward<PermissionsT>(value);
195 template <
typename PermissionsT = Permissions>
210 FailureCause m_failureCause;
216 AssetScope m_assetScope;
218 Permissions m_permissions;
219 bool m_assetIdHasBeenSet =
false;
220 bool m_assetRevisionHasBeenSet =
false;
221 bool m_statusHasBeenSet =
false;
222 bool m_targetNameHasBeenSet =
false;
223 bool m_failureCauseHasBeenSet =
false;
224 bool m_grantedTimestampHasBeenSet =
false;
225 bool m_failureTimestampHasBeenSet =
false;
226 bool m_assetScopeHasBeenSet =
false;
227 bool m_permissionsHasBeenSet =
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
SubscribedAsset & WithPermissions(PermissionsT &&value)
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
bool PermissionsHasBeenSet() const
SubscriptionGrantStatus GetStatus() const
SubscribedAsset & WithFailureTimestamp(FailureTimestampT &&value)
const Aws::Utils::DateTime & GetFailureTimestamp() const
bool StatusHasBeenSet() const
const Permissions & GetPermissions() 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
void SetPermissions(PermissionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue