7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/GrantedEntity.h>
13#include <aws/datazone/model/SubscribedAsset.h>
14#include <aws/datazone/model/SubscriptionGrantOverallStatus.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename IdT = Aws::String>
42 m_idHasBeenSet =
true;
43 m_id = std::forward<IdT>(value);
45 template <
typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
58 template <
typename CreatedByT = Aws::String>
60 m_createdByHasBeenSet =
true;
61 m_createdBy = std::forward<CreatedByT>(value);
63 template <
typename CreatedByT = Aws::String>
76 template <
typename UpdatedByT = Aws::String>
78 m_updatedByHasBeenSet =
true;
79 m_updatedBy = std::forward<UpdatedByT>(value);
81 template <
typename UpdatedByT = Aws::String>
94 template <
typename DomainIdT = Aws::String>
96 m_domainIdHasBeenSet =
true;
97 m_domainId = std::forward<DomainIdT>(value);
99 template <
typename DomainIdT = Aws::String>
111 template <
typename CreatedAtT = Aws::Utils::DateTime>
113 m_createdAtHasBeenSet =
true;
114 m_createdAt = std::forward<CreatedAtT>(value);
116 template <
typename CreatedAtT = Aws::Utils::DateTime>
128 template <
typename UpdatedAtT = Aws::Utils::DateTime>
130 m_updatedAtHasBeenSet =
true;
131 m_updatedAt = std::forward<UpdatedAtT>(value);
133 template <
typename UpdatedAtT = Aws::Utils::DateTime>
145 template <
typename EnvironmentIdT = Aws::String>
147 m_environmentIdHasBeenSet =
true;
148 m_environmentId = std::forward<EnvironmentIdT>(value);
150 template <
typename EnvironmentIdT = Aws::String>
163 template <
typename SubscriptionTargetIdT = Aws::String>
165 m_subscriptionTargetIdHasBeenSet =
true;
166 m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value);
168 template <
typename SubscriptionTargetIdT = Aws::String>
180 template <
typename GrantedEntityT = GrantedEntity>
182 m_grantedEntityHasBeenSet =
true;
183 m_grantedEntity = std::forward<GrantedEntityT>(value);
185 template <
typename GrantedEntityT = GrantedEntity>
198 m_statusHasBeenSet =
true;
212 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
214 m_assetsHasBeenSet =
true;
215 m_assets = std::forward<AssetsT>(value);
217 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
222 template <
typename AssetsT = SubscribedAsset>
224 m_assetsHasBeenSet =
true;
225 m_assets.emplace_back(std::forward<AssetsT>(value));
233 template <
typename RequestIdT = Aws::String>
235 m_requestIdHasBeenSet =
true;
236 m_requestId = std::forward<RequestIdT>(value);
238 template <
typename RequestIdT = Aws::String>
263 GrantedEntity m_grantedEntity;
271 bool m_idHasBeenSet =
false;
272 bool m_createdByHasBeenSet =
false;
273 bool m_updatedByHasBeenSet =
false;
274 bool m_domainIdHasBeenSet =
false;
275 bool m_createdAtHasBeenSet =
false;
276 bool m_updatedAtHasBeenSet =
false;
277 bool m_environmentIdHasBeenSet =
false;
278 bool m_subscriptionTargetIdHasBeenSet =
false;
279 bool m_grantedEntityHasBeenSet =
false;
280 bool m_statusHasBeenSet =
false;
281 bool m_assetsHasBeenSet =
false;
282 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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