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/LicenseCountingType.h>
12#include <aws/license-manager/model/ProductInformation.h>
13#include <aws/license-manager/model/Tag.h>
18namespace LicenseManager {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
80 m_licenseCountingTypeHasBeenSet =
true;
81 m_licenseCountingType = value;
96 m_licenseCountHasBeenSet =
true;
97 m_licenseCount = value;
113 m_licenseCountHardLimitHasBeenSet =
true;
114 m_licenseCountHardLimit = value;
145 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
147 m_licenseRulesHasBeenSet =
true;
148 m_licenseRules = std::forward<LicenseRulesT>(value);
150 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
155 template <
typename LicenseRulesT = Aws::String>
157 m_licenseRulesHasBeenSet =
true;
158 m_licenseRules.emplace_back(std::forward<LicenseRulesT>(value));
169 template <
typename TagsT = Aws::Vector<Tag>>
171 m_tagsHasBeenSet =
true;
172 m_tags = std::forward<TagsT>(value);
174 template <
typename TagsT = Aws::Vector<Tag>>
176 SetTags(std::forward<TagsT>(value));
179 template <
typename TagsT = Tag>
181 m_tagsHasBeenSet =
true;
182 m_tags.emplace_back(std::forward<TagsT>(value));
194 m_disassociateWhenNotFoundHasBeenSet =
true;
195 m_disassociateWhenNotFound = value;
209 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
211 m_productInformationListHasBeenSet =
true;
212 m_productInformationList = std::forward<ProductInformationListT>(value);
214 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
219 template <
typename ProductInformationListT = ProductInformation>
221 m_productInformationListHasBeenSet =
true;
222 m_productInformationList.emplace_back(std::forward<ProductInformationListT>(value));
234 m_licenseExpiryHasBeenSet =
true;
235 m_licenseExpiry = value;
249 long long m_licenseCount{0};
251 bool m_licenseCountHardLimit{
false};
257 bool m_disassociateWhenNotFound{
false};
261 long long m_licenseExpiry{0};
262 bool m_nameHasBeenSet =
false;
263 bool m_descriptionHasBeenSet =
false;
264 bool m_licenseCountingTypeHasBeenSet =
false;
265 bool m_licenseCountHasBeenSet =
false;
266 bool m_licenseCountHardLimitHasBeenSet =
false;
267 bool m_licenseRulesHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
269 bool m_disassociateWhenNotFoundHasBeenSet =
false;
270 bool m_productInformationListHasBeenSet =
false;
271 bool m_licenseExpiryHasBeenSet =
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 LicenseExpiryHasBeenSet() const
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)
void SetLicenseExpiry(long long value)
CreateLicenseConfigurationRequest & WithDisassociateWhenNotFound(bool value)
void SetTags(TagsT &&value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDescription() const
long long GetLicenseExpiry() 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
CreateLicenseConfigurationRequest & WithLicenseExpiry(long long value)
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