7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/DomainStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeArtifact {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename OwnerT = Aws::String>
64 m_ownerHasBeenSet =
true;
65 m_owner = std::forward<OwnerT>(value);
67 template <
typename OwnerT = Aws::String>
69 SetOwner(std::forward<OwnerT>(value));
80 template <
typename ArnT = Aws::String>
82 m_arnHasBeenSet =
true;
83 m_arn = std::forward<ArnT>(value);
85 template <
typename ArnT = Aws::String>
87 SetArn(std::forward<ArnT>(value));
99 m_statusHasBeenSet =
true;
114 template <
typename CreatedTimeT = Aws::Utils::DateTime>
116 m_createdTimeHasBeenSet =
true;
117 m_createdTime = std::forward<CreatedTimeT>(value);
119 template <
typename CreatedTimeT = Aws::Utils::DateTime>
133 template <
typename EncryptionKeyT = Aws::String>
135 m_encryptionKeyHasBeenSet =
true;
136 m_encryptionKey = std::forward<EncryptionKeyT>(value);
138 template <
typename EncryptionKeyT = Aws::String>
152 m_repositoryCountHasBeenSet =
true;
153 m_repositoryCount = value;
168 m_assetSizeBytesHasBeenSet =
true;
169 m_assetSizeBytes = value;
184 template <
typename S3BucketArnT = Aws::String>
186 m_s3BucketArnHasBeenSet =
true;
187 m_s3BucketArn = std::forward<S3BucketArnT>(value);
189 template <
typename S3BucketArnT = Aws::String>
208 int m_repositoryCount{0};
210 long long m_assetSizeBytes{0};
213 bool m_nameHasBeenSet =
false;
214 bool m_ownerHasBeenSet =
false;
215 bool m_arnHasBeenSet =
false;
216 bool m_statusHasBeenSet =
false;
217 bool m_createdTimeHasBeenSet =
false;
218 bool m_encryptionKeyHasBeenSet =
false;
219 bool m_repositoryCountHasBeenSet =
false;
220 bool m_assetSizeBytesHasBeenSet =
false;
221 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