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>
12#include <aws/codeartifact/model/Tag.h>
50 template<
typename DomainT = Aws::String>
51 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
52 template<
typename DomainT = Aws::String>
63 template<
typename DomainOwnerT = Aws::String>
64 void SetDomainOwner(DomainOwnerT&& value) { m_domainOwnerHasBeenSet =
true; m_domainOwner = std::forward<DomainOwnerT>(value); }
65 template<
typename DomainOwnerT = Aws::String>
75 template<
typename RepositoryT = Aws::String>
76 void SetRepository(RepositoryT&& value) { m_repositoryHasBeenSet =
true; m_repository = std::forward<RepositoryT>(value); }
77 template<
typename RepositoryT = Aws::String>
87 template<
typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
89 template<
typename DescriptionT = Aws::String>
103 template<
typename UpstreamsT = Aws::Vector<UpstreamRepository>>
104 void SetUpstreams(UpstreamsT&& value) { m_upstreamsHasBeenSet =
true; m_upstreams = std::forward<UpstreamsT>(value); }
105 template<
typename UpstreamsT = Aws::Vector<UpstreamRepository>>
107 template<
typename UpstreamsT = UpstreamRepository>
117 template<
typename TagsT = Aws::Vector<Tag>>
118 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
119 template<
typename TagsT = Aws::Vector<Tag>>
121 template<
typename TagsT = Tag>
127 bool m_domainHasBeenSet =
false;
130 bool m_domainOwnerHasBeenSet =
false;
133 bool m_repositoryHasBeenSet =
false;
136 bool m_descriptionHasBeenSet =
false;
139 bool m_upstreamsHasBeenSet =
false;
142 bool m_tagsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool DomainHasBeenSet() const
CreateRepositoryRequest & WithDomain(DomainT &&value)
const Aws::String & GetDomain() const
void SetDomain(DomainT &&value)
CreateRepositoryRequest & WithUpstreams(UpstreamsT &&value)
CreateRepositoryRequest & WithTags(TagsT &&value)
bool RepositoryHasBeenSet() const
CreateRepositoryRequest & WithRepository(RepositoryT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateRepositoryRequest & WithDomainOwner(DomainOwnerT &&value)
void SetDescription(DescriptionT &&value)
CreateRepositoryRequest & AddTags(TagsT &&value)
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetTags(TagsT &&value)
void SetRepository(RepositoryT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetDomainOwner() const
void SetUpstreams(UpstreamsT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetRepository() const
CreateRepositoryRequest & AddUpstreams(UpstreamsT &&value)
bool TagsHasBeenSet() const
AWS_CODEARTIFACT_API CreateRepositoryRequest()=default
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
bool UpstreamsHasBeenSet() const
bool DomainOwnerHasBeenSet() const
const Aws::Vector< UpstreamRepository > & GetUpstreams() const
void SetDomainOwner(DomainOwnerT &&value)
CreateRepositoryRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector