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/LicenseConfigurationStatus.h>
12#include <aws/license-manager/model/ProductInformation.h>
17namespace LicenseManager {
42 template <
typename LicenseConfigurationArnT = Aws::String>
44 m_licenseConfigurationArnHasBeenSet =
true;
45 m_licenseConfigurationArn = std::forward<LicenseConfigurationArnT>(value);
47 template <
typename LicenseConfigurationArnT = Aws::String>
61 m_licenseConfigurationStatusHasBeenSet =
true;
62 m_licenseConfigurationStatus = value;
77 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
79 m_licenseRulesHasBeenSet =
true;
80 m_licenseRules = std::forward<LicenseRulesT>(value);
82 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
87 template <
typename LicenseRulesT = Aws::String>
89 m_licenseRulesHasBeenSet =
true;
90 m_licenseRules.emplace_back(std::forward<LicenseRulesT>(value));
102 m_licenseCountHasBeenSet =
true;
103 m_licenseCount = value;
118 m_licenseCountHardLimitHasBeenSet =
true;
119 m_licenseCountHardLimit = value;
133 template <
typename NameT = Aws::String>
135 m_nameHasBeenSet =
true;
136 m_name = std::forward<NameT>(value);
138 template <
typename NameT = Aws::String>
140 SetName(std::forward<NameT>(value));
151 template <
typename DescriptionT = Aws::String>
153 m_descriptionHasBeenSet =
true;
154 m_description = std::forward<DescriptionT>(value);
156 template <
typename DescriptionT = Aws::String>
169 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
171 m_productInformationListHasBeenSet =
true;
172 m_productInformationList = std::forward<ProductInformationListT>(value);
174 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
179 template <
typename ProductInformationListT = ProductInformation>
181 m_productInformationListHasBeenSet =
true;
182 m_productInformationList.emplace_back(std::forward<ProductInformationListT>(value));
194 m_disassociateWhenNotFoundHasBeenSet =
true;
195 m_disassociateWhenNotFound = value;
210 m_licenseExpiryHasBeenSet =
true;
211 m_licenseExpiry = value;
225 long long m_licenseCount{0};
227 bool m_licenseCountHardLimit{
false};
235 bool m_disassociateWhenNotFound{
false};
237 long long m_licenseExpiry{0};
238 bool m_licenseConfigurationArnHasBeenSet =
false;
239 bool m_licenseConfigurationStatusHasBeenSet =
false;
240 bool m_licenseRulesHasBeenSet =
false;
241 bool m_licenseCountHasBeenSet =
false;
242 bool m_licenseCountHardLimitHasBeenSet =
false;
243 bool m_nameHasBeenSet =
false;
244 bool m_descriptionHasBeenSet =
false;
245 bool m_productInformationListHasBeenSet =
false;
246 bool m_disassociateWhenNotFoundHasBeenSet =
false;
247 bool m_licenseExpiryHasBeenSet =
false;
UpdateLicenseConfigurationRequest & AddProductInformationList(ProductInformationListT &&value)
UpdateLicenseConfigurationRequest & WithLicenseCount(long long value)
UpdateLicenseConfigurationRequest & WithLicenseConfigurationStatus(LicenseConfigurationStatus value)
AWS_LICENSEMANAGER_API UpdateLicenseConfigurationRequest()=default
UpdateLicenseConfigurationRequest & WithName(NameT &&value)
UpdateLicenseConfigurationRequest & WithLicenseRules(LicenseRulesT &&value)
void SetLicenseCount(long long value)
AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetLicenseConfigurationArn(LicenseConfigurationArnT &&value)
virtual const char * GetServiceRequestName() const override
bool ProductInformationListHasBeenSet() const
void SetLicenseExpiry(long long value)
UpdateLicenseConfigurationRequest & WithProductInformationList(ProductInformationListT &&value)
UpdateLicenseConfigurationRequest & WithLicenseConfigurationArn(LicenseConfigurationArnT &&value)
UpdateLicenseConfigurationRequest & WithLicenseExpiry(long long value)
const Aws::String & GetLicenseConfigurationArn() const
AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override
UpdateLicenseConfigurationRequest & AddLicenseRules(LicenseRulesT &&value)
void SetDisassociateWhenNotFound(bool value)
long long GetLicenseExpiry() const
bool LicenseCountHasBeenSet() const
const Aws::String & GetName() const
UpdateLicenseConfigurationRequest & WithDisassociateWhenNotFound(bool value)
bool LicenseConfigurationStatusHasBeenSet() const
void SetLicenseRules(LicenseRulesT &&value)
bool NameHasBeenSet() const
bool LicenseCountHardLimitHasBeenSet() const
bool LicenseRulesHasBeenSet() const
bool GetLicenseCountHardLimit() const
void SetName(NameT &&value)
long long GetLicenseCount() const
const Aws::Vector< ProductInformation > & GetProductInformationList() const
LicenseConfigurationStatus GetLicenseConfigurationStatus() const
bool LicenseExpiryHasBeenSet() const
void SetLicenseConfigurationStatus(LicenseConfigurationStatus value)
bool GetDisassociateWhenNotFound() const
bool DescriptionHasBeenSet() const
void SetProductInformationList(ProductInformationListT &&value)
UpdateLicenseConfigurationRequest & WithLicenseCountHardLimit(bool value)
bool LicenseConfigurationArnHasBeenSet() const
UpdateLicenseConfigurationRequest & WithDescription(DescriptionT &&value)
void SetLicenseCountHardLimit(bool value)
const Aws::Vector< Aws::String > & GetLicenseRules() const
const Aws::String & GetDescription() const
bool DisassociateWhenNotFoundHasBeenSet() const
void SetDescription(DescriptionT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
LicenseConfigurationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector