7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/model/LicenseCountingType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/license-manager/model/AutomatedDiscoveryInformation.h>
12#include <aws/license-manager/model/ConsumedLicenseSummary.h>
13#include <aws/license-manager/model/ManagedResourceSummary.h>
14#include <aws/license-manager/model/ProductInformation.h>
27namespace LicenseManager
59 inline void SetLicenseConfigurationId(
const char* value) { m_licenseConfigurationIdHasBeenSet =
true; m_licenseConfigurationId.assign(value); }
73 inline void SetLicenseConfigurationArn(
const char* value) { m_licenseConfigurationArnHasBeenSet =
true; m_licenseConfigurationArn.assign(value); }
87 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
101 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
140 inline void SetLicenseCount(
long long value) { m_licenseCountHasBeenSet =
true; m_licenseCount = value; }
170 inline void SetConsumedLicenses(
long long value) { m_consumedLicensesHasBeenSet =
true; m_consumedLicenses = value; }
182 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
196 inline void SetOwnerAccountId(
const char* value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId.assign(value); }
258 bool m_licenseConfigurationIdHasBeenSet =
false;
261 bool m_licenseConfigurationArnHasBeenSet =
false;
264 bool m_nameHasBeenSet =
false;
267 bool m_descriptionHasBeenSet =
false;
270 bool m_licenseCountingTypeHasBeenSet =
false;
273 bool m_licenseRulesHasBeenSet =
false;
275 long long m_licenseCount;
276 bool m_licenseCountHasBeenSet =
false;
278 bool m_licenseCountHardLimit;
279 bool m_licenseCountHardLimitHasBeenSet =
false;
281 bool m_disassociateWhenNotFound;
282 bool m_disassociateWhenNotFoundHasBeenSet =
false;
284 long long m_consumedLicenses;
285 bool m_consumedLicensesHasBeenSet =
false;
288 bool m_statusHasBeenSet =
false;
291 bool m_ownerAccountIdHasBeenSet =
false;
294 bool m_consumedLicenseSummaryListHasBeenSet =
false;
297 bool m_managedResourceSummaryListHasBeenSet =
false;
300 bool m_productInformationListHasBeenSet =
false;
303 bool m_automatedDiscoveryInformationHasBeenSet =
false;
LicenseConfiguration & AddProductInformationList(const ProductInformation &value)
void SetConsumedLicenseSummaryList(Aws::Vector< ConsumedLicenseSummary > &&value)
LicenseConfiguration & WithLicenseCount(long long value)
const Aws::String & GetLicenseConfigurationId() const
LicenseConfiguration & WithStatus(const char *value)
LicenseConfiguration & AddConsumedLicenseSummaryList(ConsumedLicenseSummary &&value)
bool ConsumedLicensesHasBeenSet() const
LicenseConfiguration & AddLicenseRules(const char *value)
void SetProductInformationList(const Aws::Vector< ProductInformation > &value)
LicenseConfiguration & WithLicenseConfigurationArn(const Aws::String &value)
LicenseConfiguration & WithOwnerAccountId(const Aws::String &value)
const Aws::Vector< ConsumedLicenseSummary > & GetConsumedLicenseSummaryList() const
LicenseConfiguration & WithLicenseConfigurationId(Aws::String &&value)
LicenseConfiguration & AddLicenseRules(Aws::String &&value)
LicenseConfiguration & AddLicenseRules(const Aws::String &value)
void SetAutomatedDiscoveryInformation(AutomatedDiscoveryInformation &&value)
LicenseConfiguration & WithLicenseCountingType(LicenseCountingType &&value)
LicenseConfiguration & WithLicenseConfigurationArn(Aws::String &&value)
void SetOwnerAccountId(const char *value)
void SetManagedResourceSummaryList(Aws::Vector< ManagedResourceSummary > &&value)
LicenseConfiguration & WithLicenseCountHardLimit(bool value)
const Aws::Vector< Aws::String > & GetLicenseRules() const
LicenseConfiguration & WithProductInformationList(const Aws::Vector< ProductInformation > &value)
LicenseConfiguration & WithLicenseConfigurationArn(const char *value)
void SetProductInformationList(Aws::Vector< ProductInformation > &&value)
LicenseConfiguration & WithLicenseRules(Aws::Vector< Aws::String > &&value)
long long GetLicenseCount() const
const LicenseCountingType & GetLicenseCountingType() const
bool ManagedResourceSummaryListHasBeenSet() const
void SetStatus(Aws::String &&value)
LicenseConfiguration & WithDescription(const Aws::String &value)
bool LicenseCountHardLimitHasBeenSet() const
AWS_LICENSEMANAGER_API LicenseConfiguration()
LicenseConfiguration & AddProductInformationList(ProductInformation &&value)
void SetConsumedLicenseSummaryList(const Aws::Vector< ConsumedLicenseSummary > &value)
void SetLicenseConfigurationArn(Aws::String &&value)
LicenseConfiguration & WithName(const char *value)
void SetAutomatedDiscoveryInformation(const AutomatedDiscoveryInformation &value)
bool LicenseCountingTypeHasBeenSet() const
bool DescriptionHasBeenSet() const
LicenseConfiguration & WithAutomatedDiscoveryInformation(AutomatedDiscoveryInformation &&value)
const Aws::String & GetOwnerAccountId() const
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
LicenseConfiguration & WithDescription(const char *value)
bool ConsumedLicenseSummaryListHasBeenSet() const
bool OwnerAccountIdHasBeenSet() const
bool StatusHasBeenSet() const
void SetName(const char *value)
void SetName(const Aws::String &value)
bool DisassociateWhenNotFoundHasBeenSet() const
LicenseConfiguration & WithOwnerAccountId(const char *value)
LicenseConfiguration & WithLicenseConfigurationId(const char *value)
void SetOwnerAccountId(Aws::String &&value)
AWS_LICENSEMANAGER_API LicenseConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool LicenseConfigurationArnHasBeenSet() const
void SetStatus(const Aws::String &value)
void SetDescription(const char *value)
const Aws::Vector< ProductInformation > & GetProductInformationList() const
LicenseConfiguration & WithConsumedLicenseSummaryList(const Aws::Vector< ConsumedLicenseSummary > &value)
const Aws::String & GetLicenseConfigurationArn() const
void SetLicenseCountingType(const LicenseCountingType &value)
const Aws::String & GetStatus() const
void SetLicenseCount(long long value)
LicenseConfiguration & AddManagedResourceSummaryList(ManagedResourceSummary &&value)
void SetLicenseConfigurationId(const char *value)
LicenseConfiguration & WithConsumedLicenseSummaryList(Aws::Vector< ConsumedLicenseSummary > &&value)
const AutomatedDiscoveryInformation & GetAutomatedDiscoveryInformation() const
void SetOwnerAccountId(const Aws::String &value)
LicenseConfiguration & WithStatus(const Aws::String &value)
LicenseConfiguration & WithName(const Aws::String &value)
void SetLicenseRules(const Aws::Vector< Aws::String > &value)
void SetManagedResourceSummaryList(const Aws::Vector< ManagedResourceSummary > &value)
void SetLicenseCountHardLimit(bool value)
LicenseConfiguration & WithManagedResourceSummaryList(Aws::Vector< ManagedResourceSummary > &&value)
bool NameHasBeenSet() const
void SetConsumedLicenses(long long value)
long long GetConsumedLicenses() const
bool ProductInformationListHasBeenSet() const
LicenseConfiguration & WithProductInformationList(Aws::Vector< ProductInformation > &&value)
void SetDescription(const Aws::String &value)
AWS_LICENSEMANAGER_API LicenseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LicenseConfiguration & WithDisassociateWhenNotFound(bool value)
const Aws::String & GetName() const
void SetLicenseConfigurationArn(const Aws::String &value)
bool AutomatedDiscoveryInformationHasBeenSet() const
void SetLicenseConfigurationArn(const char *value)
void SetLicenseConfigurationId(Aws::String &&value)
LicenseConfiguration & AddConsumedLicenseSummaryList(const ConsumedLicenseSummary &value)
bool LicenseRulesHasBeenSet() const
LicenseConfiguration & WithLicenseCountingType(const LicenseCountingType &value)
bool GetLicenseCountHardLimit() const
bool LicenseCountHasBeenSet() const
bool LicenseConfigurationIdHasBeenSet() const
LicenseConfiguration & WithConsumedLicenses(long long value)
void SetDescription(Aws::String &&value)
void SetLicenseCountingType(LicenseCountingType &&value)
LicenseConfiguration & AddManagedResourceSummaryList(const ManagedResourceSummary &value)
void SetStatus(const char *value)
LicenseConfiguration & WithOwnerAccountId(Aws::String &&value)
void SetLicenseConfigurationId(const Aws::String &value)
void SetDisassociateWhenNotFound(bool value)
void SetName(Aws::String &&value)
const Aws::String & GetDescription() const
LicenseConfiguration & WithLicenseConfigurationId(const Aws::String &value)
const Aws::Vector< ManagedResourceSummary > & GetManagedResourceSummaryList() const
bool GetDisassociateWhenNotFound() const
LicenseConfiguration & WithStatus(Aws::String &&value)
void SetLicenseRules(Aws::Vector< Aws::String > &&value)
LicenseConfiguration & WithName(Aws::String &&value)
LicenseConfiguration & WithLicenseRules(const Aws::Vector< Aws::String > &value)
LicenseConfiguration & WithDescription(Aws::String &&value)
LicenseConfiguration & WithManagedResourceSummaryList(const Aws::Vector< ManagedResourceSummary > &value)
LicenseConfiguration & WithAutomatedDiscoveryInformation(const AutomatedDiscoveryInformation &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