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>
15#include <aws/license-manager/model/Tag.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace LicenseManager {
41 template <
typename LicenseConfigurationIdT = Aws::String>
43 m_licenseConfigurationIdHasBeenSet =
true;
44 m_licenseConfigurationId = std::forward<LicenseConfigurationIdT>(value);
46 template <
typename LicenseConfigurationIdT = Aws::String>
58 template <
typename LicenseConfigurationArnT = Aws::String>
60 m_licenseConfigurationArnHasBeenSet =
true;
61 m_licenseConfigurationArn = std::forward<LicenseConfigurationArnT>(value);
63 template <
typename LicenseConfigurationArnT = Aws::String>
75 template <
typename NameT = Aws::String>
77 m_nameHasBeenSet =
true;
78 m_name = std::forward<NameT>(value);
80 template <
typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
92 template <
typename DescriptionT = Aws::String>
94 m_descriptionHasBeenSet =
true;
95 m_description = std::forward<DescriptionT>(value);
97 template <
typename DescriptionT = Aws::String>
110 m_licenseCountingTypeHasBeenSet =
true;
111 m_licenseCountingType = value;
124 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
126 m_licenseRulesHasBeenSet =
true;
127 m_licenseRules = std::forward<LicenseRulesT>(value);
129 template <
typename LicenseRulesT = Aws::Vector<Aws::String>>
134 template <
typename LicenseRulesT = Aws::String>
136 m_licenseRulesHasBeenSet =
true;
137 m_licenseRules.emplace_back(std::forward<LicenseRulesT>(value));
148 m_licenseCountHasBeenSet =
true;
149 m_licenseCount = value;
163 m_licenseCountHardLimitHasBeenSet =
true;
164 m_licenseCountHardLimit = value;
178 m_consumedLicensesHasBeenSet =
true;
179 m_consumedLicenses = value;
192 template <
typename StatusT = Aws::String>
194 m_statusHasBeenSet =
true;
195 m_status = std::forward<StatusT>(value);
197 template <
typename StatusT = Aws::String>
209 template <
typename OwnerAccountIdT = Aws::String>
211 m_ownerAccountIdHasBeenSet =
true;
212 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
214 template <
typename OwnerAccountIdT = Aws::String>
226 template <
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
228 m_consumedLicenseSummaryListHasBeenSet =
true;
229 m_consumedLicenseSummaryList = std::forward<ConsumedLicenseSummaryListT>(value);
231 template <
typename ConsumedLicenseSummaryListT = Aws::Vector<ConsumedLicenseSummary>>
236 template <
typename ConsumedLicenseSummaryListT = ConsumedLicenseSummary>
238 m_consumedLicenseSummaryListHasBeenSet =
true;
239 m_consumedLicenseSummaryList.emplace_back(std::forward<ConsumedLicenseSummaryListT>(value));
249 template <
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
251 m_managedResourceSummaryListHasBeenSet =
true;
252 m_managedResourceSummaryList = std::forward<ManagedResourceSummaryListT>(value);
254 template <
typename ManagedResourceSummaryListT = Aws::Vector<ManagedResourceSummary>>
259 template <
typename ManagedResourceSummaryListT = ManagedResourceSummary>
261 m_managedResourceSummaryListHasBeenSet =
true;
262 m_managedResourceSummaryList.emplace_back(std::forward<ManagedResourceSummaryListT>(value));
272 template <
typename TagsT = Aws::Vector<Tag>>
274 m_tagsHasBeenSet =
true;
275 m_tags = std::forward<TagsT>(value);
277 template <
typename TagsT = Aws::Vector<Tag>>
279 SetTags(std::forward<TagsT>(value));
282 template <
typename TagsT = Tag>
284 m_tagsHasBeenSet =
true;
285 m_tags.emplace_back(std::forward<TagsT>(value));
295 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
297 m_productInformationListHasBeenSet =
true;
298 m_productInformationList = std::forward<ProductInformationListT>(value);
300 template <
typename ProductInformationListT = Aws::Vector<ProductInformation>>
305 template <
typename ProductInformationListT = ProductInformation>
307 m_productInformationListHasBeenSet =
true;
308 m_productInformationList.emplace_back(std::forward<ProductInformationListT>(value));
318 template <
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
320 m_automatedDiscoveryInformationHasBeenSet =
true;
321 m_automatedDiscoveryInformation = std::forward<AutomatedDiscoveryInformationT>(value);
323 template <
typename AutomatedDiscoveryInformationT = AutomatedDiscoveryInformation>
336 m_disassociateWhenNotFoundHasBeenSet =
true;
337 m_disassociateWhenNotFound = value;
351 m_licenseExpiryHasBeenSet =
true;
352 m_licenseExpiry = value;
363 template <
typename RequestIdT = Aws::String>
365 m_requestIdHasBeenSet =
true;
366 m_requestId = std::forward<RequestIdT>(value);
368 template <
typename RequestIdT = Aws::String>
387 long long m_licenseCount{0};
389 bool m_licenseCountHardLimit{
false};
391 long long m_consumedLicenses{0};
405 AutomatedDiscoveryInformation m_automatedDiscoveryInformation;
407 bool m_disassociateWhenNotFound{
false};
409 long long m_licenseExpiry{0};
412 bool m_licenseConfigurationIdHasBeenSet =
false;
413 bool m_licenseConfigurationArnHasBeenSet =
false;
414 bool m_nameHasBeenSet =
false;
415 bool m_descriptionHasBeenSet =
false;
416 bool m_licenseCountingTypeHasBeenSet =
false;
417 bool m_licenseRulesHasBeenSet =
false;
418 bool m_licenseCountHasBeenSet =
false;
419 bool m_licenseCountHardLimitHasBeenSet =
false;
420 bool m_consumedLicensesHasBeenSet =
false;
421 bool m_statusHasBeenSet =
false;
422 bool m_ownerAccountIdHasBeenSet =
false;
423 bool m_consumedLicenseSummaryListHasBeenSet =
false;
424 bool m_managedResourceSummaryListHasBeenSet =
false;
425 bool m_tagsHasBeenSet =
false;
426 bool m_productInformationListHasBeenSet =
false;
427 bool m_automatedDiscoveryInformationHasBeenSet =
false;
428 bool m_disassociateWhenNotFoundHasBeenSet =
false;
429 bool m_licenseExpiryHasBeenSet =
false;
430 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)
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