7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeartifact/model/DomainStatus.h>
10#include <aws/core/utils/DateTime.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename OwnerT = Aws::String>
63 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
64 template<
typename OwnerT = Aws::String>
74 template<
typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
76 template<
typename ArnT = Aws::String>
96 template<
typename CreatedTimeT = Aws::Utils::DateTime>
97 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
98 template<
typename CreatedTimeT = Aws::Utils::DateTime>
109 template<
typename EncryptionKeyT = Aws::String>
110 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
111 template<
typename EncryptionKeyT = Aws::String>
121 inline void SetRepositoryCount(
int value) { m_repositoryCountHasBeenSet =
true; m_repositoryCount = value; }
131 inline void SetAssetSizeBytes(
long long value) { m_assetSizeBytesHasBeenSet =
true; m_assetSizeBytes = value; }
142 template<
typename S3BucketArnT = Aws::String>
143 void SetS3BucketArn(S3BucketArnT&& value) { m_s3BucketArnHasBeenSet =
true; m_s3BucketArn = std::forward<S3BucketArnT>(value); }
144 template<
typename S3BucketArnT = Aws::String>
150 bool m_nameHasBeenSet =
false;
153 bool m_ownerHasBeenSet =
false;
156 bool m_arnHasBeenSet =
false;
159 bool m_statusHasBeenSet =
false;
162 bool m_createdTimeHasBeenSet =
false;
165 bool m_encryptionKeyHasBeenSet =
false;
167 int m_repositoryCount{0};
168 bool m_repositoryCountHasBeenSet =
false;
170 long long m_assetSizeBytes{0};
171 bool m_assetSizeBytesHasBeenSet =
false;
174 bool m_s3BucketArnHasBeenSet =
false;
DomainDescription & WithOwner(OwnerT &&value)
bool StatusHasBeenSet() const
bool NameHasBeenSet() const
bool EncryptionKeyHasBeenSet() const
DomainStatus GetStatus() const
bool CreatedTimeHasBeenSet() const
bool ArnHasBeenSet() const
DomainDescription & WithAssetSizeBytes(long long value)
const Aws::String & GetS3BucketArn() const
void SetRepositoryCount(int value)
long long GetAssetSizeBytes() const
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
void SetOwner(OwnerT &&value)
void SetAssetSizeBytes(long long value)
int GetRepositoryCount() const
AWS_CODEARTIFACT_API DomainDescription()=default
const Aws::Utils::DateTime & GetCreatedTime() const
DomainDescription & WithArn(ArnT &&value)
void SetCreatedTime(CreatedTimeT &&value)
void SetEncryptionKey(EncryptionKeyT &&value)
const Aws::String & GetArn() const
DomainDescription & WithStatus(DomainStatus value)
DomainDescription & WithCreatedTime(CreatedTimeT &&value)
void SetS3BucketArn(S3BucketArnT &&value)
bool RepositoryCountHasBeenSet() const
DomainDescription & WithS3BucketArn(S3BucketArnT &&value)
void SetStatus(DomainStatus value)
DomainDescription & WithRepositoryCount(int value)
const Aws::String & GetEncryptionKey() const
void SetName(NameT &&value)
AWS_CODEARTIFACT_API DomainDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OwnerHasBeenSet() const
DomainDescription & WithName(NameT &&value)
const Aws::String & GetOwner() const
bool AssetSizeBytesHasBeenSet() const
AWS_CODEARTIFACT_API DomainDescription(Aws::Utils::Json::JsonView jsonValue)
DomainDescription & WithEncryptionKey(EncryptionKeyT &&value)
void SetArn(ArnT &&value)
bool S3BucketArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue