AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetResourceSnapshotJobResult.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/ResourceSnapshotJobStatus.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 GetResourceSnapshotJobResult() = default;
36
37
39
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 GetResourceSnapshotJobResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
56 inline const Aws::String& GetCatalog() const { return m_catalog; }
57 template<typename CatalogT = Aws::String>
58 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
59 template<typename CatalogT = Aws::String>
60 GetResourceSnapshotJobResult& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
62
64
68 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
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>
72 GetResourceSnapshotJobResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
74
76
80 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
81 template<typename EngagementIdT = Aws::String>
82 void SetEngagementId(EngagementIdT&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::forward<EngagementIdT>(value); }
83 template<typename EngagementIdT = Aws::String>
84 GetResourceSnapshotJobResult& WithEngagementId(EngagementIdT&& value) { SetEngagementId(std::forward<EngagementIdT>(value)); return *this;}
86
88
92 inline const Aws::String& GetId() const { return m_id; }
93 template<typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
95 template<typename IdT = Aws::String>
96 GetResourceSnapshotJobResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
98
100
105 inline const Aws::String& GetLastFailure() const { return m_lastFailure; }
106 template<typename LastFailureT = Aws::String>
107 void SetLastFailure(LastFailureT&& value) { m_lastFailureHasBeenSet = true; m_lastFailure = std::forward<LastFailureT>(value); }
108 template<typename LastFailureT = Aws::String>
109 GetResourceSnapshotJobResult& WithLastFailure(LastFailureT&& value) { SetLastFailure(std::forward<LastFailureT>(value)); return *this;}
111
113
117 inline const Aws::Utils::DateTime& GetLastSuccessfulExecutionDate() const { return m_lastSuccessfulExecutionDate; }
118 template<typename LastSuccessfulExecutionDateT = Aws::Utils::DateTime>
119 void SetLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT&& value) { m_lastSuccessfulExecutionDateHasBeenSet = true; m_lastSuccessfulExecutionDate = std::forward<LastSuccessfulExecutionDateT>(value); }
120 template<typename LastSuccessfulExecutionDateT = Aws::Utils::DateTime>
121 GetResourceSnapshotJobResult& WithLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT&& value) { SetLastSuccessfulExecutionDate(std::forward<LastSuccessfulExecutionDateT>(value)); return *this;}
123
125
129 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
130 template<typename ResourceArnT = Aws::String>
131 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
132 template<typename ResourceArnT = Aws::String>
133 GetResourceSnapshotJobResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
135
137
141 inline const Aws::String& GetResourceId() const { return m_resourceId; }
142 template<typename ResourceIdT = Aws::String>
143 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
144 template<typename ResourceIdT = Aws::String>
145 GetResourceSnapshotJobResult& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
147
149
153 inline const Aws::String& GetResourceSnapshotTemplateName() const { return m_resourceSnapshotTemplateName; }
154 template<typename ResourceSnapshotTemplateNameT = Aws::String>
155 void SetResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT&& value) { m_resourceSnapshotTemplateNameHasBeenSet = true; m_resourceSnapshotTemplateName = std::forward<ResourceSnapshotTemplateNameT>(value); }
156 template<typename ResourceSnapshotTemplateNameT = Aws::String>
157 GetResourceSnapshotJobResult& WithResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT&& value) { SetResourceSnapshotTemplateName(std::forward<ResourceSnapshotTemplateNameT>(value)); return *this;}
159
161
165 inline ResourceType GetResourceType() const { return m_resourceType; }
166 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
169
171
176 inline ResourceSnapshotJobStatus GetStatus() const { return m_status; }
177 inline void SetStatus(ResourceSnapshotJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template<typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
186 template<typename RequestIdT = Aws::String>
187 GetResourceSnapshotJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
189 private:
190
191 Aws::String m_arn;
192 bool m_arnHasBeenSet = false;
193
194 Aws::String m_catalog;
195 bool m_catalogHasBeenSet = false;
196
197 Aws::Utils::DateTime m_createdAt{};
198 bool m_createdAtHasBeenSet = false;
199
200 Aws::String m_engagementId;
201 bool m_engagementIdHasBeenSet = false;
202
203 Aws::String m_id;
204 bool m_idHasBeenSet = false;
205
206 Aws::String m_lastFailure;
207 bool m_lastFailureHasBeenSet = false;
208
209 Aws::Utils::DateTime m_lastSuccessfulExecutionDate{};
210 bool m_lastSuccessfulExecutionDateHasBeenSet = false;
211
212 Aws::String m_resourceArn;
213 bool m_resourceArnHasBeenSet = false;
214
215 Aws::String m_resourceId;
216 bool m_resourceIdHasBeenSet = false;
217
218 Aws::String m_resourceSnapshotTemplateName;
219 bool m_resourceSnapshotTemplateNameHasBeenSet = false;
220
221 ResourceType m_resourceType{ResourceType::NOT_SET};
222 bool m_resourceTypeHasBeenSet = false;
223
225 bool m_statusHasBeenSet = false;
226
227 Aws::String m_requestId;
228 bool m_requestIdHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace PartnerCentralSelling
233} // namespace Aws
GetResourceSnapshotJobResult & WithResourceId(ResourceIdT &&value)
GetResourceSnapshotJobResult & WithResourceSnapshotTemplateName(ResourceSnapshotTemplateNameT &&value)
GetResourceSnapshotJobResult & WithCreatedAt(CreatedAtT &&value)
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceSnapshotJobResult & WithRequestId(RequestIdT &&value)
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceSnapshotJobResult & WithResourceArn(ResourceArnT &&value)
GetResourceSnapshotJobResult & WithEngagementId(EngagementIdT &&value)
GetResourceSnapshotJobResult & WithLastSuccessfulExecutionDate(LastSuccessfulExecutionDateT &&value)
GetResourceSnapshotJobResult & WithStatus(ResourceSnapshotJobStatus value)
AWS_PARTNERCENTRALSELLING_API GetResourceSnapshotJobResult()=default
GetResourceSnapshotJobResult & WithResourceType(ResourceType value)
GetResourceSnapshotJobResult & WithLastFailure(LastFailureT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue