AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CommandPlugin.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/CommandPluginStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SSM_API CommandPlugin();
40
41
43
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline CommandPlugin& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline CommandPlugin& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline CommandPlugin& WithName(const char* value) { SetName(value); return *this;}
59
61
64 inline const CommandPluginStatus& GetStatus() const{ return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(const CommandPluginStatus& value) { m_statusHasBeenSet = true; m_status = value; }
67 inline void SetStatus(CommandPluginStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68 inline CommandPlugin& WithStatus(const CommandPluginStatus& value) { SetStatus(value); return *this;}
69 inline CommandPlugin& WithStatus(CommandPluginStatus&& value) { SetStatus(std::move(value)); return *this;}
71
73
107 inline const Aws::String& GetStatusDetails() const{ return m_statusDetails; }
108 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
109 inline void SetStatusDetails(const Aws::String& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = value; }
110 inline void SetStatusDetails(Aws::String&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::move(value); }
111 inline void SetStatusDetails(const char* value) { m_statusDetailsHasBeenSet = true; m_statusDetails.assign(value); }
112 inline CommandPlugin& WithStatusDetails(const Aws::String& value) { SetStatusDetails(value); return *this;}
113 inline CommandPlugin& WithStatusDetails(Aws::String&& value) { SetStatusDetails(std::move(value)); return *this;}
114 inline CommandPlugin& WithStatusDetails(const char* value) { SetStatusDetails(value); return *this;}
116
118
121 inline int GetResponseCode() const{ return m_responseCode; }
122 inline bool ResponseCodeHasBeenSet() const { return m_responseCodeHasBeenSet; }
123 inline void SetResponseCode(int value) { m_responseCodeHasBeenSet = true; m_responseCode = value; }
124 inline CommandPlugin& WithResponseCode(int value) { SetResponseCode(value); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetResponseStartDateTime() const{ return m_responseStartDateTime; }
132 inline bool ResponseStartDateTimeHasBeenSet() const { return m_responseStartDateTimeHasBeenSet; }
133 inline void SetResponseStartDateTime(const Aws::Utils::DateTime& value) { m_responseStartDateTimeHasBeenSet = true; m_responseStartDateTime = value; }
134 inline void SetResponseStartDateTime(Aws::Utils::DateTime&& value) { m_responseStartDateTimeHasBeenSet = true; m_responseStartDateTime = std::move(value); }
138
140
144 inline const Aws::Utils::DateTime& GetResponseFinishDateTime() const{ return m_responseFinishDateTime; }
145 inline bool ResponseFinishDateTimeHasBeenSet() const { return m_responseFinishDateTimeHasBeenSet; }
146 inline void SetResponseFinishDateTime(const Aws::Utils::DateTime& value) { m_responseFinishDateTimeHasBeenSet = true; m_responseFinishDateTime = value; }
147 inline void SetResponseFinishDateTime(Aws::Utils::DateTime&& value) { m_responseFinishDateTimeHasBeenSet = true; m_responseFinishDateTime = std::move(value); }
151
153
156 inline const Aws::String& GetOutput() const{ return m_output; }
157 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
158 inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
159 inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
160 inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
161 inline CommandPlugin& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
162 inline CommandPlugin& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
163 inline CommandPlugin& WithOutput(const char* value) { SetOutput(value); return *this;}
165
167
172 inline const Aws::String& GetStandardOutputUrl() const{ return m_standardOutputUrl; }
173 inline bool StandardOutputUrlHasBeenSet() const { return m_standardOutputUrlHasBeenSet; }
174 inline void SetStandardOutputUrl(const Aws::String& value) { m_standardOutputUrlHasBeenSet = true; m_standardOutputUrl = value; }
175 inline void SetStandardOutputUrl(Aws::String&& value) { m_standardOutputUrlHasBeenSet = true; m_standardOutputUrl = std::move(value); }
176 inline void SetStandardOutputUrl(const char* value) { m_standardOutputUrlHasBeenSet = true; m_standardOutputUrl.assign(value); }
177 inline CommandPlugin& WithStandardOutputUrl(const Aws::String& value) { SetStandardOutputUrl(value); return *this;}
178 inline CommandPlugin& WithStandardOutputUrl(Aws::String&& value) { SetStandardOutputUrl(std::move(value)); return *this;}
179 inline CommandPlugin& WithStandardOutputUrl(const char* value) { SetStandardOutputUrl(value); return *this;}
181
183
187 inline const Aws::String& GetStandardErrorUrl() const{ return m_standardErrorUrl; }
188 inline bool StandardErrorUrlHasBeenSet() const { return m_standardErrorUrlHasBeenSet; }
189 inline void SetStandardErrorUrl(const Aws::String& value) { m_standardErrorUrlHasBeenSet = true; m_standardErrorUrl = value; }
190 inline void SetStandardErrorUrl(Aws::String&& value) { m_standardErrorUrlHasBeenSet = true; m_standardErrorUrl = std::move(value); }
191 inline void SetStandardErrorUrl(const char* value) { m_standardErrorUrlHasBeenSet = true; m_standardErrorUrl.assign(value); }
192 inline CommandPlugin& WithStandardErrorUrl(const Aws::String& value) { SetStandardErrorUrl(value); return *this;}
193 inline CommandPlugin& WithStandardErrorUrl(Aws::String&& value) { SetStandardErrorUrl(std::move(value)); return *this;}
194 inline CommandPlugin& WithStandardErrorUrl(const char* value) { SetStandardErrorUrl(value); return *this;}
196
198
203 inline const Aws::String& GetOutputS3Region() const{ return m_outputS3Region; }
204 inline bool OutputS3RegionHasBeenSet() const { return m_outputS3RegionHasBeenSet; }
205 inline void SetOutputS3Region(const Aws::String& value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region = value; }
206 inline void SetOutputS3Region(Aws::String&& value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region = std::move(value); }
207 inline void SetOutputS3Region(const char* value) { m_outputS3RegionHasBeenSet = true; m_outputS3Region.assign(value); }
208 inline CommandPlugin& WithOutputS3Region(const Aws::String& value) { SetOutputS3Region(value); return *this;}
209 inline CommandPlugin& WithOutputS3Region(Aws::String&& value) { SetOutputS3Region(std::move(value)); return *this;}
210 inline CommandPlugin& WithOutputS3Region(const char* value) { SetOutputS3Region(value); return *this;}
212
214
224 inline const Aws::String& GetOutputS3BucketName() const{ return m_outputS3BucketName; }
225 inline bool OutputS3BucketNameHasBeenSet() const { return m_outputS3BucketNameHasBeenSet; }
226 inline void SetOutputS3BucketName(const Aws::String& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = value; }
227 inline void SetOutputS3BucketName(Aws::String&& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = std::move(value); }
228 inline void SetOutputS3BucketName(const char* value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName.assign(value); }
229 inline CommandPlugin& WithOutputS3BucketName(const Aws::String& value) { SetOutputS3BucketName(value); return *this;}
230 inline CommandPlugin& WithOutputS3BucketName(Aws::String&& value) { SetOutputS3BucketName(std::move(value)); return *this;}
231 inline CommandPlugin& WithOutputS3BucketName(const char* value) { SetOutputS3BucketName(value); return *this;}
233
235
245 inline const Aws::String& GetOutputS3KeyPrefix() const{ return m_outputS3KeyPrefix; }
246 inline bool OutputS3KeyPrefixHasBeenSet() const { return m_outputS3KeyPrefixHasBeenSet; }
247 inline void SetOutputS3KeyPrefix(const Aws::String& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = value; }
248 inline void SetOutputS3KeyPrefix(Aws::String&& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = std::move(value); }
249 inline void SetOutputS3KeyPrefix(const char* value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix.assign(value); }
250 inline CommandPlugin& WithOutputS3KeyPrefix(const Aws::String& value) { SetOutputS3KeyPrefix(value); return *this;}
251 inline CommandPlugin& WithOutputS3KeyPrefix(Aws::String&& value) { SetOutputS3KeyPrefix(std::move(value)); return *this;}
252 inline CommandPlugin& WithOutputS3KeyPrefix(const char* value) { SetOutputS3KeyPrefix(value); return *this;}
254 private:
255
256 Aws::String m_name;
257 bool m_nameHasBeenSet = false;
258
259 CommandPluginStatus m_status;
260 bool m_statusHasBeenSet = false;
261
262 Aws::String m_statusDetails;
263 bool m_statusDetailsHasBeenSet = false;
264
265 int m_responseCode;
266 bool m_responseCodeHasBeenSet = false;
267
268 Aws::Utils::DateTime m_responseStartDateTime;
269 bool m_responseStartDateTimeHasBeenSet = false;
270
271 Aws::Utils::DateTime m_responseFinishDateTime;
272 bool m_responseFinishDateTimeHasBeenSet = false;
273
274 Aws::String m_output;
275 bool m_outputHasBeenSet = false;
276
277 Aws::String m_standardOutputUrl;
278 bool m_standardOutputUrlHasBeenSet = false;
279
280 Aws::String m_standardErrorUrl;
281 bool m_standardErrorUrlHasBeenSet = false;
282
283 Aws::String m_outputS3Region;
284 bool m_outputS3RegionHasBeenSet = false;
285
286 Aws::String m_outputS3BucketName;
287 bool m_outputS3BucketNameHasBeenSet = false;
288
289 Aws::String m_outputS3KeyPrefix;
290 bool m_outputS3KeyPrefixHasBeenSet = false;
291 };
292
293} // namespace Model
294} // namespace SSM
295} // namespace Aws
void SetName(const char *value)
void SetStandardOutputUrl(const char *value)
CommandPlugin & WithOutputS3Region(const char *value)
CommandPlugin & WithName(const Aws::String &value)
CommandPlugin & WithOutputS3KeyPrefix(const char *value)
void SetStatus(const CommandPluginStatus &value)
void SetResponseFinishDateTime(const Aws::Utils::DateTime &value)
void SetOutput(Aws::String &&value)
void SetOutputS3KeyPrefix(Aws::String &&value)
const Aws::String & GetOutputS3KeyPrefix() const
void SetOutputS3Region(Aws::String &&value)
void SetStatus(CommandPluginStatus &&value)
CommandPlugin & WithStatus(CommandPluginStatus &&value)
void SetStandardErrorUrl(const Aws::String &value)
void SetOutputS3KeyPrefix(const char *value)
void SetStandardErrorUrl(Aws::String &&value)
void SetOutput(const char *value)
CommandPlugin & WithResponseFinishDateTime(const Aws::Utils::DateTime &value)
CommandPlugin & WithStatusDetails(Aws::String &&value)
void SetOutputS3BucketName(const char *value)
bool ResponseFinishDateTimeHasBeenSet() const
CommandPlugin & WithName(const char *value)
const Aws::String & GetStatusDetails() const
void SetResponseStartDateTime(const Aws::Utils::DateTime &value)
CommandPlugin & WithStandardErrorUrl(const Aws::String &value)
void SetOutputS3BucketName(const Aws::String &value)
const Aws::Utils::DateTime & GetResponseStartDateTime() const
CommandPlugin & WithOutputS3BucketName(const Aws::String &value)
const Aws::String & GetStandardErrorUrl() const
CommandPlugin & WithOutputS3KeyPrefix(const Aws::String &value)
CommandPlugin & WithOutput(Aws::String &&value)
const Aws::String & GetName() const
void SetResponseFinishDateTime(Aws::Utils::DateTime &&value)
void SetOutputS3Region(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
CommandPlugin & WithOutputS3Region(Aws::String &&value)
const CommandPluginStatus & GetStatus() const
void SetOutputS3Region(const char *value)
AWS_SSM_API CommandPlugin & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatusDetails(const Aws::String &value)
CommandPlugin & WithStandardErrorUrl(Aws::String &&value)
CommandPlugin & WithStandardOutputUrl(const char *value)
void SetResponseStartDateTime(Aws::Utils::DateTime &&value)
CommandPlugin & WithOutputS3BucketName(Aws::String &&value)
CommandPlugin & WithStatusDetails(const Aws::String &value)
void SetOutputS3BucketName(Aws::String &&value)
const Aws::String & GetOutput() const
bool ResponseStartDateTimeHasBeenSet() const
void SetStandardOutputUrl(const Aws::String &value)
CommandPlugin & WithStandardOutputUrl(Aws::String &&value)
CommandPlugin & WithStatusDetails(const char *value)
CommandPlugin & WithStandardErrorUrl(const char *value)
void SetStatusDetails(const char *value)
CommandPlugin & WithOutputS3Region(const Aws::String &value)
CommandPlugin & WithName(Aws::String &&value)
const Aws::String & GetOutputS3BucketName() const
void SetName(Aws::String &&value)
CommandPlugin & WithOutputS3KeyPrefix(Aws::String &&value)
CommandPlugin & WithOutputS3BucketName(const char *value)
void SetName(const Aws::String &value)
void SetOutputS3KeyPrefix(const Aws::String &value)
CommandPlugin & WithOutput(const char *value)
void SetStatusDetails(Aws::String &&value)
const Aws::String & GetStandardOutputUrl() const
CommandPlugin & WithOutput(const Aws::String &value)
AWS_SSM_API CommandPlugin(Aws::Utils::Json::JsonView jsonValue)
CommandPlugin & WithResponseStartDateTime(Aws::Utils::DateTime &&value)
CommandPlugin & WithResponseStartDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetOutputS3Region() const
CommandPlugin & WithStandardOutputUrl(const Aws::String &value)
void SetOutput(const Aws::String &value)
void SetStandardErrorUrl(const char *value)
void SetStandardOutputUrl(Aws::String &&value)
CommandPlugin & WithStatus(const CommandPluginStatus &value)
CommandPlugin & WithResponseCode(int value)
const Aws::Utils::DateTime & GetResponseFinishDateTime() const
CommandPlugin & WithResponseFinishDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue