7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/license-manager/LicenseManager_EXPORTS.h>
11#include <aws/license-manager/model/AutomatedDiscoveryInformation.h>
12#include <aws/license-manager/model/ConsumedLicenseSummary.h>
13#include <aws/license-manager/model/LicenseCountingType.h>
14#include <aws/license-manager/model/ManagedResourceSummary.h>
15#include <aws/license-manager/model/ProductInformation.h>
16#include <aws/license-manager/model/Tag.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace LicenseManager {
42 template <
typename LicenseConfigurationIdT = Aws::String>
44 m_licenseConfigurationIdHasBeenSet =
true;
45 m_licenseConfigurationId = std::forward<LicenseConfigurationIdT>(value);
47 template <
typename LicenseConfigurationIdT = Aws::String>
59 template <
typename LicenseConfigurationArnT = Aws::String>
61 m_licenseConfigurationArnHasBeenSet =
true;
62 m_licenseConfigurationArn = std::forward<LicenseConfigurationArnT>(value);
64 template <
typename LicenseConfigurationArnT = Aws::String>
76 template <
typename NameT = Aws::String>
78 m_nameHasBeenSet =
true;
79 m_name = std::forward<NameT>(value);
81 template <
typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
93 template <
typename DescriptionT = Aws::String>
95 m_descriptionHasBeenSet =
true;
96 m_description = std::forward<DescriptionT>(value);
98 template <
typename DescriptionT = Aws::String>
111 m_licenseCountingTypeHasBeenSet =
true;
112 m_licenseCountingType = value;
125 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
127 m_licenseRulesHasBeenSet =
true;
128 m_licenseRules = std::forward<LicenseRulesT>(value);
130 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
135 template <
typename LicenseRulesT = Aws::String>
137 m_licenseRulesHasBeenSet =
true;
138 m_licenseRules.emplace_back(std::forward<LicenseRulesT>(value));
149 m_licenseCountHasBeenSet =
true;
150 m_licenseCount = value;
164 m_licenseCountHardLimitHasBeenSet =
true;
165 m_licenseCountHardLimit = value;
179 m_consumedLicensesHasBeenSet =
true;
180 m_consumedLicenses = value;
193 template <
typename StatusT = Aws::String>
195 m_statusHasBeenSet =
true;
196 m_status = std::forward<StatusT>(value);
198 template <
typename StatusT = Aws::String>
210 template <
typename OwnerAccountIdT = Aws::String>
212 m_ownerAccountIdHasBeenSet =
true;
213 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
215 template <
typename OwnerAccountIdT = Aws::String>
227 template <
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
229 m_consumedLicenseSummaryListHasBeenSet =
true;
230 m_consumedLicenseSummaryList = std::forward<ConsumedLicenseSummaryListT>(value);
232 template <
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
237 template <
typename ConsumedLicenseSummaryListT = ConsumedLicenseSummary>
239 m_consumedLicenseSummaryListHasBeenSet =
true;
240 m_consumedLicenseSummaryList.emplace_back(std::forward<ConsumedLicenseSummaryListT>(value));
250 template <
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
252 m_managedResourceSummaryListHasBeenSet =
true;
253 m_managedResourceSummaryList = std::forward<ManagedResourceSummaryListT>(value);
255 template <
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
260 template <
typename ManagedResourceSummaryListT = ManagedResourceSummary>
262 m_managedResourceSummaryListHasBeenSet =
true;
263 m_managedResourceSummaryList.emplace_back(std::forward<ManagedResourceSummaryListT>(value));
273 template <
typename TagsT = Aws::Vector<Tag>>
275 m_tagsHasBeenSet =
true;
276 m_tags = std::forward<TagsT>(value);
278 template <
typename TagsT = Aws::Vector<Tag>>
280 SetTags(std::forward<TagsT>(value));
283 template <
typename TagsT = Tag>
285 m_tagsHasBeenSet =
true;
286 m_tags.emplace_back(std::forward<TagsT>(value));
296 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
298 m_productInformationListHasBeenSet =
true;
299 m_productInformationList = std::forward<ProductInformationListT>(value);
301 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
306 template <
typename ProductInformationListT = ProductInformation>
308 m_productInformationListHasBeenSet =
true;
309 m_productInformationList.emplace_back(std::forward<ProductInformationListT>(value));
319 template <
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
321 m_automatedDiscoveryInformationHasBeenSet =
true;
322 m_automatedDiscoveryInformation = std::forward<AutomatedDiscoveryInformationT>(value);
324 template <
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
337 m_disassociateWhenNotFoundHasBeenSet =
true;
338 m_disassociateWhenNotFound = value;
352 m_licenseExpiryHasBeenSet =
true;
353 m_licenseExpiry = value;
364 template <
typename RequestIdT = Aws::String>
366 m_requestIdHasBeenSet =
true;
367 m_requestId = std::forward<RequestIdT>(value);
369 template <
typename RequestIdT = Aws::String>
390 long long m_licenseCount{0};
392 bool m_licenseCountHardLimit{
false};
394 long long m_consumedLicenses{0};
408 AutomatedDiscoveryInformation m_automatedDiscoveryInformation;
410 bool m_disassociateWhenNotFound{
false};
412 long long m_licenseExpiry{0};
416 bool m_licenseConfigurationIdHasBeenSet =
false;
417 bool m_licenseConfigurationArnHasBeenSet =
false;
418 bool m_nameHasBeenSet =
false;
419 bool m_descriptionHasBeenSet =
false;
420 bool m_licenseCountingTypeHasBeenSet =
false;
421 bool m_licenseRulesHasBeenSet =
false;
422 bool m_licenseCountHasBeenSet =
false;
423 bool m_licenseCountHardLimitHasBeenSet =
false;
424 bool m_consumedLicensesHasBeenSet =
false;
425 bool m_statusHasBeenSet =
false;
426 bool m_ownerAccountIdHasBeenSet =
false;
427 bool m_consumedLicenseSummaryListHasBeenSet =
false;
428 bool m_managedResourceSummaryListHasBeenSet =
false;
429 bool m_tagsHasBeenSet =
false;
430 bool m_productInformationListHasBeenSet =
false;
431 bool m_automatedDiscoveryInformationHasBeenSet =
false;
432 bool m_disassociateWhenNotFoundHasBeenSet =
false;
433 bool m_licenseExpiryHasBeenSet =
false;
434 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 GetLicenseExpiry() const
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 SetLicenseExpiry(long long value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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
GetLicenseConfigurationResult & WithLicenseExpiry(long long value)
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