7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/CodeArtifactRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codeartifact/model/UpstreamRepository.h>
49 template<
typename DomainT = Aws::String>
50 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
51 template<
typename DomainT = Aws::String>
62 template<
typename DomainOwnerT = Aws::String>
63 void SetDomainOwner(DomainOwnerT&& value) { m_domainOwnerHasBeenSet =
true; m_domainOwner = std::forward<DomainOwnerT>(value); }
64 template<
typename DomainOwnerT = Aws::String>
74 template<
typename RepositoryT = Aws::String>
75 void SetRepository(RepositoryT&& value) { m_repositoryHasBeenSet =
true; m_repository = std::forward<RepositoryT>(value); }
76 template<
typename RepositoryT = Aws::String>
86 template<
typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
88 template<
typename DescriptionT = Aws::String>
102 template<
typename UpstreamsT = Aws::Vector<UpstreamRepository>>
103 void SetUpstreams(UpstreamsT&& value) { m_upstreamsHasBeenSet =
true; m_upstreams = std::forward<UpstreamsT>(value); }
104 template<
typename UpstreamsT = Aws::Vector<UpstreamRepository>>
106 template<
typename UpstreamsT = UpstreamRepository>
112 bool m_domainHasBeenSet =
false;
115 bool m_domainOwnerHasBeenSet =
false;
118 bool m_repositoryHasBeenSet =
false;
121 bool m_descriptionHasBeenSet =
false;
124 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