7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetCommandId(
const char* value) { m_commandIdHasBeenSet =
true; m_commandId.assign(value); }
62 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
76 inline void SetDeploymentId(
const char* value) { m_deploymentIdHasBeenSet =
true; m_deploymentId.assign(value); }
90 inline void SetCreatedAt(
const char* value) { m_createdAtHasBeenSet =
true; m_createdAt.assign(value); }
104 inline void SetAcknowledgedAt(
const char* value) { m_acknowledgedAtHasBeenSet =
true; m_acknowledgedAt.assign(value); }
118 inline void SetCompletedAt(
const char* value) { m_completedAtHasBeenSet =
true; m_completedAt.assign(value); }
133 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
145 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
157 inline void SetLogUrl(
const char* value) { m_logUrlHasBeenSet =
true; m_logUrl.assign(value); }
178 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
186 bool m_commandIdHasBeenSet =
false;
189 bool m_instanceIdHasBeenSet =
false;
192 bool m_deploymentIdHasBeenSet =
false;
195 bool m_createdAtHasBeenSet =
false;
198 bool m_acknowledgedAtHasBeenSet =
false;
201 bool m_completedAtHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
207 bool m_exitCodeHasBeenSet =
false;
210 bool m_logUrlHasBeenSet =
false;
213 bool m_typeHasBeenSet =
false;
void SetCompletedAt(const Aws::String &value)
bool CreatedAtHasBeenSet() const
Command & WithInstanceId(const char *value)
bool StatusHasBeenSet() const
Command & WithCommandId(const Aws::String &value)
const Aws::String & GetAcknowledgedAt() const
Command & WithAcknowledgedAt(const char *value)
void SetInstanceId(const char *value)
void SetDeploymentId(Aws::String &&value)
void SetStatus(const char *value)
Command & WithCompletedAt(Aws::String &&value)
Command & WithCompletedAt(const Aws::String &value)
Command & WithStatus(const Aws::String &value)
AWS_OPSWORKS_API Command(Aws::Utils::Json::JsonView jsonValue)
Command & WithLogUrl(const Aws::String &value)
Command & WithType(const char *value)
const Aws::String & GetLogUrl() const
Command & WithDeploymentId(const Aws::String &value)
bool DeploymentIdHasBeenSet() const
Command & WithAcknowledgedAt(const Aws::String &value)
bool CompletedAtHasBeenSet() const
void SetLogUrl(const Aws::String &value)
void SetCompletedAt(Aws::String &&value)
Command & WithDeploymentId(Aws::String &&value)
Command & WithLogUrl(const char *value)
void SetInstanceId(const Aws::String &value)
Command & WithCommandId(Aws::String &&value)
void SetCompletedAt(const char *value)
const Aws::String & GetCreatedAt() const
Command & WithCreatedAt(const char *value)
const Aws::String & GetDeploymentId() const
const Aws::String & GetCommandId() const
void SetType(Aws::String &&value)
const Aws::String & GetCompletedAt() const
Command & WithStatus(const char *value)
void SetDeploymentId(const char *value)
Command & WithCompletedAt(const char *value)
Command & WithInstanceId(const Aws::String &value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPSWORKS_API Command & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::String &value)
bool CommandIdHasBeenSet() const
const Aws::String & GetStatus() const
bool ExitCodeHasBeenSet() const
Command & WithType(const Aws::String &value)
const Aws::String & GetType() const
AWS_OPSWORKS_API Command()
Command & WithCreatedAt(const Aws::String &value)
Command & WithCreatedAt(Aws::String &&value)
Command & WithLogUrl(Aws::String &&value)
Command & WithInstanceId(Aws::String &&value)
void SetType(const char *value)
void SetInstanceId(Aws::String &&value)
void SetAcknowledgedAt(const char *value)
bool LogUrlHasBeenSet() const
void SetStatus(const Aws::String &value)
bool AcknowledgedAtHasBeenSet() const
Command & WithAcknowledgedAt(Aws::String &&value)
void SetCreatedAt(Aws::String &&value)
void SetCreatedAt(const char *value)
void SetCommandId(const char *value)
void SetCommandId(const Aws::String &value)
bool InstanceIdHasBeenSet() const
Command & WithCommandId(const char *value)
void SetStatus(Aws::String &&value)
void SetCommandId(Aws::String &&value)
Command & WithDeploymentId(const char *value)
void SetAcknowledgedAt(Aws::String &&value)
void SetDeploymentId(const Aws::String &value)
Command & WithExitCode(int value)
void SetLogUrl(const char *value)
void SetAcknowledgedAt(const Aws::String &value)
bool TypeHasBeenSet() const
void SetLogUrl(Aws::String &&value)
Command & WithType(Aws::String &&value)
void SetType(const Aws::String &value)
Command & WithStatus(Aws::String &&value)
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