7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename CommandIdT = Aws::String>
47 void SetCommandId(CommandIdT&& value) { m_commandIdHasBeenSet =
true; m_commandId = std::forward<CommandIdT>(value); }
48 template<
typename CommandIdT = Aws::String>
58 template<
typename InstanceIdT = Aws::String>
59 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
60 template<
typename InstanceIdT = Aws::String>
70 template<
typename DeploymentIdT = Aws::String>
71 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet =
true; m_deploymentId = std::forward<DeploymentIdT>(value); }
72 template<
typename DeploymentIdT = Aws::String>
82 template<
typename CreatedAtT = Aws::String>
83 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
84 template<
typename CreatedAtT = Aws::String>
94 template<
typename AcknowledgedAtT = Aws::String>
95 void SetAcknowledgedAt(AcknowledgedAtT&& value) { m_acknowledgedAtHasBeenSet =
true; m_acknowledgedAt = std::forward<AcknowledgedAtT>(value); }
96 template<
typename AcknowledgedAtT = Aws::String>
106 template<
typename CompletedAtT = Aws::String>
107 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet =
true; m_completedAt = std::forward<CompletedAtT>(value); }
108 template<
typename CompletedAtT = Aws::String>
119 template<
typename StatusT = Aws::String>
120 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
121 template<
typename StatusT = Aws::String>
131 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
141 template<
typename LogUrlT = Aws::String>
142 void SetLogUrl(LogUrlT&& value) { m_logUrlHasBeenSet =
true; m_logUrl = std::forward<LogUrlT>(value); }
143 template<
typename LogUrlT = Aws::String>
160 template<
typename TypeT = Aws::String>
161 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
162 template<
typename TypeT = Aws::String>
168 bool m_commandIdHasBeenSet =
false;
171 bool m_instanceIdHasBeenSet =
false;
174 bool m_deploymentIdHasBeenSet =
false;
177 bool m_createdAtHasBeenSet =
false;
180 bool m_acknowledgedAtHasBeenSet =
false;
183 bool m_completedAtHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_exitCodeHasBeenSet =
false;
192 bool m_logUrlHasBeenSet =
false;
195 bool m_typeHasBeenSet =
false;
void SetLogUrl(LogUrlT &&value)
bool CreatedAtHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetAcknowledgedAt() const
void SetCommandId(CommandIdT &&value)
Command & WithDeploymentId(DeploymentIdT &&value)
AWS_OPSWORKS_API Command()=default
Command & WithCommandId(CommandIdT &&value)
AWS_OPSWORKS_API Command(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLogUrl() const
bool DeploymentIdHasBeenSet() const
Command & WithType(TypeT &&value)
bool CompletedAtHasBeenSet() const
Command & WithCreatedAt(CreatedAtT &&value)
void SetCompletedAt(CompletedAtT &&value)
Command & WithLogUrl(LogUrlT &&value)
void SetDeploymentId(DeploymentIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetCreatedAt() const
void SetInstanceId(InstanceIdT &&value)
const Aws::String & GetDeploymentId() const
const Aws::String & GetCommandId() const
const Aws::String & GetCompletedAt() const
void SetType(TypeT &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(StatusT &&value)
Command & WithAcknowledgedAt(AcknowledgedAtT &&value)
AWS_OPSWORKS_API Command & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CommandIdHasBeenSet() const
const Aws::String & GetStatus() const
bool ExitCodeHasBeenSet() const
const Aws::String & GetType() const
Command & WithCompletedAt(CompletedAtT &&value)
bool LogUrlHasBeenSet() const
Command & WithInstanceId(InstanceIdT &&value)
Command & WithStatus(StatusT &&value)
bool AcknowledgedAtHasBeenSet() const
bool InstanceIdHasBeenSet() const
Command & WithExitCode(int value)
void SetAcknowledgedAt(AcknowledgedAtT &&value)
bool TypeHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetExitCode(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue