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/Tag.h>
15#include <aws/license-manager/model/ProductInformation.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
30namespace LicenseManager
47 template<
typename LicenseConfigurationIdT = Aws::String>
48 void SetLicenseConfigurationId(LicenseConfigurationIdT&& value) { m_licenseConfigurationIdHasBeenSet =
true; m_licenseConfigurationId = std::forward<LicenseConfigurationIdT>(value); }
49 template<
typename LicenseConfigurationIdT = Aws::String>
58 template<
typename LicenseConfigurationArnT = Aws::String>
59 void SetLicenseConfigurationArn(LicenseConfigurationArnT&& value) { m_licenseConfigurationArnHasBeenSet =
true; m_licenseConfigurationArn = std::forward<LicenseConfigurationArnT>(value); }
60 template<
typename LicenseConfigurationArnT = Aws::String>
69 template<
typename NameT = Aws::String>
70 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
71 template<
typename NameT = Aws::String>
80 template<
typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
82 template<
typename DescriptionT = Aws::String>
100 template<
typename LicenseRulesT = Aws::Vector<Aws::String>>
101 void SetLicenseRules(LicenseRulesT&& value) { m_licenseRulesHasBeenSet =
true; m_licenseRules = std::forward<LicenseRulesT>(value); }
102 template<
typename LicenseRulesT = Aws::Vector<Aws::String>>
104 template<
typename LicenseRulesT = Aws::String>
113 inline void SetLicenseCount(
long long value) { m_licenseCountHasBeenSet =
true; m_licenseCount = value; }
131 inline void SetConsumedLicenses(
long long value) { m_consumedLicensesHasBeenSet =
true; m_consumedLicenses = value; }
140 template<
typename StatusT = Aws::String>
141 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
142 template<
typename StatusT = Aws::String>
151 template<
typename OwnerAccountIdT = Aws::String>
152 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
153 template<
typename OwnerAccountIdT = Aws::String>
162 template<
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
163 void SetConsumedLicenseSummaryList(ConsumedLicenseSummaryListT&& value) { m_consumedLicenseSummaryListHasBeenSet =
true; m_consumedLicenseSummaryList = std::forward<ConsumedLicenseSummaryListT>(value); }
164 template<
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
166 template<
typename ConsumedLicenseSummaryListT = ConsumedLicenseSummary>
175 template<
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
176 void SetManagedResourceSummaryList(ManagedResourceSummaryListT&& value) { m_managedResourceSummaryListHasBeenSet =
true; m_managedResourceSummaryList = std::forward<ManagedResourceSummaryListT>(value); }
177 template<
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
179 template<
typename ManagedResourceSummaryListT = ManagedResourceSummary>
188 template<
typename TagsT = Aws::Vector<Tag>>
189 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
190 template<
typename TagsT = Aws::Vector<Tag>>
192 template<
typename TagsT = Tag>
201 template<
typename ProductInformationListT = Aws::Vector<ProductInformation>>
202 void SetProductInformationList(ProductInformationListT&& value) { m_productInformationListHasBeenSet =
true; m_productInformationList = std::forward<ProductInformationListT>(value); }
203 template<
typename ProductInformationListT = Aws::Vector<ProductInformation>>
205 template<
typename ProductInformationListT = ProductInformation>
214 template<
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
215 void SetAutomatedDiscoveryInformation(AutomatedDiscoveryInformationT&& value) { m_automatedDiscoveryInformationHasBeenSet =
true; m_automatedDiscoveryInformation = std::forward<AutomatedDiscoveryInformationT>(value); }
216 template<
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
232 template<
typename RequestIdT = Aws::String>
233 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
234 template<
typename RequestIdT = Aws::String>
240 bool m_licenseConfigurationIdHasBeenSet =
false;
243 bool m_licenseConfigurationArnHasBeenSet =
false;
246 bool m_nameHasBeenSet =
false;
249 bool m_descriptionHasBeenSet =
false;
252 bool m_licenseCountingTypeHasBeenSet =
false;
255 bool m_licenseRulesHasBeenSet =
false;
257 long long m_licenseCount{0};
258 bool m_licenseCountHasBeenSet =
false;
260 bool m_licenseCountHardLimit{
false};
261 bool m_licenseCountHardLimitHasBeenSet =
false;
263 long long m_consumedLicenses{0};
264 bool m_consumedLicensesHasBeenSet =
false;
267 bool m_statusHasBeenSet =
false;
270 bool m_ownerAccountIdHasBeenSet =
false;
273 bool m_consumedLicenseSummaryListHasBeenSet =
false;
276 bool m_managedResourceSummaryListHasBeenSet =
false;
279 bool m_tagsHasBeenSet =
false;
282 bool m_productInformationListHasBeenSet =
false;
284 AutomatedDiscoveryInformation m_automatedDiscoveryInformation;
285 bool m_automatedDiscoveryInformationHasBeenSet =
false;
287 bool m_disassociateWhenNotFound{
false};
288 bool m_disassociateWhenNotFoundHasBeenSet =
false;
291 bool m_requestIdHasBeenSet =
false;
void SetLicenseCount(long long value)
GetLicenseConfigurationResult & WithConsumedLicenseSummaryList(ConsumedLicenseSummaryListT &&value)
GetLicenseConfigurationResult & WithLicenseCount(long long value)
const Aws::Vector< ConsumedLicenseSummary > & GetConsumedLicenseSummaryList() const
GetLicenseConfigurationResult & WithLicenseCountHardLimit(bool value)
void SetRequestId(RequestIdT &&value)
GetLicenseConfigurationResult & WithDisassociateWhenNotFound(bool value)
AWS_LICENSEMANAGER_API GetLicenseConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDisassociateWhenNotFound(bool value)
void SetLicenseCountHardLimit(bool value)
GetLicenseConfigurationResult & WithTags(TagsT &&value)
GetLicenseConfigurationResult & WithLicenseConfigurationArn(LicenseConfigurationArnT &&value)
GetLicenseConfigurationResult & AddManagedResourceSummaryList(ManagedResourceSummaryListT &&value)
void SetName(NameT &&value)
GetLicenseConfigurationResult & WithOwnerAccountId(OwnerAccountIdT &&value)
long long GetLicenseCount() const
void SetManagedResourceSummaryList(ManagedResourceSummaryListT &&value)
GetLicenseConfigurationResult & WithLicenseConfigurationId(LicenseConfigurationIdT &&value)
void SetProductInformationList(ProductInformationListT &&value)
GetLicenseConfigurationResult & WithName(NameT &&value)
GetLicenseConfigurationResult & WithLicenseRules(LicenseRulesT &&value)
void SetLicenseCountingType(LicenseCountingType value)
GetLicenseConfigurationResult & AddConsumedLicenseSummaryList(ConsumedLicenseSummaryListT &&value)
bool GetDisassociateWhenNotFound() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetName() const
GetLicenseConfigurationResult & WithManagedResourceSummaryList(ManagedResourceSummaryListT &&value)
const Aws::String & GetDescription() const
GetLicenseConfigurationResult & AddProductInformationList(ProductInformationListT &&value)
void SetLicenseConfigurationArn(LicenseConfigurationArnT &&value)
const Aws::String & GetStatus() const
GetLicenseConfigurationResult & WithProductInformationList(ProductInformationListT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetOwnerAccountId() const
GetLicenseConfigurationResult & WithAutomatedDiscoveryInformation(AutomatedDiscoveryInformationT &&value)
GetLicenseConfigurationResult & AddTags(TagsT &&value)
AWS_LICENSEMANAGER_API GetLicenseConfigurationResult()=default
const Aws::Vector< ManagedResourceSummary > & GetManagedResourceSummaryList() const
LicenseCountingType GetLicenseCountingType() const
GetLicenseConfigurationResult & WithRequestId(RequestIdT &&value)
GetLicenseConfigurationResult & AddLicenseRules(LicenseRulesT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
const Aws::Vector< Aws::String > & GetLicenseRules() const
bool GetLicenseCountHardLimit() const
void SetLicenseConfigurationId(LicenseConfigurationIdT &&value)
GetLicenseConfigurationResult & WithDescription(DescriptionT &&value)
const AutomatedDiscoveryInformation & GetAutomatedDiscoveryInformation() const
void SetTags(TagsT &&value)
const Aws::String & GetLicenseConfigurationArn() const
void SetConsumedLicenses(long long value)
GetLicenseConfigurationResult & WithConsumedLicenses(long long value)
void SetConsumedLicenseSummaryList(ConsumedLicenseSummaryListT &&value)
void SetAutomatedDiscoveryInformation(AutomatedDiscoveryInformationT &&value)
GetLicenseConfigurationResult & WithLicenseCountingType(LicenseCountingType value)
const Aws::String & GetRequestId() const
const Aws::Vector< ProductInformation > & GetProductInformationList() const
const Aws::String & GetLicenseConfigurationId() const
GetLicenseConfigurationResult & WithStatus(StatusT &&value)
AWS_LICENSEMANAGER_API GetLicenseConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
long long GetConsumedLicenses() const
void SetLicenseRules(LicenseRulesT &&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