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>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
65 template<
typename OwnerT = Aws::String>
66 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
67 template<
typename OwnerT = Aws::String>
77 template<
typename ArnT = Aws::String>
78 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
79 template<
typename ArnT = Aws::String>
99 template<
typename CreatedTimeT = Aws::Utils::DateTime>
100 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
101 template<
typename CreatedTimeT = Aws::Utils::DateTime>
111 template<
typename EncryptionKeyT = Aws::String>
112 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
113 template<
typename EncryptionKeyT = Aws::String>
119 bool m_nameHasBeenSet =
false;
122 bool m_ownerHasBeenSet =
false;
125 bool m_arnHasBeenSet =
false;
128 bool m_statusHasBeenSet =
false;
131 bool m_createdTimeHasBeenSet =
false;
134 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