7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/DeploymentCommand.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
50 inline void SetDeploymentId(
const char* value) { m_deploymentIdHasBeenSet =
true; m_deploymentId.assign(value); }
64 inline void SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
78 inline void SetAppId(
const char* value) { m_appIdHasBeenSet =
true; m_appId.assign(value); }
92 inline void SetCreatedAt(
const char* value) { m_createdAtHasBeenSet =
true; m_createdAt.assign(value); }
106 inline void SetCompletedAt(
const char* value) { m_completedAtHasBeenSet =
true; m_completedAt.assign(value); }
118 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
130 inline void SetIamUserArn(
const char* value) { m_iamUserArnHasBeenSet =
true; m_iamUserArn.assign(value); }
144 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
171 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
191 inline void SetCustomJson(
const char* value) { m_customJsonHasBeenSet =
true; m_customJson.assign(value); }
209 inline Deployment&
AddInstanceIds(
const char* value) { m_instanceIdsHasBeenSet =
true; m_instanceIds.push_back(value);
return *
this; }
214 bool m_deploymentIdHasBeenSet =
false;
217 bool m_stackIdHasBeenSet =
false;
220 bool m_appIdHasBeenSet =
false;
223 bool m_createdAtHasBeenSet =
false;
226 bool m_completedAtHasBeenSet =
false;
229 bool m_durationHasBeenSet =
false;
232 bool m_iamUserArnHasBeenSet =
false;
235 bool m_commentHasBeenSet =
false;
238 bool m_commandHasBeenSet =
false;
241 bool m_statusHasBeenSet =
false;
244 bool m_customJsonHasBeenSet =
false;
247 bool m_instanceIdsHasBeenSet =
false;
bool CustomJsonHasBeenSet() const
Deployment & WithCreatedAt(Aws::String &&value)
bool CompletedAtHasBeenSet() const
Deployment & WithCreatedAt(const char *value)
bool IamUserArnHasBeenSet() const
void SetAppId(const Aws::String &value)
Deployment & WithDuration(int value)
void SetComment(const char *value)
bool CommandHasBeenSet() const
bool DurationHasBeenSet() const
void SetCommand(DeploymentCommand &&value)
void SetCommand(const DeploymentCommand &value)
void SetStackId(const Aws::String &value)
Deployment & WithCreatedAt(const Aws::String &value)
const Aws::String & GetAppId() const
Deployment & WithStatus(const char *value)
Deployment & WithIamUserArn(const char *value)
Deployment & WithAppId(const char *value)
void SetDeploymentId(Aws::String &&value)
const Aws::String & GetCustomJson() const
Deployment & WithCustomJson(const char *value)
Deployment & WithAppId(const Aws::String &value)
Deployment & WithInstanceIds(const Aws::Vector< Aws::String > &value)
Deployment & WithIamUserArn(Aws::String &&value)
void SetDuration(int value)
AWS_OPSWORKS_API Deployment()
void SetCompletedAt(Aws::String &&value)
Deployment & WithCustomJson(const Aws::String &value)
void SetCreatedAt(const Aws::String &value)
const Aws::String & GetIamUserArn() const
bool InstanceIdsHasBeenSet() const
bool CreatedAtHasBeenSet() const
Deployment & WithDeploymentId(const Aws::String &value)
const DeploymentCommand & GetCommand() const
Deployment & WithStackId(const char *value)
void SetStatus(const Aws::String &value)
AWS_OPSWORKS_API Deployment(Aws::Utils::Json::JsonView jsonValue)
void SetCompletedAt(const Aws::String &value)
bool StatusHasBeenSet() const
void SetCreatedAt(const char *value)
bool CommentHasBeenSet() const
Deployment & WithComment(const char *value)
Deployment & WithInstanceIds(Aws::Vector< Aws::String > &&value)
Deployment & WithStatus(Aws::String &&value)
void SetInstanceIds(const Aws::Vector< Aws::String > &value)
void SetDeploymentId(const Aws::String &value)
void SetComment(Aws::String &&value)
bool AppIdHasBeenSet() const
Deployment & WithStackId(const Aws::String &value)
Deployment & WithAppId(Aws::String &&value)
Deployment & WithCompletedAt(Aws::String &&value)
const Aws::String & GetStatus() const
void SetCreatedAt(Aws::String &&value)
Deployment & WithStatus(const Aws::String &value)
Deployment & WithComment(const Aws::String &value)
Deployment & AddInstanceIds(const Aws::String &value)
void SetAppId(const char *value)
void SetCustomJson(const Aws::String &value)
const Aws::String & GetDeploymentId() const
Deployment & WithCustomJson(Aws::String &&value)
const Aws::String & GetCompletedAt() const
Deployment & AddInstanceIds(Aws::String &&value)
void SetIamUserArn(const Aws::String &value)
Deployment & WithComment(Aws::String &&value)
Deployment & WithCommand(DeploymentCommand &&value)
void SetCustomJson(Aws::String &&value)
Deployment & WithCommand(const DeploymentCommand &value)
AWS_OPSWORKS_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(Aws::String &&value)
const Aws::String & GetStackId() const
const Aws::Vector< Aws::String > & GetInstanceIds() const
Deployment & WithCompletedAt(const Aws::String &value)
void SetIamUserArn(const char *value)
void SetCompletedAt(const char *value)
Deployment & WithDeploymentId(const char *value)
void SetStatus(const char *value)
void SetStackId(Aws::String &&value)
void SetInstanceIds(Aws::Vector< Aws::String > &&value)
void SetIamUserArn(Aws::String &&value)
Deployment & WithCompletedAt(const char *value)
bool DeploymentIdHasBeenSet() const
const Aws::String & GetCreatedAt() const
const Aws::String & GetComment() const
void SetDeploymentId(const char *value)
void SetComment(const Aws::String &value)
Deployment & WithDeploymentId(Aws::String &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StackIdHasBeenSet() const
Deployment & WithStackId(Aws::String &&value)
Deployment & AddInstanceIds(const char *value)
void SetAppId(Aws::String &&value)
void SetStackId(const char *value)
void SetCustomJson(const char *value)
Deployment & WithIamUserArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue