AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GetResourceSnapshotResult.h
1
6#pragma once
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/ResourceType.h>
11#include <aws/partnercentral-selling/model/ResourceSnapshotPayload.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralSelling
27{
28namespace Model
29{
31 {
32 public:
33 AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult() = default;
36
37
39
43 inline const Aws::String& GetCatalog() const { return m_catalog; }
44 template<typename CatalogT = Aws::String>
45 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
46 template<typename CatalogT = Aws::String>
47 GetResourceSnapshotResult& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
49
51
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template<typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
58 template<typename ArnT = Aws::String>
59 GetResourceSnapshotResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
67 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
68 template<typename CreatedByT = Aws::String>
69 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
70 template<typename CreatedByT = Aws::String>
71 GetResourceSnapshotResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
73
75
80 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
81 template<typename CreatedAtT = Aws::Utils::DateTime>
82 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
83 template<typename CreatedAtT = Aws::Utils::DateTime>
84 GetResourceSnapshotResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
86
88
92 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
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>
96 GetResourceSnapshotResult& WithEngagementId(EngagementIdT&& value) { SetEngagementId(std::forward<EngagementIdT>(value)); return *this;}
98
100
104 inline ResourceType GetResourceType() const { return m_resourceType; }
105 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
108
110
114 inline const Aws::String& GetResourceId() const { return m_resourceId; }
115 template<typename ResourceIdT = Aws::String>
116 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
117 template<typename ResourceIdT = Aws::String>
118 GetResourceSnapshotResult& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
120
122
126 inline const Aws::String& GetResourceSnapshotTemplateName() const { return m_resourceSnapshotTemplateName; }
127 template<typename ResourceSnapshotTemplateNameT = Aws::String>
128 void SetResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT&& value) { m_resourceSnapshotTemplateNameHasBeenSet = true; m_resourceSnapshotTemplateName = std::forward<ResourceSnapshotTemplateNameT>(value); }
129 template<typename ResourceSnapshotTemplateNameT = Aws::String>
130 GetResourceSnapshotResult& WithResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT&& value) { SetResourceSnapshotTemplateName(std::forward<ResourceSnapshotTemplateNameT>(value)); return *this;}
132
134
138 inline int GetRevision() const { return m_revision; }
139 inline void SetRevision(int value) { m_revisionHasBeenSet = true; m_revision = value; }
140 inline GetResourceSnapshotResult& WithRevision(int value) { SetRevision(value); return *this;}
142
144
145 inline const ResourceSnapshotPayload& GetPayload() const { return m_payload; }
146 template<typename PayloadT = ResourceSnapshotPayload>
147 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
148 template<typename PayloadT = ResourceSnapshotPayload>
149 GetResourceSnapshotResult& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
151
153
154 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
158 GetResourceSnapshotResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
160 private:
161
162 Aws::String m_catalog;
163 bool m_catalogHasBeenSet = false;
164
165 Aws::String m_arn;
166 bool m_arnHasBeenSet = false;
167
168 Aws::String m_createdBy;
169 bool m_createdByHasBeenSet = false;
170
171 Aws::Utils::DateTime m_createdAt{};
172 bool m_createdAtHasBeenSet = false;
173
174 Aws::String m_engagementId;
175 bool m_engagementIdHasBeenSet = false;
176
177 ResourceType m_resourceType{ResourceType::NOT_SET};
178 bool m_resourceTypeHasBeenSet = false;
179
180 Aws::String m_resourceId;
181 bool m_resourceIdHasBeenSet = false;
182
183 Aws::String m_resourceSnapshotTemplateName;
184 bool m_resourceSnapshotTemplateNameHasBeenSet = false;
185
186 int m_revision{0};
187 bool m_revisionHasBeenSet = false;
188
189 ResourceSnapshotPayload m_payload;
190 bool m_payloadHasBeenSet = false;
191
192 Aws::String m_requestId;
193 bool m_requestIdHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace PartnerCentralSelling
198} // namespace Aws
GetResourceSnapshotResult & WithCreatedAt(CreatedAtT &&value)
GetResourceSnapshotResult & WithCreatedBy(CreatedByT &&value)
void SetResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT &&value)
GetResourceSnapshotResult & WithResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT &&value)
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceSnapshotResult & WithResourceType(ResourceType value)
GetResourceSnapshotResult & WithEngagementId(EngagementIdT &&value)
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotResult()=default
GetResourceSnapshotResult & WithResourceId(ResourceIdT &&value)
GetResourceSnapshotResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue