7#include <aws/core/utils/DateTime.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/CommandInvocationStatus.h>
13#include <aws/ssm/model/CommandPlugin.h>
14#include <aws/ssm/model/NotificationConfig.h>
51 template <
typename CommandIdT = Aws::String>
53 m_commandIdHasBeenSet =
true;
54 m_commandId = std::forward<CommandIdT>(value);
56 template <
typename CommandIdT = Aws::String>
69 template <
typename InstanceIdT = Aws::String>
71 m_instanceIdHasBeenSet =
true;
72 m_instanceId = std::forward<InstanceIdT>(value);
74 template <
typename InstanceIdT = Aws::String>
87 template <
typename InstanceNameT = Aws::String>
89 m_instanceNameHasBeenSet =
true;
90 m_instanceName = std::forward<InstanceNameT>(value);
92 template <
typename InstanceNameT = Aws::String>
106 template <
typename CommentT = Aws::String>
108 m_commentHasBeenSet =
true;
109 m_comment = std::forward<CommentT>(value);
111 template <
typename CommentT = Aws::String>
124 template <
typename DocumentNameT = Aws::String>
126 m_documentNameHasBeenSet =
true;
127 m_documentName = std::forward<DocumentNameT>(value);
129 template <
typename DocumentNameT = Aws::String>
142 template <
typename DocumentVersionT = Aws::String>
144 m_documentVersionHasBeenSet =
true;
145 m_documentVersion = std::forward<DocumentVersionT>(value);
147 template <
typename DocumentVersionT = Aws::String>
160 template <
typename RequestedDateTimeT = Aws::Utils::DateTime>
162 m_requestedDateTimeHasBeenSet =
true;
163 m_requestedDateTime = std::forward<RequestedDateTimeT>(value);
165 template <
typename RequestedDateTimeT = Aws::Utils::DateTime>
179 m_statusHasBeenSet =
true;
228 template <
typename StatusDetailsT = Aws::String>
230 m_statusDetailsHasBeenSet =
true;
231 m_statusDetails = std::forward<StatusDetailsT>(value);
233 template <
typename StatusDetailsT = Aws::String>
246 template <
typename TraceOutputT = Aws::String>
248 m_traceOutputHasBeenSet =
true;
249 m_traceOutput = std::forward<TraceOutputT>(value);
251 template <
typename TraceOutputT = Aws::String>
267 template <
typename StandardOutputUrlT = Aws::String>
269 m_standardOutputUrlHasBeenSet =
true;
270 m_standardOutputUrl = std::forward<StandardOutputUrlT>(value);
272 template <
typename StandardOutputUrlT = Aws::String>
288 template <
typename StandardErrorUrlT = Aws::String>
290 m_standardErrorUrlHasBeenSet =
true;
291 m_standardErrorUrl = std::forward<StandardErrorUrlT>(value);
293 template <
typename StandardErrorUrlT = Aws::String>
306 template <
typename CommandPluginsT = Aws::Vector<CommandPlugin>>
308 m_commandPluginsHasBeenSet =
true;
309 m_commandPlugins = std::forward<CommandPluginsT>(value);
311 template <
typename CommandPluginsT = Aws::Vector<CommandPlugin>>
316 template <
typename CommandPluginsT = CommandPlugin>
318 m_commandPluginsHasBeenSet =
true;
319 m_commandPlugins.emplace_back(std::forward<CommandPluginsT>(value));
333 template <
typename ServiceRoleT = Aws::String>
335 m_serviceRoleHasBeenSet =
true;
336 m_serviceRole = std::forward<ServiceRoleT>(value);
338 template <
typename ServiceRoleT = Aws::String>
352 template <
typename NotificationConfigT = NotificationConfig>
354 m_notificationConfigHasBeenSet =
true;
355 m_notificationConfig = std::forward<NotificationConfigT>(value);
357 template <
typename NotificationConfigT = NotificationConfig>
371 template <
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
373 m_cloudWatchOutputConfigHasBeenSet =
true;
374 m_cloudWatchOutputConfig = std::forward<CloudWatchOutputConfigT>(value);
376 template <
typename CloudWatchOutputConfigT = CloudWatchOutputConfig>
411 NotificationConfig m_notificationConfig;
413 CloudWatchOutputConfig m_cloudWatchOutputConfig;
414 bool m_commandIdHasBeenSet =
false;
415 bool m_instanceIdHasBeenSet =
false;
416 bool m_instanceNameHasBeenSet =
false;
417 bool m_commentHasBeenSet =
false;
418 bool m_documentNameHasBeenSet =
false;
419 bool m_documentVersionHasBeenSet =
false;
420 bool m_requestedDateTimeHasBeenSet =
false;
421 bool m_statusHasBeenSet =
false;
422 bool m_statusDetailsHasBeenSet =
false;
423 bool m_traceOutputHasBeenSet =
false;
424 bool m_standardOutputUrlHasBeenSet =
false;
425 bool m_standardErrorUrlHasBeenSet =
false;
426 bool m_commandPluginsHasBeenSet =
false;
427 bool m_serviceRoleHasBeenSet =
false;
428 bool m_notificationConfigHasBeenSet =
false;
429 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