7#include <aws/codeartifact/CodeArtifactRequest.h>
8#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
9#include <aws/codeartifact/model/UpstreamRepository.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
19namespace CodeArtifact {
44 template <
typename DomainT = Aws::String>
46 m_domainHasBeenSet =
true;
47 m_domain = std::forward<DomainT>(value);
49 template <
typename DomainT = Aws::String>
63 template <
typename DomainOwnerT = Aws::String>
65 m_domainOwnerHasBeenSet =
true;
66 m_domainOwner = std::forward<DomainOwnerT>(value);
68 template <
typename DomainOwnerT = Aws::String>
81 template <
typename RepositoryT = Aws::String>
83 m_repositoryHasBeenSet =
true;
84 m_repository = std::forward<RepositoryT>(value);
86 template <
typename RepositoryT = Aws::String>
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
121 template <
typename UpstreamsT = Aws::Vector<UpstreamRepository>>
123 m_upstreamsHasBeenSet =
true;
124 m_upstreams = std::forward<UpstreamsT>(value);
126 template <
typename UpstreamsT = Aws::Vector<UpstreamRepository>>
131 template <
typename UpstreamsT = UpstreamRepository>
133 m_upstreamsHasBeenSet =
true;
134 m_upstreams.emplace_back(std::forward<UpstreamsT>(value));
148 bool m_domainHasBeenSet =
false;
149 bool m_domainOwnerHasBeenSet =
false;
150 bool m_repositoryHasBeenSet =
false;
151 bool m_descriptionHasBeenSet =
false;
152 bool m_upstreamsHasBeenSet =
false;
UpdateRepositoryRequest & WithDomain(DomainT &&value)
UpdateRepositoryRequest & AddUpstreams(UpstreamsT &&value)
void SetRepository(RepositoryT &&value)
UpdateRepositoryRequest & WithRepository(RepositoryT &&value)
const Aws::String & GetRepository() const
const Aws::String & GetDescription() const
UpdateRepositoryRequest & WithDescription(DescriptionT &&value)
bool RepositoryHasBeenSet() const
const Aws::String & GetDomain() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDomainOwner() const
void SetDomain(DomainT &&value)
UpdateRepositoryRequest & WithDomainOwner(DomainOwnerT &&value)
AWS_CODEARTIFACT_API UpdateRepositoryRequest()=default
void SetUpstreams(UpstreamsT &&value)
UpdateRepositoryRequest & WithUpstreams(UpstreamsT &&value)
bool UpstreamsHasBeenSet() const
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool DomainOwnerHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< UpstreamRepository > & GetUpstreams() const
bool DescriptionHasBeenSet() const
void SetDomainOwner(DomainOwnerT &&value)
bool DomainHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector