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>
16namespace LicenseManager {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename RulesT = Aws::Vector<LicenseAssetRule>>
79 m_rulesHasBeenSet =
true;
80 m_rules = std::forward<RulesT>(value);
82 template <
typename RulesT = Aws::Vector<LicenseAssetRule>>
84 SetRules(std::forward<RulesT>(value));
87 template <
typename RulesT = LicenseAssetRule>
89 m_rulesHasBeenSet =
true;
90 m_rules.emplace_back(std::forward<RulesT>(value));
101 template <
typename LicenseAssetRulesetArnT = Aws::String>
103 m_licenseAssetRulesetArnHasBeenSet =
true;
104 m_licenseAssetRulesetArn = std::forward<LicenseAssetRulesetArnT>(value);
106 template <
typename LicenseAssetRulesetArnT = Aws::String>
120 template <
typename ClientTokenT = Aws::String>
122 m_clientTokenHasBeenSet =
true;
123 m_clientToken = std::forward<ClientTokenT>(value);
125 template <
typename ClientTokenT = Aws::String>
141 bool m_nameHasBeenSet =
false;
142 bool m_descriptionHasBeenSet =
false;
143 bool m_rulesHasBeenSet =
false;
144 bool m_licenseAssetRulesetArnHasBeenSet =
false;
145 bool m_clientTokenHasBeenSet =
false;
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< LicenseAssetRule > & GetRules() const
UpdateLicenseAssetRulesetRequest & WithName(NameT &&value)
void SetLicenseAssetRulesetArn(LicenseAssetRulesetArnT &&value)
UpdateLicenseAssetRulesetRequest & WithLicenseAssetRulesetArn(LicenseAssetRulesetArnT &&value)
const Aws::String & GetLicenseAssetRulesetArn() const
bool LicenseAssetRulesetArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
UpdateLicenseAssetRulesetRequest & WithDescription(DescriptionT &&value)
UpdateLicenseAssetRulesetRequest & WithRules(RulesT &&value)
void SetRules(RulesT &&value)
bool RulesHasBeenSet() const
AWS_LICENSEMANAGER_API UpdateLicenseAssetRulesetRequest()=default
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetDescription() const
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
const Aws::String & GetClientToken() const
bool NameHasBeenSet() const
UpdateLicenseAssetRulesetRequest & AddRules(RulesT &&value)
bool ClientTokenHasBeenSet() const
UpdateLicenseAssetRulesetRequest & WithClientToken(ClientTokenT &&value)
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