7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ImageVersionStatus.h>
63 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
77 inline void SetImageArn(
const char* value) { m_imageArnHasBeenSet =
true; m_imageArn.assign(value); }
91 inline void SetImageVersionArn(
const char* value) { m_imageVersionArnHasBeenSet =
true; m_imageVersionArn.assign(value); }
127 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
133 bool m_creationTimeHasBeenSet =
false;
136 bool m_failureReasonHasBeenSet =
false;
139 bool m_imageArnHasBeenSet =
false;
142 bool m_imageVersionArnHasBeenSet =
false;
145 bool m_imageVersionStatusHasBeenSet =
false;
148 bool m_lastModifiedTimeHasBeenSet =
false;
151 bool m_versionHasBeenSet =
false;
ImageVersion & WithFailureReason(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ImageVersion & WithImageVersionArn(const Aws::String &value)
bool ImageVersionArnHasBeenSet() const
ImageVersion & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureReason(Aws::String &&value)
ImageVersion & WithVersion(int value)
ImageVersion & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API ImageVersion()
bool ImageArnHasBeenSet() const
ImageVersion & WithImageArn(const char *value)
void SetImageArn(Aws::String &&value)
const Aws::String & GetImageVersionArn() const
ImageVersion & WithFailureReason(const char *value)
void SetImageArn(const Aws::String &value)
ImageVersion & WithImageArn(Aws::String &&value)
const ImageVersionStatus & GetImageVersionStatus() const
ImageVersion & WithFailureReason(Aws::String &&value)
bool ImageVersionStatusHasBeenSet() const
ImageVersion & WithImageVersionArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ImageVersion & WithImageVersionStatus(ImageVersionStatus &&value)
bool FailureReasonHasBeenSet() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetFailureReason(const Aws::String &value)
const Aws::String & GetFailureReason() const
void SetImageVersionArn(const char *value)
void SetVersion(int value)
void SetFailureReason(const char *value)
ImageVersion & WithImageArn(const Aws::String &value)
void SetImageVersionStatus(const ImageVersionStatus &value)
bool CreationTimeHasBeenSet() const
AWS_SAGEMAKER_API ImageVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageVersion & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetImageVersionStatus(ImageVersionStatus &&value)
bool LastModifiedTimeHasBeenSet() const
bool VersionHasBeenSet() const
void SetImageVersionArn(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetImageArn(const char *value)
AWS_SAGEMAKER_API ImageVersion(Aws::Utils::Json::JsonView jsonValue)
void SetImageVersionArn(const Aws::String &value)
ImageVersion & WithImageVersionStatus(const ImageVersionStatus &value)
ImageVersion & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetImageArn() const
ImageVersion & WithImageVersionArn(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue