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 {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
65 template <
typename OwnerT = Aws::String>
67 m_ownerHasBeenSet =
true;
68 m_owner = std::forward<OwnerT>(value);
70 template <
typename OwnerT = Aws::String>
72 SetOwner(std::forward<OwnerT>(value));
83 template <
typename ArnT = Aws::String>
85 m_arnHasBeenSet =
true;
86 m_arn = std::forward<ArnT>(value);
88 template <
typename ArnT = Aws::String>
90 SetArn(std::forward<ArnT>(value));
102 m_statusHasBeenSet =
true;
117 template <
typename CreatedTimeT = Aws::Utils::DateTime>
119 m_createdTimeHasBeenSet =
true;
120 m_createdTime = std::forward<CreatedTimeT>(value);
122 template <
typename CreatedTimeT = Aws::Utils::DateTime>
135 template <
typename EncryptionKeyT = Aws::String>
137 m_encryptionKeyHasBeenSet =
true;
138 m_encryptionKey = std::forward<EncryptionKeyT>(value);
140 template <
typename EncryptionKeyT = Aws::String>
158 bool m_nameHasBeenSet =
false;
159 bool m_ownerHasBeenSet =
false;
160 bool m_arnHasBeenSet =
false;
161 bool m_statusHasBeenSet =
false;
162 bool m_createdTimeHasBeenSet =
false;
163 bool m_encryptionKeyHasBeenSet =
false;
bool CreatedTimeHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetOwner() const
AWS_CODEARTIFACT_API DomainSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
const Aws::String & GetArn() const
DomainSummary & WithEncryptionKey(EncryptionKeyT &&value)
DomainSummary & WithArn(ArnT &&value)
DomainSummary & WithCreatedTime(CreatedTimeT &&value)
void SetEncryptionKey(EncryptionKeyT &&value)
AWS_CODEARTIFACT_API DomainSummary(Aws::Utils::Json::JsonView jsonValue)
bool OwnerHasBeenSet() const
void SetOwner(OwnerT &&value)
void SetStatus(DomainStatus value)
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
DomainSummary & WithStatus(DomainStatus value)
const Aws::String & GetName() const
AWS_CODEARTIFACT_API DomainSummary()=default
bool ArnHasBeenSet() const
DomainStatus GetStatus() const
DomainSummary & WithOwner(OwnerT &&value)
void SetCreatedTime(CreatedTimeT &&value)
bool EncryptionKeyHasBeenSet() const
DomainSummary & WithName(NameT &&value)
const Aws::String & GetEncryptionKey() const
void SetArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue