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
57 template<
typename LicenseConfigurationIdT = Aws::String>
58 void SetLicenseConfigurationId(LicenseConfigurationIdT&& value) { m_licenseConfigurationIdHasBeenSet =
true; m_licenseConfigurationId = std::forward<LicenseConfigurationIdT>(value); }
59 template<
typename LicenseConfigurationIdT = Aws::String>
69 template<
typename LicenseConfigurationArnT = Aws::String>
70 void SetLicenseConfigurationArn(LicenseConfigurationArnT&& value) { m_licenseConfigurationArnHasBeenSet =
true; m_licenseConfigurationArn = std::forward<LicenseConfigurationArnT>(value); }
71 template<
typename LicenseConfigurationArnT = Aws::String>
81 template<
typename NameT = Aws::String>
82 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
83 template<
typename NameT = Aws::String>
93 template<
typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
95 template<
typename DescriptionT = Aws::String>
115 template<
typename LicenseRulesT = Aws::Vector<Aws::String>>
116 void SetLicenseRules(LicenseRulesT&& value) { m_licenseRulesHasBeenSet =
true; m_licenseRules = std::forward<LicenseRulesT>(value); }
117 template<
typename LicenseRulesT = Aws::Vector<Aws::String>>
119 template<
typename LicenseRulesT = Aws::String>
129 inline void SetLicenseCount(
long long value) { m_licenseCountHasBeenSet =
true; m_licenseCount = value; }
159 inline void SetConsumedLicenses(
long long value) { m_consumedLicensesHasBeenSet =
true; m_consumedLicenses = value; }
169 template<
typename StatusT = Aws::String>
170 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
171 template<
typename StatusT = Aws::String>
181 template<
typename OwnerAccountIdT = Aws::String>
182 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
183 template<
typename OwnerAccountIdT = Aws::String>
193 template<
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
194 void SetConsumedLicenseSummaryList(ConsumedLicenseSummaryListT&& value) { m_consumedLicenseSummaryListHasBeenSet =
true; m_consumedLicenseSummaryList = std::forward<ConsumedLicenseSummaryListT>(value); }
195 template<
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
197 template<
typename ConsumedLicenseSummaryListT = ConsumedLicenseSummary>
207 template<
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
208 void SetManagedResourceSummaryList(ManagedResourceSummaryListT&& value) { m_managedResourceSummaryListHasBeenSet =
true; m_managedResourceSummaryList = std::forward<ManagedResourceSummaryListT>(value); }
209 template<
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
211 template<
typename ManagedResourceSummaryListT = ManagedResourceSummary>
221 template<
typename ProductInformationListT = Aws::Vector<ProductInformation>>
222 void SetProductInformationList(ProductInformationListT&& value) { m_productInformationListHasBeenSet =
true; m_productInformationList = std::forward<ProductInformationListT>(value); }
223 template<
typename ProductInformationListT = Aws::Vector<ProductInformation>>
225 template<
typename ProductInformationListT = ProductInformation>
235 template<
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
236 void SetAutomatedDiscoveryInformation(AutomatedDiscoveryInformationT&& value) { m_automatedDiscoveryInformationHasBeenSet =
true; m_automatedDiscoveryInformation = std::forward<AutomatedDiscoveryInformationT>(value); }
237 template<
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
243 bool m_licenseConfigurationIdHasBeenSet =
false;
246 bool m_licenseConfigurationArnHasBeenSet =
false;
249 bool m_nameHasBeenSet =
false;
252 bool m_descriptionHasBeenSet =
false;
255 bool m_licenseCountingTypeHasBeenSet =
false;
258 bool m_licenseRulesHasBeenSet =
false;
260 long long m_licenseCount{0};
261 bool m_licenseCountHasBeenSet =
false;
263 bool m_licenseCountHardLimit{
false};
264 bool m_licenseCountHardLimitHasBeenSet =
false;
266 bool m_disassociateWhenNotFound{
false};
267 bool m_disassociateWhenNotFoundHasBeenSet =
false;
269 long long m_consumedLicenses{0};
270 bool m_consumedLicensesHasBeenSet =
false;
273 bool m_statusHasBeenSet =
false;
276 bool m_ownerAccountIdHasBeenSet =
false;
279 bool m_consumedLicenseSummaryListHasBeenSet =
false;
282 bool m_managedResourceSummaryListHasBeenSet =
false;
285 bool m_productInformationListHasBeenSet =
false;
287 AutomatedDiscoveryInformation m_automatedDiscoveryInformation;
288 bool m_automatedDiscoveryInformationHasBeenSet =
false;
void SetOwnerAccountId(OwnerAccountIdT &&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)
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)
const Aws::String & GetName() const
bool AutomatedDiscoveryInformationHasBeenSet() const
LicenseConfiguration & AddLicenseRules(LicenseRulesT &&value)
LicenseConfiguration & WithName(NameT &&value)
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