7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/LicenseAssetRule.h>
21namespace 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 LicenseAssetRulesetArnT = Aws::String>
104 m_licenseAssetRulesetArnHasBeenSet =
true;
105 m_licenseAssetRulesetArn = std::forward<LicenseAssetRulesetArnT>(value);
107 template <
typename LicenseAssetRulesetArnT = Aws::String>
121 bool m_nameHasBeenSet =
false;
122 bool m_descriptionHasBeenSet =
false;
123 bool m_rulesHasBeenSet =
false;
124 bool m_licenseAssetRulesetArnHasBeenSet =
false;
LicenseAssetRuleset & WithName(NameT &&value)
LicenseAssetRuleset & WithDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
void SetRules(RulesT &&value)
LicenseAssetRuleset & WithRules(RulesT &&value)
AWS_LICENSEMANAGER_API LicenseAssetRuleset & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLicenseAssetRulesetArn() const
const Aws::Vector< LicenseAssetRule > & GetRules() const
const Aws::String & GetDescription() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetLicenseAssetRulesetArn(LicenseAssetRulesetArnT &&value)
AWS_LICENSEMANAGER_API LicenseAssetRuleset()=default
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool RulesHasBeenSet() const
LicenseAssetRuleset & AddRules(RulesT &&value)
AWS_LICENSEMANAGER_API LicenseAssetRuleset(Aws::Utils::Json::JsonView jsonValue)
LicenseAssetRuleset & WithLicenseAssetRulesetArn(LicenseAssetRulesetArnT &&value)
bool DescriptionHasBeenSet() const
bool LicenseAssetRulesetArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue