7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/RepositoryExternalConnectionInfo.h>
9#include <aws/codeartifact/model/UpstreamRepositoryInfo.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace CodeArtifact {
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
69 template <
typename AdministratorAccountT = Aws::String>
71 m_administratorAccountHasBeenSet =
true;
72 m_administratorAccount = std::forward<AdministratorAccountT>(value);
74 template <
typename AdministratorAccountT = Aws::String>
87 template <
typename DomainNameT = Aws::String>
89 m_domainNameHasBeenSet =
true;
90 m_domainName = std::forward<DomainNameT>(value);
92 template <
typename DomainNameT = Aws::String>
106 template <
typename DomainOwnerT = Aws::String>
108 m_domainOwnerHasBeenSet =
true;
109 m_domainOwner = std::forward<DomainOwnerT>(value);
111 template <
typename DomainOwnerT = Aws::String>
124 template <
typename ArnT = Aws::String>
126 m_arnHasBeenSet =
true;
127 m_arn = std::forward<ArnT>(value);
129 template <
typename ArnT = Aws::String>
131 SetArn(std::forward<ArnT>(value));
142 template <
typename DescriptionT = Aws::String>
144 m_descriptionHasBeenSet =
true;
145 m_description = std::forward<DescriptionT>(value);
147 template <
typename DescriptionT = Aws::String>
164 template <
typename UpstreamsT = Aws::Vector<UpstreamRepositoryInfo>>
166 m_upstreamsHasBeenSet =
true;
167 m_upstreams = std::forward<UpstreamsT>(value);
169 template <
typename UpstreamsT = Aws::Vector<UpstreamRepositoryInfo>>
174 template <
typename UpstreamsT = UpstreamRepositoryInfo>
176 m_upstreamsHasBeenSet =
true;
177 m_upstreams.emplace_back(std::forward<UpstreamsT>(value));
188 template <
typename ExternalConnectionsT = Aws::Vector<RepositoryExternalConnectionInfo>>
190 m_externalConnectionsHasBeenSet =
true;
191 m_externalConnections = std::forward<ExternalConnectionsT>(value);
193 template <
typename ExternalConnectionsT = Aws::Vector<RepositoryExternalConnectionInfo>>
198 template <
typename ExternalConnectionsT = RepositoryExternalConnectionInfo>
200 m_externalConnectionsHasBeenSet =
true;
201 m_externalConnections.emplace_back(std::forward<ExternalConnectionsT>(value));
212 template <
typename CreatedTimeT = Aws::Utils::DateTime>
214 m_createdTimeHasBeenSet =
true;
215 m_createdTime = std::forward<CreatedTimeT>(value);
217 template <
typename CreatedTimeT = Aws::Utils::DateTime>
241 bool m_nameHasBeenSet =
false;
242 bool m_administratorAccountHasBeenSet =
false;
243 bool m_domainNameHasBeenSet =
false;
244 bool m_domainOwnerHasBeenSet =
false;
245 bool m_arnHasBeenSet =
false;
246 bool m_descriptionHasBeenSet =
false;
247 bool m_upstreamsHasBeenSet =
false;
248 bool m_externalConnectionsHasBeenSet =
false;
249 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