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/AutomatedDiscoveryInformation.h>
11#include <aws/license-manager/model/ConsumedLicenseSummary.h>
12#include <aws/license-manager/model/LicenseCountingType.h>
13#include <aws/license-manager/model/ManagedResourceSummary.h>
14#include <aws/license-manager/model/ProductInformation.h>
25namespace LicenseManager {
51 template <
typename LicenseConfigurationIdT = Aws::String>
53 m_licenseConfigurationIdHasBeenSet =
true;
54 m_licenseConfigurationId = std::forward<LicenseConfigurationIdT>(value);
56 template <
typename LicenseConfigurationIdT = Aws::String>
69 template <
typename LicenseConfigurationArnT = Aws::String>
71 m_licenseConfigurationArnHasBeenSet =
true;
72 m_licenseConfigurationArn = std::forward<LicenseConfigurationArnT>(value);
74 template <
typename LicenseConfigurationArnT = Aws::String>
87 template <
typename NameT = Aws::String>
89 m_nameHasBeenSet =
true;
90 m_name = std::forward<NameT>(value);
92 template <
typename NameT = Aws::String>
94 SetName(std::forward<NameT>(value));
105 template <
typename DescriptionT = Aws::String>
107 m_descriptionHasBeenSet =
true;
108 m_description = std::forward<DescriptionT>(value);
110 template <
typename DescriptionT = Aws::String>
124 m_licenseCountingTypeHasBeenSet =
true;
125 m_licenseCountingType = value;
139 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
141 m_licenseRulesHasBeenSet =
true;
142 m_licenseRules = std::forward<LicenseRulesT>(value);
144 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
149 template <
typename LicenseRulesT = Aws::String>
151 m_licenseRulesHasBeenSet =
true;
152 m_licenseRules.emplace_back(std::forward<LicenseRulesT>(value));
164 m_licenseCountHasBeenSet =
true;
165 m_licenseCount = value;
180 m_licenseCountHardLimitHasBeenSet =
true;
181 m_licenseCountHardLimit = value;
196 m_disassociateWhenNotFoundHasBeenSet =
true;
197 m_disassociateWhenNotFound = value;
212 m_consumedLicensesHasBeenSet =
true;
213 m_consumedLicenses = value;
227 template <
typename StatusT = Aws::String>
229 m_statusHasBeenSet =
true;
230 m_status = std::forward<StatusT>(value);
232 template <
typename StatusT = Aws::String>
245 template <
typename OwnerAccountIdT = Aws::String>
247 m_ownerAccountIdHasBeenSet =
true;
248 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
250 template <
typename OwnerAccountIdT = Aws::String>
263 template <
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
265 m_consumedLicenseSummaryListHasBeenSet =
true;
266 m_consumedLicenseSummaryList = std::forward<ConsumedLicenseSummaryListT>(value);
268 template <
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
273 template <
typename ConsumedLicenseSummaryListT = ConsumedLicenseSummary>
275 m_consumedLicenseSummaryListHasBeenSet =
true;
276 m_consumedLicenseSummaryList.emplace_back(std::forward<ConsumedLicenseSummaryListT>(value));
287 template <
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
289 m_managedResourceSummaryListHasBeenSet =
true;
290 m_managedResourceSummaryList = std::forward<ManagedResourceSummaryListT>(value);
292 template <
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
297 template <
typename ManagedResourceSummaryListT = ManagedResourceSummary>
299 m_managedResourceSummaryListHasBeenSet =
true;
300 m_managedResourceSummaryList.emplace_back(std::forward<ManagedResourceSummaryListT>(value));
311 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
313 m_productInformationListHasBeenSet =
true;
314 m_productInformationList = std::forward<ProductInformationListT>(value);
316 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
321 template <
typename ProductInformationListT = ProductInformation>
323 m_productInformationListHasBeenSet =
true;
324 m_productInformationList.emplace_back(std::forward<ProductInformationListT>(value));
335 template <
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
337 m_automatedDiscoveryInformationHasBeenSet =
true;
338 m_automatedDiscoveryInformation = std::forward<AutomatedDiscoveryInformationT>(value);
340 template <
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
354 m_licenseExpiryHasBeenSet =
true;
355 m_licenseExpiry = value;
375 long long m_licenseCount{0};
377 bool m_licenseCountHardLimit{
false};
379 bool m_disassociateWhenNotFound{
false};
381 long long m_consumedLicenses{0};
393 AutomatedDiscoveryInformation m_automatedDiscoveryInformation;
395 long long m_licenseExpiry{0};
396 bool m_licenseConfigurationIdHasBeenSet =
false;
397 bool m_licenseConfigurationArnHasBeenSet =
false;
398 bool m_nameHasBeenSet =
false;
399 bool m_descriptionHasBeenSet =
false;
400 bool m_licenseCountingTypeHasBeenSet =
false;
401 bool m_licenseRulesHasBeenSet =
false;
402 bool m_licenseCountHasBeenSet =
false;
403 bool m_licenseCountHardLimitHasBeenSet =
false;
404 bool m_disassociateWhenNotFoundHasBeenSet =
false;
405 bool m_consumedLicensesHasBeenSet =
false;
406 bool m_statusHasBeenSet =
false;
407 bool m_ownerAccountIdHasBeenSet =
false;
408 bool m_consumedLicenseSummaryListHasBeenSet =
false;
409 bool m_managedResourceSummaryListHasBeenSet =
false;
410 bool m_productInformationListHasBeenSet =
false;
411 bool m_automatedDiscoveryInformationHasBeenSet =
false;
412 bool m_licenseExpiryHasBeenSet =
false;
void SetOwnerAccountId(OwnerAccountIdT &&value)
void SetLicenseExpiry(long long value)
LicenseConfiguration & WithLicenseCount(long long value)
const Aws::String & GetLicenseConfigurationId() const
LicenseCountingType GetLicenseCountingType() const
bool ConsumedLicensesHasBeenSet() const
const Aws::Vector< ConsumedLicenseSummary > & GetConsumedLicenseSummaryList() const
LicenseConfiguration & WithOwnerAccountId(OwnerAccountIdT &&value)
LicenseConfiguration & WithLicenseCountHardLimit(bool value)
const Aws::Vector< Aws::String > & GetLicenseRules() const
long long GetLicenseCount() const
bool ManagedResourceSummaryListHasBeenSet() const
bool LicenseCountHardLimitHasBeenSet() const
LicenseConfiguration & WithLicenseRules(LicenseRulesT &&value)
bool LicenseCountingTypeHasBeenSet() const
LicenseConfiguration & WithProductInformationList(ProductInformationListT &&value)
bool DescriptionHasBeenSet() const
LicenseConfiguration & WithAutomatedDiscoveryInformation(AutomatedDiscoveryInformationT &&value)
LicenseConfiguration & AddManagedResourceSummaryList(ManagedResourceSummaryListT &&value)
LicenseConfiguration & WithLicenseExpiry(long long value)
const Aws::String & GetOwnerAccountId() const
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLicenseRules(LicenseRulesT &&value)
void SetLicenseCountingType(LicenseCountingType value)
bool ConsumedLicenseSummaryListHasBeenSet() const
bool OwnerAccountIdHasBeenSet() const
bool StatusHasBeenSet() const
bool DisassociateWhenNotFoundHasBeenSet() const
AWS_LICENSEMANAGER_API LicenseConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool LicenseConfigurationArnHasBeenSet() const
void SetConsumedLicenseSummaryList(ConsumedLicenseSummaryListT &&value)
void SetLicenseConfigurationArn(LicenseConfigurationArnT &&value)
AWS_LICENSEMANAGER_API LicenseConfiguration()=default
const Aws::Vector< ProductInformation > & GetProductInformationList() const
const Aws::String & GetLicenseConfigurationArn() const
const Aws::String & GetStatus() const
void SetManagedResourceSummaryList(ManagedResourceSummaryListT &&value)
void SetLicenseCount(long long value)
LicenseConfiguration & WithManagedResourceSummaryList(ManagedResourceSummaryListT &&value)
LicenseConfiguration & WithConsumedLicenseSummaryList(ConsumedLicenseSummaryListT &&value)
LicenseConfiguration & WithLicenseConfigurationId(LicenseConfigurationIdT &&value)
const AutomatedDiscoveryInformation & GetAutomatedDiscoveryInformation() const
void SetStatus(StatusT &&value)
void SetLicenseConfigurationId(LicenseConfigurationIdT &&value)
LicenseConfiguration & WithDescription(DescriptionT &&value)
void SetLicenseCountHardLimit(bool value)
bool NameHasBeenSet() const
void SetConsumedLicenses(long long value)
LicenseConfiguration & AddProductInformationList(ProductInformationListT &&value)
LicenseConfiguration & WithLicenseConfigurationArn(LicenseConfigurationArnT &&value)
LicenseConfiguration & AddConsumedLicenseSummaryList(ConsumedLicenseSummaryListT &&value)
long long GetConsumedLicenses() const
bool ProductInformationListHasBeenSet() const
AWS_LICENSEMANAGER_API LicenseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LicenseConfiguration & WithDisassociateWhenNotFound(bool value)
bool LicenseExpiryHasBeenSet() const
const Aws::String & GetName() const
bool AutomatedDiscoveryInformationHasBeenSet() const
LicenseConfiguration & AddLicenseRules(LicenseRulesT &&value)
LicenseConfiguration & WithName(NameT &&value)
long long GetLicenseExpiry() const
bool LicenseRulesHasBeenSet() const
LicenseConfiguration & WithStatus(StatusT &&value)
bool GetLicenseCountHardLimit() const
void SetProductInformationList(ProductInformationListT &&value)
bool LicenseCountHasBeenSet() const
bool LicenseConfigurationIdHasBeenSet() const
LicenseConfiguration & WithConsumedLicenses(long long value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetDisassociateWhenNotFound(bool value)
const Aws::String & GetDescription() const
LicenseConfiguration & WithLicenseCountingType(LicenseCountingType value)
const Aws::Vector< ManagedResourceSummary > & GetManagedResourceSummaryList() const
bool GetDisassociateWhenNotFound() const
void SetAutomatedDiscoveryInformation(AutomatedDiscoveryInformationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue