7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/codeartifact/model/UpstreamRepositoryInfo.h>
12#include <aws/codeartifact/model/RepositoryExternalConnectionInfo.h>
56 template<
typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
69 template<
typename AdministratorAccountT = Aws::String>
70 void SetAdministratorAccount(AdministratorAccountT&& value) { m_administratorAccountHasBeenSet =
true; m_administratorAccount = std::forward<AdministratorAccountT>(value); }
71 template<
typename AdministratorAccountT = Aws::String>
81 template<
typename DomainNameT = Aws::String>
82 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet =
true; m_domainName = std::forward<DomainNameT>(value); }
83 template<
typename DomainNameT = Aws::String>
94 template<
typename DomainOwnerT = Aws::String>
95 void SetDomainOwner(DomainOwnerT&& value) { m_domainOwnerHasBeenSet =
true; m_domainOwner = std::forward<DomainOwnerT>(value); }
96 template<
typename DomainOwnerT = Aws::String>
106 template<
typename ArnT = Aws::String>
107 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
108 template<
typename ArnT = Aws::String>
118 template<
typename DescriptionT = Aws::String>
119 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
120 template<
typename DescriptionT = Aws::String>
134 template<
typename UpstreamsT = Aws::Vector<UpstreamRepositoryInfo>>
135 void SetUpstreams(UpstreamsT&& value) { m_upstreamsHasBeenSet =
true; m_upstreams = std::forward<UpstreamsT>(value); }
136 template<
typename UpstreamsT = Aws::Vector<UpstreamRepositoryInfo>>
138 template<
typename UpstreamsT = UpstreamRepositoryInfo>
148 template<
typename ExternalConnectionsT = Aws::Vector<RepositoryExternalConnectionInfo>>
149 void SetExternalConnections(ExternalConnectionsT&& value) { m_externalConnectionsHasBeenSet =
true; m_externalConnections = std::forward<ExternalConnectionsT>(value); }
150 template<
typename ExternalConnectionsT = Aws::Vector<RepositoryExternalConnectionInfo>>
152 template<
typename ExternalConnectionsT = RepositoryExternalConnectionInfo>
162 template<
typename CreatedTimeT = Aws::Utils::DateTime>
163 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
164 template<
typename CreatedTimeT = Aws::Utils::DateTime>
170 bool m_nameHasBeenSet =
false;
173 bool m_administratorAccountHasBeenSet =
false;
176 bool m_domainNameHasBeenSet =
false;
179 bool m_domainOwnerHasBeenSet =
false;
182 bool m_arnHasBeenSet =
false;
185 bool m_descriptionHasBeenSet =
false;
188 bool m_upstreamsHasBeenSet =
false;
191 bool m_externalConnectionsHasBeenSet =
false;
194 bool m_createdTimeHasBeenSet =
false;
RepositoryDescription & WithDomainName(DomainNameT &&value)
void SetUpstreams(UpstreamsT &&value)
const Aws::String & GetDomainOwner() const
bool DomainOwnerHasBeenSet() const
RepositoryDescription & WithCreatedTime(CreatedTimeT &&value)
RepositoryDescription & WithAdministratorAccount(AdministratorAccountT &&value)
AWS_CODEARTIFACT_API RepositoryDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AdministratorAccountHasBeenSet() const
void SetDescription(DescriptionT &&value)
RepositoryDescription & AddUpstreams(UpstreamsT &&value)
RepositoryDescription & WithArn(ArnT &&value)
const Aws::String & GetName() const
void SetCreatedTime(CreatedTimeT &&value)
bool CreatedTimeHasBeenSet() const
bool ExternalConnectionsHasBeenSet() const
const Aws::String & GetDomainName() const
RepositoryDescription & WithDomainOwner(DomainOwnerT &&value)
RepositoryDescription & WithName(NameT &&value)
void SetArn(ArnT &&value)
void SetDomainOwner(DomainOwnerT &&value)
RepositoryDescription & AddExternalConnections(ExternalConnectionsT &&value)
bool ArnHasBeenSet() const
const Aws::String & GetAdministratorAccount() const
void SetExternalConnections(ExternalConnectionsT &&value)
bool DescriptionHasBeenSet() const
RepositoryDescription & WithExternalConnections(ExternalConnectionsT &&value)
void SetAdministratorAccount(AdministratorAccountT &&value)
void SetName(NameT &&value)
const Aws::Vector< UpstreamRepositoryInfo > & GetUpstreams() const
const Aws::Vector< RepositoryExternalConnectionInfo > & GetExternalConnections() const
bool DomainNameHasBeenSet() const
const Aws::String & GetArn() const
RepositoryDescription & WithDescription(DescriptionT &&value)
void SetDomainName(DomainNameT &&value)
RepositoryDescription & WithUpstreams(UpstreamsT &&value)
AWS_CODEARTIFACT_API RepositoryDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
AWS_CODEARTIFACT_API RepositoryDescription()=default
bool NameHasBeenSet() const
bool UpstreamsHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue