7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/LicenseManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager/model/LicenseCountingType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/license-manager/model/Tag.h>
13#include <aws/license-manager/model/ProductInformation.h>
18namespace LicenseManager
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
81 inline void SetLicenseCount(
long long value) { m_licenseCountHasBeenSet =
true; m_licenseCount = value; }
92 inline void SetLicenseCountHardLimit(
bool value) { m_licenseCountHardLimitHasBeenSet =
true; m_licenseCountHardLimit = value; }
119 template<
typename LicenseRulesT = Aws::Vector<Aws::String>>
120 void SetLicenseRules(LicenseRulesT&& value) { m_licenseRulesHasBeenSet =
true; m_licenseRules = std::forward<LicenseRulesT>(value); }
121 template<
typename LicenseRulesT = Aws::Vector<Aws::String>>
123 template<
typename LicenseRulesT = Aws::String>
133 template<
typename TagsT = Aws::Vector<Tag>>
134 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
135 template<
typename TagsT = Aws::Vector<Tag>>
137 template<
typename TagsT = Tag>
157 template<
typename ProductInformationListT = Aws::Vector<ProductInformation>>
158 void SetProductInformationList(ProductInformationListT&& value) { m_productInformationListHasBeenSet =
true; m_productInformationList = std::forward<ProductInformationListT>(value); }
159 template<
typename ProductInformationListT = Aws::Vector<ProductInformation>>
161 template<
typename ProductInformationListT = ProductInformation>
167 bool m_nameHasBeenSet =
false;
170 bool m_descriptionHasBeenSet =
false;
173 bool m_licenseCountingTypeHasBeenSet =
false;
175 long long m_licenseCount{0};
176 bool m_licenseCountHasBeenSet =
false;
178 bool m_licenseCountHardLimit{
false};
179 bool m_licenseCountHardLimitHasBeenSet =
false;
182 bool m_licenseRulesHasBeenSet =
false;
185 bool m_tagsHasBeenSet =
false;
187 bool m_disassociateWhenNotFound{
false};
188 bool m_disassociateWhenNotFoundHasBeenSet =
false;
191 bool m_productInformationListHasBeenSet =
false;
bool LicenseRulesHasBeenSet() const
const Aws::Vector< Aws::String > & GetLicenseRules() const
bool LicenseCountHardLimitHasBeenSet() const
CreateLicenseConfigurationRequest & WithProductInformationList(ProductInformationListT &&value)
CreateLicenseConfigurationRequest & AddProductInformationList(ProductInformationListT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetName() const
void SetLicenseCountHardLimit(bool value)
bool LicenseCountingTypeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreateLicenseConfigurationRequest & AddLicenseRules(LicenseRulesT &&value)
bool DisassociateWhenNotFoundHasBeenSet() const
CreateLicenseConfigurationRequest & WithDescription(DescriptionT &&value)
void SetDisassociateWhenNotFound(bool value)
CreateLicenseConfigurationRequest & WithLicenseCountHardLimit(bool value)
void SetName(NameT &&value)
void SetProductInformationList(ProductInformationListT &&value)
void SetDescription(DescriptionT &&value)
void SetLicenseCount(long long value)
void SetLicenseRules(LicenseRulesT &&value)
CreateLicenseConfigurationRequest & WithDisassociateWhenNotFound(bool value)
void SetTags(TagsT &&value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
bool GetDisassociateWhenNotFound() const
CreateLicenseConfigurationRequest & WithLicenseRules(LicenseRulesT &&value)
AWS_LICENSEMANAGER_API CreateLicenseConfigurationRequest()=default
bool LicenseCountHasBeenSet() const
bool ProductInformationListHasBeenSet() const
bool NameHasBeenSet() const
CreateLicenseConfigurationRequest & WithTags(TagsT &&value)
CreateLicenseConfigurationRequest & WithLicenseCount(long long value)
CreateLicenseConfigurationRequest & WithLicenseCountingType(LicenseCountingType value)
long long GetLicenseCount() const
virtual const char * GetServiceRequestName() const override
CreateLicenseConfigurationRequest & AddTags(TagsT &&value)
CreateLicenseConfigurationRequest & WithName(NameT &&value)
const Aws::Vector< ProductInformation > & GetProductInformationList() const
bool GetLicenseCountHardLimit() const
LicenseCountingType GetLicenseCountingType() const
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
void SetLicenseCountingType(LicenseCountingType value)
bool DescriptionHasBeenSet() 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