7#include <aws/codeartifact/CodeArtifactRequest.h>
8#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
9#include <aws/codeartifact/model/Tag.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>
82 template <
typename PackageGroupT = Aws::String>
84 m_packageGroupHasBeenSet =
true;
85 m_packageGroup = std::forward<PackageGroupT>(value);
87 template <
typename PackageGroupT = Aws::String>
100 template <
typename ContactInfoT = Aws::String>
102 m_contactInfoHasBeenSet =
true;
103 m_contactInfo = std::forward<ContactInfoT>(value);
105 template <
typename ContactInfoT = Aws::String>
118 template <
typename DescriptionT = Aws::String>
120 m_descriptionHasBeenSet =
true;
121 m_description = std::forward<DescriptionT>(value);
123 template <
typename DescriptionT = Aws::String>
136 template <
typename TagsT = Aws::Vector<Tag>>
138 m_tagsHasBeenSet =
true;
139 m_tags = std::forward<TagsT>(value);
141 template <
typename TagsT = Aws::Vector<Tag>>
143 SetTags(std::forward<TagsT>(value));
146 template <
typename TagsT = Tag>
148 m_tagsHasBeenSet =
true;
149 m_tags.emplace_back(std::forward<TagsT>(value));
165 bool m_domainHasBeenSet =
false;
166 bool m_domainOwnerHasBeenSet =
false;
167 bool m_packageGroupHasBeenSet =
false;
168 bool m_contactInfoHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
170 bool m_tagsHasBeenSet =
false;
CreatePackageGroupRequest & WithTags(TagsT &&value)
CreatePackageGroupRequest & WithDescription(DescriptionT &&value)
bool PackageGroupHasBeenSet() const
CreatePackageGroupRequest & WithPackageGroup(PackageGroupT &&value)
CreatePackageGroupRequest & WithDomain(DomainT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Tag > & GetTags() const
CreatePackageGroupRequest & AddTags(TagsT &&value)
void SetDomain(DomainT &&value)
bool ContactInfoHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetPackageGroup() const
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreatePackageGroupRequest & WithDomainOwner(DomainOwnerT &&value)
void SetDomainOwner(DomainOwnerT &&value)
const Aws::String & GetDomain() const
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetDomainOwner() const
bool DomainHasBeenSet() const
const Aws::String & GetDescription() const
AWS_CODEARTIFACT_API CreatePackageGroupRequest()=default
bool DescriptionHasBeenSet() const
CreatePackageGroupRequest & WithContactInfo(ContactInfoT &&value)
void SetTags(TagsT &&value)
void SetContactInfo(ContactInfoT &&value)
const Aws::String & GetContactInfo() const
void SetPackageGroup(PackageGroupT &&value)
bool DomainOwnerHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector