AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeJobTemplateResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iot/model/PresignedUrlConfig.h>
11#include <aws/iot/model/JobExecutionsRolloutConfig.h>
12#include <aws/iot/model/AbortConfig.h>
13#include <aws/iot/model/TimeoutConfig.h>
14#include <aws/iot/model/JobExecutionsRetryConfig.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/iot/model/MaintenanceWindow.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace IoT
32{
33namespace Model
34{
36 {
37 public:
41
42
44
47 inline const Aws::String& GetJobTemplateArn() const{ return m_jobTemplateArn; }
48 inline void SetJobTemplateArn(const Aws::String& value) { m_jobTemplateArn = value; }
49 inline void SetJobTemplateArn(Aws::String&& value) { m_jobTemplateArn = std::move(value); }
50 inline void SetJobTemplateArn(const char* value) { m_jobTemplateArn.assign(value); }
51 inline DescribeJobTemplateResult& WithJobTemplateArn(const Aws::String& value) { SetJobTemplateArn(value); return *this;}
52 inline DescribeJobTemplateResult& WithJobTemplateArn(Aws::String&& value) { SetJobTemplateArn(std::move(value)); return *this;}
53 inline DescribeJobTemplateResult& WithJobTemplateArn(const char* value) { SetJobTemplateArn(value); return *this;}
55
57
60 inline const Aws::String& GetJobTemplateId() const{ return m_jobTemplateId; }
61 inline void SetJobTemplateId(const Aws::String& value) { m_jobTemplateId = value; }
62 inline void SetJobTemplateId(Aws::String&& value) { m_jobTemplateId = std::move(value); }
63 inline void SetJobTemplateId(const char* value) { m_jobTemplateId.assign(value); }
64 inline DescribeJobTemplateResult& WithJobTemplateId(const Aws::String& value) { SetJobTemplateId(value); return *this;}
65 inline DescribeJobTemplateResult& WithJobTemplateId(Aws::String&& value) { SetJobTemplateId(std::move(value)); return *this;}
66 inline DescribeJobTemplateResult& WithJobTemplateId(const char* value) { SetJobTemplateId(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline void SetDescription(const Aws::String& value) { m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_description.assign(value); }
77 inline DescribeJobTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline DescribeJobTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline DescribeJobTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const Aws::String& GetDocumentSource() const{ return m_documentSource; }
87 inline void SetDocumentSource(const Aws::String& value) { m_documentSource = value; }
88 inline void SetDocumentSource(Aws::String&& value) { m_documentSource = std::move(value); }
89 inline void SetDocumentSource(const char* value) { m_documentSource.assign(value); }
90 inline DescribeJobTemplateResult& WithDocumentSource(const Aws::String& value) { SetDocumentSource(value); return *this;}
91 inline DescribeJobTemplateResult& WithDocumentSource(Aws::String&& value) { SetDocumentSource(std::move(value)); return *this;}
92 inline DescribeJobTemplateResult& WithDocumentSource(const char* value) { SetDocumentSource(value); return *this;}
94
96
99 inline const Aws::String& GetDocument() const{ return m_document; }
100 inline void SetDocument(const Aws::String& value) { m_document = value; }
101 inline void SetDocument(Aws::String&& value) { m_document = std::move(value); }
102 inline void SetDocument(const char* value) { m_document.assign(value); }
103 inline DescribeJobTemplateResult& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
104 inline DescribeJobTemplateResult& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;}
105 inline DescribeJobTemplateResult& WithDocument(const char* value) { SetDocument(value); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
113 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
114 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
115 inline DescribeJobTemplateResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
116 inline DescribeJobTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
118
120
121 inline const PresignedUrlConfig& GetPresignedUrlConfig() const{ return m_presignedUrlConfig; }
122 inline void SetPresignedUrlConfig(const PresignedUrlConfig& value) { m_presignedUrlConfig = value; }
123 inline void SetPresignedUrlConfig(PresignedUrlConfig&& value) { m_presignedUrlConfig = std::move(value); }
127
129
130 inline const JobExecutionsRolloutConfig& GetJobExecutionsRolloutConfig() const{ return m_jobExecutionsRolloutConfig; }
131 inline void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig& value) { m_jobExecutionsRolloutConfig = value; }
132 inline void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig&& value) { m_jobExecutionsRolloutConfig = std::move(value); }
136
138
139 inline const AbortConfig& GetAbortConfig() const{ return m_abortConfig; }
140 inline void SetAbortConfig(const AbortConfig& value) { m_abortConfig = value; }
141 inline void SetAbortConfig(AbortConfig&& value) { m_abortConfig = std::move(value); }
142 inline DescribeJobTemplateResult& WithAbortConfig(const AbortConfig& value) { SetAbortConfig(value); return *this;}
143 inline DescribeJobTemplateResult& WithAbortConfig(AbortConfig&& value) { SetAbortConfig(std::move(value)); return *this;}
145
147
148 inline const TimeoutConfig& GetTimeoutConfig() const{ return m_timeoutConfig; }
149 inline void SetTimeoutConfig(const TimeoutConfig& value) { m_timeoutConfig = value; }
150 inline void SetTimeoutConfig(TimeoutConfig&& value) { m_timeoutConfig = std::move(value); }
151 inline DescribeJobTemplateResult& WithTimeoutConfig(const TimeoutConfig& value) { SetTimeoutConfig(value); return *this;}
152 inline DescribeJobTemplateResult& WithTimeoutConfig(TimeoutConfig&& value) { SetTimeoutConfig(std::move(value)); return *this;}
154
156
160 inline const JobExecutionsRetryConfig& GetJobExecutionsRetryConfig() const{ return m_jobExecutionsRetryConfig; }
161 inline void SetJobExecutionsRetryConfig(const JobExecutionsRetryConfig& value) { m_jobExecutionsRetryConfig = value; }
162 inline void SetJobExecutionsRetryConfig(JobExecutionsRetryConfig&& value) { m_jobExecutionsRetryConfig = std::move(value); }
166
168
172 inline const Aws::Vector<MaintenanceWindow>& GetMaintenanceWindows() const{ return m_maintenanceWindows; }
173 inline void SetMaintenanceWindows(const Aws::Vector<MaintenanceWindow>& value) { m_maintenanceWindows = value; }
174 inline void SetMaintenanceWindows(Aws::Vector<MaintenanceWindow>&& value) { m_maintenanceWindows = std::move(value); }
177 inline DescribeJobTemplateResult& AddMaintenanceWindows(const MaintenanceWindow& value) { m_maintenanceWindows.push_back(value); return *this; }
178 inline DescribeJobTemplateResult& AddMaintenanceWindows(MaintenanceWindow&& value) { m_maintenanceWindows.push_back(std::move(value)); return *this; }
180
182
191 inline const Aws::Vector<Aws::String>& GetDestinationPackageVersions() const{ return m_destinationPackageVersions; }
192 inline void SetDestinationPackageVersions(const Aws::Vector<Aws::String>& value) { m_destinationPackageVersions = value; }
193 inline void SetDestinationPackageVersions(Aws::Vector<Aws::String>&& value) { m_destinationPackageVersions = std::move(value); }
196 inline DescribeJobTemplateResult& AddDestinationPackageVersions(const Aws::String& value) { m_destinationPackageVersions.push_back(value); return *this; }
197 inline DescribeJobTemplateResult& AddDestinationPackageVersions(Aws::String&& value) { m_destinationPackageVersions.push_back(std::move(value)); return *this; }
198 inline DescribeJobTemplateResult& AddDestinationPackageVersions(const char* value) { m_destinationPackageVersions.push_back(value); return *this; }
200
202
203 inline const Aws::String& GetRequestId() const{ return m_requestId; }
204 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
205 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
206 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
207 inline DescribeJobTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
208 inline DescribeJobTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
209 inline DescribeJobTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
211 private:
212
213 Aws::String m_jobTemplateArn;
214
215 Aws::String m_jobTemplateId;
216
217 Aws::String m_description;
218
219 Aws::String m_documentSource;
220
221 Aws::String m_document;
222
223 Aws::Utils::DateTime m_createdAt;
224
225 PresignedUrlConfig m_presignedUrlConfig;
226
227 JobExecutionsRolloutConfig m_jobExecutionsRolloutConfig;
228
229 AbortConfig m_abortConfig;
230
231 TimeoutConfig m_timeoutConfig;
232
233 JobExecutionsRetryConfig m_jobExecutionsRetryConfig;
234
235 Aws::Vector<MaintenanceWindow> m_maintenanceWindows;
236
237 Aws::Vector<Aws::String> m_destinationPackageVersions;
238
239 Aws::String m_requestId;
240 };
241
242} // namespace Model
243} // namespace IoT
244} // namespace Aws
DescribeJobTemplateResult & WithDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
DescribeJobTemplateResult & AddDestinationPackageVersions(const Aws::String &value)
const PresignedUrlConfig & GetPresignedUrlConfig() const
DescribeJobTemplateResult & WithAbortConfig(AbortConfig &&value)
void SetMaintenanceWindows(Aws::Vector< MaintenanceWindow > &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
DescribeJobTemplateResult & WithJobTemplateId(Aws::String &&value)
DescribeJobTemplateResult & WithJobTemplateId(const char *value)
DescribeJobTemplateResult & AddDestinationPackageVersions(const char *value)
DescribeJobTemplateResult & WithDocument(const Aws::String &value)
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
DescribeJobTemplateResult & WithTimeoutConfig(const TimeoutConfig &value)
DescribeJobTemplateResult & WithPresignedUrlConfig(PresignedUrlConfig &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DescribeJobTemplateResult & WithJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
DescribeJobTemplateResult & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
DescribeJobTemplateResult & WithMaintenanceWindows(const Aws::Vector< MaintenanceWindow > &value)
const Aws::Vector< Aws::String > & GetDestinationPackageVersions() const
DescribeJobTemplateResult & WithDocumentSource(const char *value)
DescribeJobTemplateResult & WithPresignedUrlConfig(const PresignedUrlConfig &value)
DescribeJobTemplateResult & WithJobTemplateId(const Aws::String &value)
void SetDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
void SetJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
DescribeJobTemplateResult & WithDocument(const char *value)
DescribeJobTemplateResult & WithDescription(const Aws::String &value)
AWS_IOT_API DescribeJobTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< MaintenanceWindow > & GetMaintenanceWindows() const
DescribeJobTemplateResult & WithDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
void SetPresignedUrlConfig(PresignedUrlConfig &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DescribeJobTemplateResult & WithJobTemplateArn(Aws::String &&value)
DescribeJobTemplateResult & WithJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
DescribeJobTemplateResult & WithRequestId(const char *value)
DescribeJobTemplateResult & WithRequestId(const Aws::String &value)
DescribeJobTemplateResult & WithDocument(Aws::String &&value)
DescribeJobTemplateResult & AddMaintenanceWindows(const MaintenanceWindow &value)
DescribeJobTemplateResult & AddMaintenanceWindows(MaintenanceWindow &&value)
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
DescribeJobTemplateResult & WithDescription(Aws::String &&value)
DescribeJobTemplateResult & WithJobTemplateArn(const char *value)
DescribeJobTemplateResult & WithTimeoutConfig(TimeoutConfig &&value)
DescribeJobTemplateResult & WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
DescribeJobTemplateResult & WithDocumentSource(const Aws::String &value)
DescribeJobTemplateResult & AddDestinationPackageVersions(Aws::String &&value)
void SetDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
DescribeJobTemplateResult & WithAbortConfig(const AbortConfig &value)
DescribeJobTemplateResult & WithDocumentSource(Aws::String &&value)
AWS_IOT_API DescribeJobTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeJobTemplateResult & WithDescription(const char *value)
DescribeJobTemplateResult & WithRequestId(Aws::String &&value)
void SetPresignedUrlConfig(const PresignedUrlConfig &value)
DescribeJobTemplateResult & WithMaintenanceWindows(Aws::Vector< MaintenanceWindow > &&value)
DescribeJobTemplateResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
DescribeJobTemplateResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetMaintenanceWindows(const Aws::Vector< MaintenanceWindow > &value)
const JobExecutionsRetryConfig & GetJobExecutionsRetryConfig() const
DescribeJobTemplateResult & WithJobTemplateArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue