7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/CloudWatchOutputConfig.h>
12#include <aws/ssm/model/DocumentHashType.h>
13#include <aws/ssm/model/NotificationConfig.h>
64 template <
typename CommentT = Aws::String>
66 m_commentHasBeenSet =
true;
67 m_comment = std::forward<CommentT>(value);
69 template <
typename CommentT = Aws::String>
80 template <
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
82 m_cloudWatchOutputConfigHasBeenSet =
true;
83 m_cloudWatchOutputConfig = std::forward<CloudWatchOutputConfigT>(value);
85 template <
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
99 template <
typename DocumentHashT = Aws::String>
101 m_documentHashHasBeenSet =
true;
102 m_documentHash = std::forward<DocumentHashT>(value);
104 template <
typename DocumentHashT = Aws::String>
118 m_documentHashTypeHasBeenSet =
true;
119 m_documentHashType = value;
140 template <
typename DocumentVersionT = Aws::String>
142 m_documentVersionHasBeenSet =
true;
143 m_documentVersion = std::forward<DocumentVersionT>(value);
145 template <
typename DocumentVersionT = Aws::String>
159 template <
typename NotificationConfigT = NotificationConfig>
161 m_notificationConfigHasBeenSet =
true;
162 m_notificationConfig = std::forward<NotificationConfigT>(value);
164 template <
typename NotificationConfigT = NotificationConfig>
177 template <
typename OutputS3BucketNameT = Aws::String>
179 m_outputS3BucketNameHasBeenSet =
true;
180 m_outputS3BucketName = std::forward<OutputS3BucketNameT>(value);
182 template <
typename OutputS3BucketNameT = Aws::String>
195 template <
typename OutputS3KeyPrefixT = Aws::String>
197 m_outputS3KeyPrefixHasBeenSet =
true;
198 m_outputS3KeyPrefix = std::forward<OutputS3KeyPrefixT>(value);
200 template <
typename OutputS3KeyPrefixT = Aws::String>
213 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
215 m_parametersHasBeenSet =
true;
216 m_parameters = std::forward<ParametersT>(value);
218 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
223 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
225 m_parametersHasBeenSet =
true;
226 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
249 template <
typename ServiceRoleArnT = Aws::String>
251 m_serviceRoleArnHasBeenSet =
true;
252 m_serviceRoleArn = std::forward<ServiceRoleArnT>(value);
254 template <
typename ServiceRoleArnT = Aws::String>
269 m_timeoutSecondsHasBeenSet =
true;
270 m_timeoutSeconds = value;
288 NotificationConfig m_notificationConfig;
298 int m_timeoutSeconds{0};
299 bool m_commentHasBeenSet =
false;
300 bool m_cloudWatchOutputConfigHasBeenSet =
false;
301 bool m_documentHashHasBeenSet =
false;
302 bool m_documentHashTypeHasBeenSet =
false;
303 bool m_documentVersionHasBeenSet =
false;
304 bool m_notificationConfigHasBeenSet =
false;
305 bool m_outputS3BucketNameHasBeenSet =
false;
306 bool m_outputS3KeyPrefixHasBeenSet =
false;
307 bool m_parametersHasBeenSet =
false;
308 bool m_serviceRoleArnHasBeenSet =
false;
309 bool m_timeoutSecondsHasBeenSet =
false;
void SetParameters(ParametersT &&value)
bool ParametersHasBeenSet() const
const CloudWatchOutputConfig & GetCloudWatchOutputConfig() const
void SetDocumentHash(DocumentHashT &&value)
bool CommentHasBeenSet() const
bool DocumentHashHasBeenSet() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
void SetOutputS3KeyPrefix(OutputS3KeyPrefixT &&value)
MaintenanceWindowRunCommandParameters & WithDocumentHash(DocumentHashT &&value)
const Aws::String & GetComment() const
const Aws::String & GetDocumentHash() const
bool OutputS3KeyPrefixHasBeenSet() const
void SetDocumentHashType(DocumentHashType value)
bool OutputS3BucketNameHasBeenSet() const
const Aws::String & GetDocumentVersion() const
void SetOutputS3BucketName(OutputS3BucketNameT &&value)
bool ServiceRoleArnHasBeenSet() const
AWS_SSM_API MaintenanceWindowRunCommandParameters(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOutputS3BucketName() const
void SetNotificationConfig(NotificationConfigT &&value)
AWS_SSM_API MaintenanceWindowRunCommandParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowRunCommandParameters & WithServiceRoleArn(ServiceRoleArnT &&value)
const NotificationConfig & GetNotificationConfig() const
MaintenanceWindowRunCommandParameters & WithParameters(ParametersT &&value)
bool DocumentHashTypeHasBeenSet() const
AWS_SSM_API MaintenanceWindowRunCommandParameters()=default
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDocumentVersion(DocumentVersionT &&value)
MaintenanceWindowRunCommandParameters & WithNotificationConfig(NotificationConfigT &&value)
MaintenanceWindowRunCommandParameters & WithCloudWatchOutputConfig(CloudWatchOutputConfigT &&value)
void SetComment(CommentT &&value)
void SetCloudWatchOutputConfig(CloudWatchOutputConfigT &&value)
DocumentHashType GetDocumentHashType() const
bool DocumentVersionHasBeenSet() const
void SetServiceRoleArn(ServiceRoleArnT &&value)
bool NotificationConfigHasBeenSet() const
void SetTimeoutSeconds(int value)
MaintenanceWindowRunCommandParameters & WithDocumentHashType(DocumentHashType value)
MaintenanceWindowRunCommandParameters & WithOutputS3BucketName(OutputS3BucketNameT &&value)
bool CloudWatchOutputConfigHasBeenSet() const
const Aws::String & GetOutputS3KeyPrefix() const
MaintenanceWindowRunCommandParameters & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
bool TimeoutSecondsHasBeenSet() const
MaintenanceWindowRunCommandParameters & WithComment(CommentT &&value)
int GetTimeoutSeconds() const
MaintenanceWindowRunCommandParameters & WithDocumentVersion(DocumentVersionT &&value)
const Aws::String & GetServiceRoleArn() const
MaintenanceWindowRunCommandParameters & WithTimeoutSeconds(int value)
MaintenanceWindowRunCommandParameters & WithOutputS3KeyPrefix(OutputS3KeyPrefixT &&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
Aws::Utils::Json::JsonValue JsonValue