7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/greengrassv2/model/DeploymentStatus.h>
53 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
67 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
81 inline void SetDeploymentId(
const char* value) { m_deploymentIdHasBeenSet =
true; m_deploymentId.assign(value); }
95 inline void SetDeploymentName(
const char* value) { m_deploymentNameHasBeenSet =
true; m_deploymentName.assign(value); }
132 inline void SetIsLatestForTarget(
bool value) { m_isLatestForTargetHasBeenSet =
true; m_isLatestForTarget = value; }
146 inline void SetParentTargetArn(
const char* value) { m_parentTargetArnHasBeenSet =
true; m_parentTargetArn.assign(value); }
154 bool m_targetArnHasBeenSet =
false;
157 bool m_revisionIdHasBeenSet =
false;
160 bool m_deploymentIdHasBeenSet =
false;
163 bool m_deploymentNameHasBeenSet =
false;
166 bool m_creationTimestampHasBeenSet =
false;
169 bool m_deploymentStatusHasBeenSet =
false;
171 bool m_isLatestForTarget;
172 bool m_isLatestForTargetHasBeenSet =
false;
175 bool m_parentTargetArnHasBeenSet =
false;
void SetParentTargetArn(const Aws::String &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
bool CreationTimestampHasBeenSet() const
void SetDeploymentName(Aws::String &&value)
Deployment & WithTargetArn(const Aws::String &value)
void SetTargetArn(Aws::String &&value)
void SetDeploymentId(Aws::String &&value)
bool RevisionIdHasBeenSet() const
Deployment & WithDeploymentStatus(const DeploymentStatus &value)
const Aws::String & GetDeploymentId() const
Deployment & WithDeploymentId(const char *value)
Deployment & WithDeploymentId(const Aws::String &value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API Deployment()
void SetRevisionId(Aws::String &&value)
Deployment & WithIsLatestForTarget(bool value)
Deployment & WithTargetArn(const char *value)
bool DeploymentIdHasBeenSet() const
void SetTargetArn(const char *value)
void SetIsLatestForTarget(bool value)
void SetRevisionId(const char *value)
bool DeploymentNameHasBeenSet() const
Deployment & WithTargetArn(Aws::String &&value)
bool TargetArnHasBeenSet() const
void SetDeploymentStatus(DeploymentStatus &&value)
const Aws::String & GetTargetArn() const
const Aws::String & GetParentTargetArn() const
Deployment & WithParentTargetArn(const char *value)
Deployment & WithDeploymentStatus(DeploymentStatus &&value)
void SetDeploymentName(const char *value)
bool ParentTargetArnHasBeenSet() const
bool DeploymentStatusHasBeenSet() const
Deployment & WithParentTargetArn(const Aws::String &value)
void SetDeploymentId(const Aws::String &value)
Deployment & WithRevisionId(const char *value)
void SetDeploymentName(const Aws::String &value)
void SetParentTargetArn(const char *value)
Deployment & WithDeploymentName(const Aws::String &value)
bool IsLatestForTargetHasBeenSet() const
void SetParentTargetArn(Aws::String &&value)
AWS_GREENGRASSV2_API Deployment(Aws::Utils::Json::JsonView jsonValue)
Deployment & WithCreationTimestamp(const Aws::Utils::DateTime &value)
Deployment & WithRevisionId(const Aws::String &value)
void SetDeploymentId(const char *value)
Deployment & WithDeploymentName(const char *value)
void SetDeploymentStatus(const DeploymentStatus &value)
bool GetIsLatestForTarget() const
const Aws::String & GetDeploymentName() const
Deployment & WithDeploymentName(Aws::String &&value)
Deployment & WithParentTargetArn(Aws::String &&value)
void SetRevisionId(const Aws::String &value)
Deployment & WithCreationTimestamp(Aws::Utils::DateTime &&value)
Deployment & WithDeploymentId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
const Aws::String & GetRevisionId() const
Deployment & WithRevisionId(Aws::String &&value)
const DeploymentStatus & GetDeploymentStatus() const
AWS_GREENGRASSV2_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetArn(const Aws::String &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue