7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/CommandInvocationStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ssm/model/NotificationConfig.h>
13#include <aws/ssm/model/CloudWatchOutputConfig.h>
14#include <aws/ssm/model/CommandPlugin.h>
57 template<
typename CommandIdT = Aws::String>
58 void SetCommandId(CommandIdT&& value) { m_commandIdHasBeenSet =
true; m_commandId = std::forward<CommandIdT>(value); }
59 template<
typename CommandIdT = Aws::String>
69 template<
typename InstanceIdT = Aws::String>
70 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
71 template<
typename InstanceIdT = Aws::String>
81 template<
typename InstanceNameT = Aws::String>
82 void SetInstanceName(InstanceNameT&& value) { m_instanceNameHasBeenSet =
true; m_instanceName = std::forward<InstanceNameT>(value); }
83 template<
typename InstanceNameT = Aws::String>
94 template<
typename CommentT = Aws::String>
95 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
96 template<
typename CommentT = Aws::String>
106 template<
typename DocumentNameT = Aws::String>
107 void SetDocumentName(DocumentNameT&& value) { m_documentNameHasBeenSet =
true; m_documentName = std::forward<DocumentNameT>(value); }
108 template<
typename DocumentNameT = Aws::String>
118 template<
typename DocumentVersionT = Aws::String>
119 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet =
true; m_documentVersion = std::forward<DocumentVersionT>(value); }
120 template<
typename DocumentVersionT = Aws::String>
130 template<
typename RequestedDateTimeT = Aws::Utils::DateTime>
131 void SetRequestedDateTime(RequestedDateTimeT&& value) { m_requestedDateTimeHasBeenSet =
true; m_requestedDateTime = std::forward<RequestedDateTimeT>(value); }
132 template<
typename RequestedDateTimeT = Aws::Utils::DateTime>
186 template<
typename StatusDetailsT = Aws::String>
187 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet =
true; m_statusDetails = std::forward<StatusDetailsT>(value); }
188 template<
typename StatusDetailsT = Aws::String>
198 template<
typename TraceOutputT = Aws::String>
199 void SetTraceOutput(TraceOutputT&& value) { m_traceOutputHasBeenSet =
true; m_traceOutput = std::forward<TraceOutputT>(value); }
200 template<
typename TraceOutputT = Aws::String>
213 template<
typename StandardOutputUrlT = Aws::String>
214 void SetStandardOutputUrl(StandardOutputUrlT&& value) { m_standardOutputUrlHasBeenSet =
true; m_standardOutputUrl = std::forward<StandardOutputUrlT>(value); }
215 template<
typename StandardOutputUrlT = Aws::String>
228 template<
typename StandardErrorUrlT = Aws::String>
229 void SetStandardErrorUrl(StandardErrorUrlT&& value) { m_standardErrorUrlHasBeenSet =
true; m_standardErrorUrl = std::forward<StandardErrorUrlT>(value); }
230 template<
typename StandardErrorUrlT = Aws::String>
240 template<
typename CommandPluginsT = Aws::Vector<CommandPlugin>>
241 void SetCommandPlugins(CommandPluginsT&& value) { m_commandPluginsHasBeenSet =
true; m_commandPlugins = std::forward<CommandPluginsT>(value); }
242 template<
typename CommandPluginsT = Aws::Vector<CommandPlugin>>
244 template<
typename CommandPluginsT = CommandPlugin>
245 CommandInvocation&
AddCommandPlugins(CommandPluginsT&& value) { m_commandPluginsHasBeenSet =
true; m_commandPlugins.emplace_back(std::forward<CommandPluginsT>(value));
return *
this; }
257 template<
typename ServiceRoleT = Aws::String>
258 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
259 template<
typename ServiceRoleT = Aws::String>
270 template<
typename NotificationConfigT = NotificationConfig>
271 void SetNotificationConfig(NotificationConfigT&& value) { m_notificationConfigHasBeenSet =
true; m_notificationConfig = std::forward<NotificationConfigT>(value); }
272 template<
typename NotificationConfigT = NotificationConfig>
283 template<
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
284 void SetCloudWatchOutputConfig(CloudWatchOutputConfigT&& value) { m_cloudWatchOutputConfigHasBeenSet =
true; m_cloudWatchOutputConfig = std::forward<CloudWatchOutputConfigT>(value); }
285 template<
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
291 bool m_commandIdHasBeenSet =
false;
294 bool m_instanceIdHasBeenSet =
false;
297 bool m_instanceNameHasBeenSet =
false;
300 bool m_commentHasBeenSet =
false;
303 bool m_documentNameHasBeenSet =
false;
306 bool m_documentVersionHasBeenSet =
false;
309 bool m_requestedDateTimeHasBeenSet =
false;
312 bool m_statusHasBeenSet =
false;
315 bool m_statusDetailsHasBeenSet =
false;
318 bool m_traceOutputHasBeenSet =
false;
321 bool m_standardOutputUrlHasBeenSet =
false;
324 bool m_standardErrorUrlHasBeenSet =
false;
327 bool m_commandPluginsHasBeenSet =
false;
330 bool m_serviceRoleHasBeenSet =
false;
332 NotificationConfig m_notificationConfig;
333 bool m_notificationConfigHasBeenSet =
false;
335 CloudWatchOutputConfig m_cloudWatchOutputConfig;
336 bool m_cloudWatchOutputConfigHasBeenSet =
false;
CommandInvocation & WithRequestedDateTime(RequestedDateTimeT &&value)
const Aws::String & GetDocumentVersion() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool StandardErrorUrlHasBeenSet() const
bool InstanceNameHasBeenSet() const
CommandInvocation & WithCommandId(CommandIdT &&value)
void SetRequestedDateTime(RequestedDateTimeT &&value)
bool CommandPluginsHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetServiceRole(ServiceRoleT &&value)
CommandInvocation & WithStandardOutputUrl(StandardOutputUrlT &&value)
bool StatusHasBeenSet() const
bool CloudWatchOutputConfigHasBeenSet() const
AWS_SSM_API CommandInvocation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCommandId() const
CommandInvocation & AddCommandPlugins(CommandPluginsT &&value)
bool CommandIdHasBeenSet() const
CommandInvocation & WithDocumentVersion(DocumentVersionT &&value)
AWS_SSM_API CommandInvocation()=default
const Aws::Utils::DateTime & GetRequestedDateTime() const
const Aws::String & GetTraceOutput() const
CommandInvocation & WithStandardErrorUrl(StandardErrorUrlT &&value)
const NotificationConfig & GetNotificationConfig() const
const CloudWatchOutputConfig & GetCloudWatchOutputConfig() const
CommandInvocationStatus GetStatus() const
AWS_SSM_API CommandInvocation(Aws::Utils::Json::JsonView jsonValue)
void SetTraceOutput(TraceOutputT &&value)
bool ServiceRoleHasBeenSet() const
void SetComment(CommentT &&value)
const Aws::Vector< CommandPlugin > & GetCommandPlugins() const
void SetCloudWatchOutputConfig(CloudWatchOutputConfigT &&value)
CommandInvocation & WithTraceOutput(TraceOutputT &&value)
bool DocumentVersionHasBeenSet() const
const Aws::String & GetInstanceName() const
bool TraceOutputHasBeenSet() const
const Aws::String & GetServiceRole() const
void SetDocumentName(DocumentNameT &&value)
CommandInvocation & WithCommandPlugins(CommandPluginsT &&value)
void SetStandardErrorUrl(StandardErrorUrlT &&value)
const Aws::String & GetComment() const
CommandInvocation & WithStatus(CommandInvocationStatus value)
bool CommentHasBeenSet() const
void SetStandardOutputUrl(StandardOutputUrlT &&value)
bool NotificationConfigHasBeenSet() const
void SetNotificationConfig(NotificationConfigT &&value)
void SetCommandPlugins(CommandPluginsT &&value)
const Aws::String & GetStandardOutputUrl() const
bool RequestedDateTimeHasBeenSet() const
CommandInvocation & WithDocumentName(DocumentNameT &&value)
CommandInvocation & WithComment(CommentT &&value)
CommandInvocation & WithCloudWatchOutputConfig(CloudWatchOutputConfigT &&value)
bool StatusDetailsHasBeenSet() const
CommandInvocation & WithInstanceId(InstanceIdT &&value)
void SetStatus(CommandInvocationStatus value)
const Aws::String & GetStandardErrorUrl() const
CommandInvocation & WithNotificationConfig(NotificationConfigT &&value)
bool InstanceIdHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
bool DocumentNameHasBeenSet() const
void SetStatusDetails(StatusDetailsT &&value)
void SetInstanceName(InstanceNameT &&value)
void SetDocumentVersion(DocumentVersionT &&value)
CommandInvocation & WithServiceRole(ServiceRoleT &&value)
void SetCommandId(CommandIdT &&value)
CommandInvocation & WithStatusDetails(StatusDetailsT &&value)
CommandInvocation & WithInstanceName(InstanceNameT &&value)
const Aws::String & GetDocumentName() const
const Aws::String & GetStatusDetails() const
bool StandardOutputUrlHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue