7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/GrantedEntity.h>
12#include <aws/datazone/model/SubscribedAsset.h>
13#include <aws/datazone/model/SubscriptionGrantOverallStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename IdT = Aws::String>
41 m_idHasBeenSet =
true;
42 m_id = std::forward<IdT>(value);
44 template <
typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
57 template <
typename CreatedByT = Aws::String>
59 m_createdByHasBeenSet =
true;
60 m_createdBy = std::forward<CreatedByT>(value);
62 template <
typename CreatedByT = Aws::String>
75 template <
typename UpdatedByT = Aws::String>
77 m_updatedByHasBeenSet =
true;
78 m_updatedBy = std::forward<UpdatedByT>(value);
80 template <
typename UpdatedByT = Aws::String>
93 template <
typename DomainIdT = Aws::String>
95 m_domainIdHasBeenSet =
true;
96 m_domainId = std::forward<DomainIdT>(value);
98 template <
typename DomainIdT = Aws::String>
110 template <
typename CreatedAtT = Aws::Utils::DateTime>
112 m_createdAtHasBeenSet =
true;
113 m_createdAt = std::forward<CreatedAtT>(value);
115 template <
typename CreatedAtT = Aws::Utils::DateTime>
127 template <
typename UpdatedAtT = Aws::Utils::DateTime>
129 m_updatedAtHasBeenSet =
true;
130 m_updatedAt = std::forward<UpdatedAtT>(value);
132 template <
typename UpdatedAtT = Aws::Utils::DateTime>
144 template <
typename EnvironmentIdT = Aws::String>
146 m_environmentIdHasBeenSet =
true;
147 m_environmentId = std::forward<EnvironmentIdT>(value);
149 template <
typename EnvironmentIdT = Aws::String>
162 template <
typename SubscriptionTargetIdT = Aws::String>
164 m_subscriptionTargetIdHasBeenSet =
true;
165 m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value);
167 template <
typename SubscriptionTargetIdT = Aws::String>
179 template <
typename GrantedEntityT = GrantedEntity>
181 m_grantedEntityHasBeenSet =
true;
182 m_grantedEntity = std::forward<GrantedEntityT>(value);
184 template <
typename GrantedEntityT = GrantedEntity>
197 m_statusHasBeenSet =
true;
211 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
213 m_assetsHasBeenSet =
true;
214 m_assets = std::forward<AssetsT>(value);
216 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
221 template <
typename AssetsT = SubscribedAsset>
223 m_assetsHasBeenSet =
true;
224 m_assets.emplace_back(std::forward<AssetsT>(value));
232 template <
typename RequestIdT = Aws::String>
234 m_requestIdHasBeenSet =
true;
235 m_requestId = std::forward<RequestIdT>(value);
237 template <
typename RequestIdT = Aws::String>
260 GrantedEntity m_grantedEntity;
267 bool m_idHasBeenSet =
false;
268 bool m_createdByHasBeenSet =
false;
269 bool m_updatedByHasBeenSet =
false;
270 bool m_domainIdHasBeenSet =
false;
271 bool m_createdAtHasBeenSet =
false;
272 bool m_updatedAtHasBeenSet =
false;
273 bool m_environmentIdHasBeenSet =
false;
274 bool m_subscriptionTargetIdHasBeenSet =
false;
275 bool m_grantedEntityHasBeenSet =
false;
276 bool m_statusHasBeenSet =
false;
277 bool m_assetsHasBeenSet =
false;
278 bool m_requestIdHasBeenSet =
false;
void SetUpdatedAt(UpdatedAtT &&value)
void SetCreatedBy(CreatedByT &&value)
const Aws::Vector< SubscribedAsset > & GetAssets() const
DeleteSubscriptionGrantResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API DeleteSubscriptionGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSubscriptionTargetId(SubscriptionTargetIdT &&value)
DeleteSubscriptionGrantResult & WithStatus(SubscriptionGrantOverallStatus value)
DeleteSubscriptionGrantResult & WithDomainId(DomainIdT &&value)
DeleteSubscriptionGrantResult & WithId(IdT &&value)
const Aws::String & GetRequestId() const
DeleteSubscriptionGrantResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDomainId() const
const GrantedEntity & GetGrantedEntity() const
const Aws::String & GetUpdatedBy() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API DeleteSubscriptionGrantResult()=default
DeleteSubscriptionGrantResult & WithSubscriptionTargetId(SubscriptionTargetIdT &&value)
const Aws::String & GetEnvironmentId() const
const Aws::Utils::DateTime & GetCreatedAt() const
DeleteSubscriptionGrantResult & WithUpdatedAt(UpdatedAtT &&value)
DeleteSubscriptionGrantResult & AddAssets(AssetsT &&value)
DeleteSubscriptionGrantResult & WithAssets(AssetsT &&value)
void SetUpdatedBy(UpdatedByT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetSubscriptionTargetId() const
void SetAssets(AssetsT &&value)
void SetStatus(SubscriptionGrantOverallStatus value)
AWS_DATAZONE_API DeleteSubscriptionGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGrantedEntity(GrantedEntityT &&value)
const Aws::String & GetId() const
DeleteSubscriptionGrantResult & WithCreatedBy(CreatedByT &&value)
void SetDomainId(DomainIdT &&value)
DeleteSubscriptionGrantResult & WithUpdatedBy(UpdatedByT &&value)
SubscriptionGrantOverallStatus GetStatus() const
const Aws::String & GetCreatedBy() const
void SetEnvironmentId(EnvironmentIdT &&value)
DeleteSubscriptionGrantResult & WithEnvironmentId(EnvironmentIdT &&value)
DeleteSubscriptionGrantResult & WithGrantedEntity(GrantedEntityT &&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