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));
57 template <
typename CreatedByT = Aws::String>
59 m_createdByHasBeenSet =
true;
60 m_createdBy = std::forward<CreatedByT>(value);
62 template <
typename CreatedByT = Aws::String>
74 template <
typename UpdatedByT = Aws::String>
76 m_updatedByHasBeenSet =
true;
77 m_updatedBy = std::forward<UpdatedByT>(value);
79 template <
typename UpdatedByT = Aws::String>
92 template <
typename DomainIdT = Aws::String>
94 m_domainIdHasBeenSet =
true;
95 m_domainId = std::forward<DomainIdT>(value);
97 template <
typename DomainIdT = Aws::String>
109 template <
typename CreatedAtT = Aws::Utils::DateTime>
111 m_createdAtHasBeenSet =
true;
112 m_createdAt = std::forward<CreatedAtT>(value);
114 template <
typename CreatedAtT = Aws::Utils::DateTime>
126 template <
typename UpdatedAtT = Aws::Utils::DateTime>
128 m_updatedAtHasBeenSet =
true;
129 m_updatedAt = std::forward<UpdatedAtT>(value);
131 template <
typename UpdatedAtT = Aws::Utils::DateTime>
143 template <
typename EnvironmentIdT = Aws::String>
145 m_environmentIdHasBeenSet =
true;
146 m_environmentId = std::forward<EnvironmentIdT>(value);
148 template <
typename EnvironmentIdT = Aws::String>
160 template <
typename SubscriptionTargetIdT = Aws::String>
162 m_subscriptionTargetIdHasBeenSet =
true;
163 m_subscriptionTargetId = std::forward<SubscriptionTargetIdT>(value);
165 template <
typename SubscriptionTargetIdT = Aws::String>
177 template <
typename GrantedEntityT = GrantedEntity>
179 m_grantedEntityHasBeenSet =
true;
180 m_grantedEntity = std::forward<GrantedEntityT>(value);
182 template <
typename GrantedEntityT = GrantedEntity>
195 m_statusHasBeenSet =
true;
209 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
211 m_assetsHasBeenSet =
true;
212 m_assets = std::forward<AssetsT>(value);
214 template <
typename AssetsT = Aws::Vector<SubscribedAsset>>
219 template <
typename AssetsT = SubscribedAsset>
221 m_assetsHasBeenSet =
true;
222 m_assets.emplace_back(std::forward<AssetsT>(value));
230 template <
typename RequestIdT = Aws::String>
232 m_requestIdHasBeenSet =
true;
233 m_requestId = std::forward<RequestIdT>(value);
235 template <
typename RequestIdT = Aws::String>
260 GrantedEntity m_grantedEntity;
268 bool m_idHasBeenSet =
false;
269 bool m_createdByHasBeenSet =
false;
270 bool m_updatedByHasBeenSet =
false;
271 bool m_domainIdHasBeenSet =
false;
272 bool m_createdAtHasBeenSet =
false;
273 bool m_updatedAtHasBeenSet =
false;
274 bool m_environmentIdHasBeenSet =
false;
275 bool m_subscriptionTargetIdHasBeenSet =
false;
276 bool m_grantedEntityHasBeenSet =
false;
277 bool m_statusHasBeenSet =
false;
278 bool m_assetsHasBeenSet =
false;
279 bool m_requestIdHasBeenSet =
false;
GetSubscriptionGrantResult & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedBy(UpdatedByT &&value)
GetSubscriptionGrantResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
GetSubscriptionGrantResult & AddAssets(AssetsT &&value)
GetSubscriptionGrantResult & WithId(IdT &&value)
GetSubscriptionGrantResult & WithStatus(SubscriptionGrantOverallStatus value)
void SetCreatedBy(CreatedByT &&value)
void SetDomainId(DomainIdT &&value)
GetSubscriptionGrantResult & WithAssets(AssetsT &&value)
GetSubscriptionGrantResult & WithGrantedEntity(GrantedEntityT &&value)
const Aws::String & GetRequestId() const
GetSubscriptionGrantResult & WithCreatedBy(CreatedByT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetId() const
AWS_DATAZONE_API GetSubscriptionGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const GrantedEntity & GetGrantedEntity() const
void SetGrantedEntity(GrantedEntityT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetSubscriptionTargetId() const
AWS_DATAZONE_API GetSubscriptionGrantResult()=default
const Aws::Vector< SubscribedAsset > & GetAssets() const
const Aws::String & GetUpdatedBy() const
void SetAssets(AssetsT &&value)
GetSubscriptionGrantResult & WithEnvironmentId(EnvironmentIdT &&value)
GetSubscriptionGrantResult & WithDomainId(DomainIdT &&value)
SubscriptionGrantOverallStatus GetStatus() const
void SetEnvironmentId(EnvironmentIdT &&value)
GetSubscriptionGrantResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetEnvironmentId() const
GetSubscriptionGrantResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API GetSubscriptionGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionGrantResult & WithSubscriptionTargetId(SubscriptionTargetIdT &&value)
const Aws::String & GetDomainId() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSubscriptionTargetId(SubscriptionTargetIdT &&value)
void SetStatus(SubscriptionGrantOverallStatus 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