7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManagerRequest.h>
10#include <aws/license-manager/LicenseManager_EXPORTS.h>
11#include <aws/license-manager/model/LicenseAssetRule.h>
12#include <aws/license-manager/model/Tag.h>
17namespace LicenseManager {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
78 template <
typename RulesT = Aws::Vector<LicenseAssetRule>>
80 m_rulesHasBeenSet =
true;
81 m_rules = std::forward<RulesT>(value);
83 template <
typename RulesT = Aws::Vector<LicenseAssetRule>>
85 SetRules(std::forward<RulesT>(value));
88 template <
typename RulesT = LicenseAssetRule>
90 m_rulesHasBeenSet =
true;
91 m_rules.emplace_back(std::forward<RulesT>(value));
102 template <
typename TagsT = Aws::Vector<Tag>>
104 m_tagsHasBeenSet =
true;
105 m_tags = std::forward<TagsT>(value);
107 template <
typename TagsT = Aws::Vector<Tag>>
109 SetTags(std::forward<TagsT>(value));
112 template <
typename TagsT = Tag>
114 m_tagsHasBeenSet =
true;
115 m_tags.emplace_back(std::forward<TagsT>(value));
127 template <
typename ClientTokenT = Aws::String>
129 m_clientTokenHasBeenSet =
true;
130 m_clientToken = std::forward<ClientTokenT>(value);
132 template <
typename ClientTokenT = Aws::String>
148 bool m_nameHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
150 bool m_rulesHasBeenSet =
false;
151 bool m_tagsHasBeenSet =
false;
152 bool m_clientTokenHasBeenSet =
false;
CreateLicenseAssetRulesetRequest & AddRules(RulesT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClientToken() const
CreateLicenseAssetRulesetRequest & WithName(NameT &&value)
CreateLicenseAssetRulesetRequest & WithRules(RulesT &&value)
bool NameHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
void SetRules(RulesT &&value)
bool RulesHasBeenSet() const
CreateLicenseAssetRulesetRequest & WithTags(TagsT &&value)
CreateLicenseAssetRulesetRequest & WithClientToken(ClientTokenT &&value)
CreateLicenseAssetRulesetRequest & AddTags(TagsT &&value)
CreateLicenseAssetRulesetRequest & WithDescription(DescriptionT &&value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< LicenseAssetRule > & GetRules() const
void SetClientToken(ClientTokenT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
AWS_LICENSEMANAGER_API CreateLicenseAssetRulesetRequest()=default
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetDescription() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector