AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceWindowRunCommandParameters.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/CloudWatchOutputConfig.h>
10#include <aws/ssm/model/DocumentHashType.h>
11#include <aws/ssm/model/NotificationConfig.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SSM
27{
28namespace Model
29{
30
56 {
57 public:
62
63
65
68 inline const Aws::String& GetComment() const{ return m_comment; }
69 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
70 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
71 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
72 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
73 inline MaintenanceWindowRunCommandParameters& WithComment(const Aws::String& value) { SetComment(value); return *this;}
74 inline MaintenanceWindowRunCommandParameters& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
75 inline MaintenanceWindowRunCommandParameters& WithComment(const char* value) { SetComment(value); return *this;}
77
79
80 inline const CloudWatchOutputConfig& GetCloudWatchOutputConfig() const{ return m_cloudWatchOutputConfig; }
81 inline bool CloudWatchOutputConfigHasBeenSet() const { return m_cloudWatchOutputConfigHasBeenSet; }
82 inline void SetCloudWatchOutputConfig(const CloudWatchOutputConfig& value) { m_cloudWatchOutputConfigHasBeenSet = true; m_cloudWatchOutputConfig = value; }
83 inline void SetCloudWatchOutputConfig(CloudWatchOutputConfig&& value) { m_cloudWatchOutputConfigHasBeenSet = true; m_cloudWatchOutputConfig = std::move(value); }
87
89
93 inline const Aws::String& GetDocumentHash() const{ return m_documentHash; }
94 inline bool DocumentHashHasBeenSet() const { return m_documentHashHasBeenSet; }
95 inline void SetDocumentHash(const Aws::String& value) { m_documentHashHasBeenSet = true; m_documentHash = value; }
96 inline void SetDocumentHash(Aws::String&& value) { m_documentHashHasBeenSet = true; m_documentHash = std::move(value); }
97 inline void SetDocumentHash(const char* value) { m_documentHashHasBeenSet = true; m_documentHash.assign(value); }
99 inline MaintenanceWindowRunCommandParameters& WithDocumentHash(Aws::String&& value) { SetDocumentHash(std::move(value)); return *this;}
100 inline MaintenanceWindowRunCommandParameters& WithDocumentHash(const char* value) { SetDocumentHash(value); return *this;}
102
104
107 inline const DocumentHashType& GetDocumentHashType() const{ return m_documentHashType; }
108 inline bool DocumentHashTypeHasBeenSet() const { return m_documentHashTypeHasBeenSet; }
109 inline void SetDocumentHashType(const DocumentHashType& value) { m_documentHashTypeHasBeenSet = true; m_documentHashType = value; }
110 inline void SetDocumentHashType(DocumentHashType&& value) { m_documentHashTypeHasBeenSet = true; m_documentHashType = std::move(value); }
114
116
126 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
127 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
128 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
129 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
130 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
133 inline MaintenanceWindowRunCommandParameters& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
135
137
141 inline const NotificationConfig& GetNotificationConfig() const{ return m_notificationConfig; }
142 inline bool NotificationConfigHasBeenSet() const { return m_notificationConfigHasBeenSet; }
143 inline void SetNotificationConfig(const NotificationConfig& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = value; }
144 inline void SetNotificationConfig(NotificationConfig&& value) { m_notificationConfigHasBeenSet = true; m_notificationConfig = std::move(value); }
148
150
153 inline const Aws::String& GetOutputS3BucketName() const{ return m_outputS3BucketName; }
154 inline bool OutputS3BucketNameHasBeenSet() const { return m_outputS3BucketNameHasBeenSet; }
155 inline void SetOutputS3BucketName(const Aws::String& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = value; }
156 inline void SetOutputS3BucketName(Aws::String&& value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName = std::move(value); }
157 inline void SetOutputS3BucketName(const char* value) { m_outputS3BucketNameHasBeenSet = true; m_outputS3BucketName.assign(value); }
162
164
167 inline const Aws::String& GetOutputS3KeyPrefix() const{ return m_outputS3KeyPrefix; }
168 inline bool OutputS3KeyPrefixHasBeenSet() const { return m_outputS3KeyPrefixHasBeenSet; }
169 inline void SetOutputS3KeyPrefix(const Aws::String& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = value; }
170 inline void SetOutputS3KeyPrefix(Aws::String&& value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix = std::move(value); }
171 inline void SetOutputS3KeyPrefix(const char* value) { m_outputS3KeyPrefixHasBeenSet = true; m_outputS3KeyPrefix.assign(value); }
174 inline MaintenanceWindowRunCommandParameters& WithOutputS3KeyPrefix(const char* value) { SetOutputS3KeyPrefix(value); return *this;}
176
178
181 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const{ return m_parameters; }
182 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
183 inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
184 inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
187 inline MaintenanceWindowRunCommandParameters& AddParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
188 inline MaintenanceWindowRunCommandParameters& AddParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
189 inline MaintenanceWindowRunCommandParameters& AddParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
190 inline MaintenanceWindowRunCommandParameters& AddParameters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
191 inline MaintenanceWindowRunCommandParameters& AddParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
192 inline MaintenanceWindowRunCommandParameters& AddParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
194
196
211 inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
212 inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
213 inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
214 inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); }
215 inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
218 inline MaintenanceWindowRunCommandParameters& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
220
222
226 inline int GetTimeoutSeconds() const{ return m_timeoutSeconds; }
227 inline bool TimeoutSecondsHasBeenSet() const { return m_timeoutSecondsHasBeenSet; }
228 inline void SetTimeoutSeconds(int value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
231 private:
232
233 Aws::String m_comment;
234 bool m_commentHasBeenSet = false;
235
236 CloudWatchOutputConfig m_cloudWatchOutputConfig;
237 bool m_cloudWatchOutputConfigHasBeenSet = false;
238
239 Aws::String m_documentHash;
240 bool m_documentHashHasBeenSet = false;
241
242 DocumentHashType m_documentHashType;
243 bool m_documentHashTypeHasBeenSet = false;
244
245 Aws::String m_documentVersion;
246 bool m_documentVersionHasBeenSet = false;
247
248 NotificationConfig m_notificationConfig;
249 bool m_notificationConfigHasBeenSet = false;
250
251 Aws::String m_outputS3BucketName;
252 bool m_outputS3BucketNameHasBeenSet = false;
253
254 Aws::String m_outputS3KeyPrefix;
255 bool m_outputS3KeyPrefixHasBeenSet = false;
256
258 bool m_parametersHasBeenSet = false;
259
260 Aws::String m_serviceRoleArn;
261 bool m_serviceRoleArnHasBeenSet = false;
262
263 int m_timeoutSeconds;
264 bool m_timeoutSecondsHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace SSM
269} // namespace Aws
MaintenanceWindowRunCommandParameters & WithServiceRoleArn(const char *value)
MaintenanceWindowRunCommandParameters & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
MaintenanceWindowRunCommandParameters & WithDocumentHashType(DocumentHashType &&value)
MaintenanceWindowRunCommandParameters & WithComment(Aws::String &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
MaintenanceWindowRunCommandParameters & WithOutputS3BucketName(const Aws::String &value)
MaintenanceWindowRunCommandParameters & WithCloudWatchOutputConfig(const CloudWatchOutputConfig &value)
MaintenanceWindowRunCommandParameters & WithOutputS3BucketName(Aws::String &&value)
MaintenanceWindowRunCommandParameters & WithNotificationConfig(const NotificationConfig &value)
MaintenanceWindowRunCommandParameters & WithNotificationConfig(NotificationConfig &&value)
MaintenanceWindowRunCommandParameters & WithOutputS3KeyPrefix(const Aws::String &value)
MaintenanceWindowRunCommandParameters & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
AWS_SSM_API MaintenanceWindowRunCommandParameters(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowRunCommandParameters & WithOutputS3KeyPrefix(const char *value)
AWS_SSM_API MaintenanceWindowRunCommandParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowRunCommandParameters & WithServiceRoleArn(Aws::String &&value)
MaintenanceWindowRunCommandParameters & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
MaintenanceWindowRunCommandParameters & WithOutputS3KeyPrefix(Aws::String &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowRunCommandParameters & WithServiceRoleArn(const Aws::String &value)
MaintenanceWindowRunCommandParameters & WithComment(const Aws::String &value)
MaintenanceWindowRunCommandParameters & WithComment(const char *value)
MaintenanceWindowRunCommandParameters & WithDocumentHashType(const DocumentHashType &value)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
MaintenanceWindowRunCommandParameters & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
MaintenanceWindowRunCommandParameters & WithDocumentHash(const char *value)
MaintenanceWindowRunCommandParameters & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
MaintenanceWindowRunCommandParameters & WithDocumentVersion(const Aws::String &value)
MaintenanceWindowRunCommandParameters & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
MaintenanceWindowRunCommandParameters & WithDocumentHash(const Aws::String &value)
MaintenanceWindowRunCommandParameters & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
MaintenanceWindowRunCommandParameters & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
MaintenanceWindowRunCommandParameters & WithDocumentVersion(const char *value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
MaintenanceWindowRunCommandParameters & WithDocumentVersion(Aws::String &&value)
MaintenanceWindowRunCommandParameters & WithCloudWatchOutputConfig(CloudWatchOutputConfig &&value)
MaintenanceWindowRunCommandParameters & WithOutputS3BucketName(const char *value)
MaintenanceWindowRunCommandParameters & WithTimeoutSeconds(int value)
MaintenanceWindowRunCommandParameters & WithDocumentHash(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue