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>
70 template<
typename CommentT = Aws::String>
71 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
72 template<
typename CommentT = Aws::String>
80 template<
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
81 void SetCloudWatchOutputConfig(CloudWatchOutputConfigT&& value) { m_cloudWatchOutputConfigHasBeenSet =
true; m_cloudWatchOutputConfig = std::forward<CloudWatchOutputConfigT>(value); }
82 template<
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
93 template<
typename DocumentHashT = Aws::String>
94 void SetDocumentHash(DocumentHashT&& value) { m_documentHashHasBeenSet =
true; m_documentHash = std::forward<DocumentHashT>(value); }
95 template<
typename DocumentHashT = Aws::String>
122 template<
typename DocumentVersionT = Aws::String>
123 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
124 template<
typename DocumentVersionT = Aws::String>
135 template<
typename NotificationConfigT = NotificationConfig>
136 void SetNotificationConfig(NotificationConfigT&& value) { m_notificationConfigHasBeenSet =
true; m_notificationConfig = std::forward<NotificationConfigT>(value); }
137 template<
typename NotificationConfigT = NotificationConfig>
147 template<
typename OutputS3BucketNameT = Aws::String>
148 void SetOutputS3BucketName(OutputS3BucketNameT&& value) { m_outputS3BucketNameHasBeenSet =
true; m_outputS3BucketName = std::forward<OutputS3BucketNameT>(value); }
149 template<
typename OutputS3BucketNameT = Aws::String>
159 template<
typename OutputS3KeyPrefixT = Aws::String>
160 void SetOutputS3KeyPrefix(OutputS3KeyPrefixT&& value) { m_outputS3KeyPrefixHasBeenSet =
true; m_outputS3KeyPrefix = std::forward<OutputS3KeyPrefixT>(value); }
161 template<
typename OutputS3KeyPrefixT = Aws::String>
171 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
172 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
173 template<
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
175 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
177 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
199 template<
typename ServiceRoleArnT = Aws::String>
200 void SetServiceRoleArn(ServiceRoleArnT&& value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn = std::forward<ServiceRoleArnT>(value); }
201 template<
typename ServiceRoleArnT = Aws::String>
212 inline void SetTimeoutSeconds(
int value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
218 bool m_commentHasBeenSet =
false;
221 bool m_cloudWatchOutputConfigHasBeenSet =
false;
224 bool m_documentHashHasBeenSet =
false;
227 bool m_documentHashTypeHasBeenSet =
false;
230 bool m_documentVersionHasBeenSet =
false;
232 NotificationConfig m_notificationConfig;
233 bool m_notificationConfigHasBeenSet =
false;
236 bool m_outputS3BucketNameHasBeenSet =
false;
239 bool m_outputS3KeyPrefixHasBeenSet =
false;
242 bool m_parametersHasBeenSet =
false;
245 bool m_serviceRoleArnHasBeenSet =
false;
247 int m_timeoutSeconds{0};
248 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