7#include <aws/codeartifact/CodeArtifactRequest.h>
8#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
9#include <aws/codeartifact/model/Tag.h>
10#include <aws/codeartifact/model/UpstreamRepository.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace CodeArtifact {
45 template <
typename DomainT = Aws::String>
47 m_domainHasBeenSet =
true;
48 m_domain = std::forward<DomainT>(value);
50 template <
typename DomainT = Aws::String>
64 template <
typename DomainOwnerT = Aws::String>
66 m_domainOwnerHasBeenSet =
true;
67 m_domainOwner = std::forward<DomainOwnerT>(value);
69 template <
typename DomainOwnerT = Aws::String>
82 template <
typename RepositoryT = Aws::String>
84 m_repositoryHasBeenSet =
true;
85 m_repository = std::forward<RepositoryT>(value);
87 template <
typename RepositoryT = Aws::String>
100 template <
typename DescriptionT = Aws::String>
102 m_descriptionHasBeenSet =
true;
103 m_description = std::forward<DescriptionT>(value);
105 template <
typename DescriptionT = Aws::String>
122 template <
typename UpstreamsT = Aws::Vector<UpstreamRepository>>
124 m_upstreamsHasBeenSet =
true;
125 m_upstreams = std::forward<UpstreamsT>(value);
127 template <
typename UpstreamsT = Aws::Vector<UpstreamRepository>>
132 template <
typename UpstreamsT = UpstreamRepository>
134 m_upstreamsHasBeenSet =
true;
135 m_upstreams.emplace_back(std::forward<UpstreamsT>(value));
146 template <
typename TagsT = Aws::Vector<Tag>>
148 m_tagsHasBeenSet =
true;
149 m_tags = std::forward<TagsT>(value);
151 template <
typename TagsT = Aws::Vector<Tag>>
153 SetTags(std::forward<TagsT>(value));
156 template <
typename TagsT = Tag>
158 m_tagsHasBeenSet =
true;
159 m_tags.emplace_back(std::forward<TagsT>(value));
175 bool m_domainHasBeenSet =
false;
176 bool m_domainOwnerHasBeenSet =
false;
177 bool m_repositoryHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
179 bool m_upstreamsHasBeenSet =
false;
180 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