7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/partnercentral-selling/model/ResourceSnapshotPayload.h>
11#include <aws/partnercentral-selling/model/ResourceType.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace PartnerCentralSelling
44 template<
typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
46 template<
typename ArnT = Aws::String>
56 template<
typename CatalogT = Aws::String>
57 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet =
true; m_catalog = std::forward<CatalogT>(value); }
58 template<
typename CatalogT = Aws::String>
69 template<
typename CreatedAtT = Aws::Utils::DateTime>
70 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
71 template<
typename CreatedAtT = Aws::Utils::DateTime>
81 template<
typename CreatedByT = Aws::String>
82 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
83 template<
typename CreatedByT = Aws::String>
93 template<
typename EngagementIdT = Aws::String>
94 void SetEngagementId(EngagementIdT&& value) { m_engagementIdHasBeenSet =
true; m_engagementId = std::forward<EngagementIdT>(value); }
95 template<
typename EngagementIdT = Aws::String>
102 template<
typename PayloadT = ResourceSnapshotPayload>
103 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet =
true; m_payload = std::forward<PayloadT>(value); }
104 template<
typename PayloadT = ResourceSnapshotPayload>
114 template<
typename ResourceIdT = Aws::String>
115 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
116 template<
typename ResourceIdT = Aws::String>
126 template<
typename ResourceSnapshotTemplateNameT = Aws::String>
127 void SetResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT&& value) { m_resourceSnapshotTemplateNameHasBeenSet =
true; m_resourceSnapshotTemplateName = std::forward<ResourceSnapshotTemplateNameT>(value); }
128 template<
typename ResourceSnapshotTemplateNameT = Aws::String>
148 inline void SetRevision(
int value) { m_revisionHasBeenSet =
true; m_revision = value; }
155 template<
typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
157 template<
typename RequestIdT = Aws::String>
163 bool m_arnHasBeenSet =
false;
166 bool m_catalogHasBeenSet =
false;
169 bool m_createdAtHasBeenSet =
false;
172 bool m_createdByHasBeenSet =
false;
175 bool m_engagementIdHasBeenSet =
false;
177 ResourceSnapshotPayload m_payload;
178 bool m_payloadHasBeenSet =
false;
181 bool m_resourceIdHasBeenSet =
false;
184 bool m_resourceSnapshotTemplateNameHasBeenSet =
false;
187 bool m_resourceTypeHasBeenSet =
false;
190 bool m_revisionHasBeenSet =
false;
193 bool m_requestIdHasBeenSet =
false;
GetResourceSnapshotResult & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetResourceSnapshotResult & WithCreatedBy(CreatedByT &&value)
void SetResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT &&value)
void SetRevision(int value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetResourceSnapshotTemplateName() const
GetResourceSnapshotResult & WithCatalog(CatalogT &&value)
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetCatalog() const
const Aws::String & GetArn() const
void SetCatalog(CatalogT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetResourceSnapshotResult & WithResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT &&value)
const Aws::String & GetEngagementId() const
void SetEngagementId(EngagementIdT &&value)
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceSnapshotResult & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
GetResourceSnapshotResult & WithResourceType(ResourceType value)
GetResourceSnapshotResult & WithPayload(PayloadT &&value)
GetResourceSnapshotResult & WithEngagementId(EngagementIdT &&value)
const ResourceSnapshotPayload & GetPayload() const
const Aws::String & GetResourceId() const
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResourceType GetResourceType() const
const Aws::String & GetRequestId() const
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult()=default
void SetRequestId(RequestIdT &&value)
GetResourceSnapshotResult & WithRevision(int value)
void SetResourceType(ResourceType value)
void SetPayload(PayloadT &&value)
GetResourceSnapshotResult & WithResourceId(ResourceIdT &&value)
GetResourceSnapshotResult & WithRequestId(RequestIdT &&value)
void SetCreatedBy(CreatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue