7#include <aws/core/utils/DateTime.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/LicenseAssetGroupConfiguration.h>
12#include <aws/license-manager/model/LicenseAssetGroupProperty.h>
13#include <aws/license-manager/model/LicenseAssetGroupStatus.h>
24namespace LicenseManager {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
80 return m_licenseAssetGroupConfigurations;
83 template <
typename LicenseAssetGroupConfigurationsT = Aws::Vector<LicenseAssetGroupConfiguration>>
85 m_licenseAssetGroupConfigurationsHasBeenSet =
true;
86 m_licenseAssetGroupConfigurations = std::forward<LicenseAssetGroupConfigurationsT>(value);
88 template <
typename LicenseAssetGroupConfigurationsT = Aws::Vector<LicenseAssetGroupConfiguration>>
93 template <
typename LicenseAssetGroupConfigurationsT = LicenseAssetGroupConfiguration>
95 m_licenseAssetGroupConfigurationsHasBeenSet =
true;
96 m_licenseAssetGroupConfigurations.emplace_back(std::forward<LicenseAssetGroupConfigurationsT>(value));
107 template <
typename AssociatedLicenseAssetRulesetARNsT = Aws::Vector<Aws::String>>
109 m_associatedLicenseAssetRulesetARNsHasBeenSet =
true;
110 m_associatedLicenseAssetRulesetARNs = std::forward<AssociatedLicenseAssetRulesetARNsT>(value);
112 template <
typename AssociatedLicenseAssetRulesetARNsT = Aws::Vector<Aws::String>>
117 template <
typename AssociatedLicenseAssetRulesetARNsT = Aws::String>
119 m_associatedLicenseAssetRulesetARNsHasBeenSet =
true;
120 m_associatedLicenseAssetRulesetARNs.emplace_back(std::forward<AssociatedLicenseAssetRulesetARNsT>(value));
131 template <
typename PropertiesT = Aws::Vector<LicenseAssetGroupProperty>>
133 m_propertiesHasBeenSet =
true;
134 m_properties = std::forward<PropertiesT>(value);
136 template <
typename PropertiesT = Aws::Vector<LicenseAssetGroupProperty>>
141 template <
typename PropertiesT = LicenseAssetGroupProperty>
143 m_propertiesHasBeenSet =
true;
144 m_properties.emplace_back(std::forward<PropertiesT>(value));
155 template <
typename LicenseAssetGroupArnT = Aws::String>
157 m_licenseAssetGroupArnHasBeenSet =
true;
158 m_licenseAssetGroupArn = std::forward<LicenseAssetGroupArnT>(value);
160 template <
typename LicenseAssetGroupArnT = Aws::String>
174 m_statusHasBeenSet =
true;
189 template <
typename StatusMessageT = Aws::String>
191 m_statusMessageHasBeenSet =
true;
192 m_statusMessage = std::forward<StatusMessageT>(value);
194 template <
typename StatusMessageT = Aws::String>
207 template <
typename LatestUsageAnalysisTimeT = Aws::Utils::DateTime>
209 m_latestUsageAnalysisTimeHasBeenSet =
true;
210 m_latestUsageAnalysisTime = std::forward<LatestUsageAnalysisTimeT>(value);
212 template <
typename LatestUsageAnalysisTimeT = Aws::Utils::DateTime>
225 template <
typename LatestResourceDiscoveryTimeT = Aws::Utils::DateTime>
227 m_latestResourceDiscoveryTimeHasBeenSet =
true;
228 m_latestResourceDiscoveryTime = std::forward<LatestResourceDiscoveryTimeT>(value);
230 template <
typename LatestResourceDiscoveryTimeT = Aws::Utils::DateTime>
256 bool m_nameHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
258 bool m_licenseAssetGroupConfigurationsHasBeenSet =
false;
259 bool m_associatedLicenseAssetRulesetARNsHasBeenSet =
false;
260 bool m_propertiesHasBeenSet =
false;
261 bool m_licenseAssetGroupArnHasBeenSet =
false;
262 bool m_statusHasBeenSet =
false;
263 bool m_statusMessageHasBeenSet =
false;
264 bool m_latestUsageAnalysisTimeHasBeenSet =
false;
265 bool m_latestResourceDiscoveryTimeHasBeenSet =
false;
bool LatestUsageAnalysisTimeHasBeenSet() const
bool StatusHasBeenSet() const
void SetProperties(PropertiesT &&value)
const Aws::String & GetLicenseAssetGroupArn() const
bool StatusMessageHasBeenSet() const
LicenseAssetGroup & WithStatus(LicenseAssetGroupStatus value)
void SetStatusMessage(StatusMessageT &&value)
void SetLicenseAssetGroupConfigurations(LicenseAssetGroupConfigurationsT &&value)
const Aws::String & GetDescription() const
LicenseAssetGroup & WithAssociatedLicenseAssetRulesetARNs(AssociatedLicenseAssetRulesetARNsT &&value)
bool LatestResourceDiscoveryTimeHasBeenSet() const
LicenseAssetGroup & WithLatestUsageAnalysisTime(LatestUsageAnalysisTimeT &&value)
const Aws::Utils::DateTime & GetLatestResourceDiscoveryTime() const
LicenseAssetGroup & WithDescription(DescriptionT &&value)
LicenseAssetGroup & WithStatusMessage(StatusMessageT &&value)
bool LicenseAssetGroupArnHasBeenSet() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
void SetAssociatedLicenseAssetRulesetARNs(AssociatedLicenseAssetRulesetARNsT &&value)
bool DescriptionHasBeenSet() const
AWS_LICENSEMANAGER_API LicenseAssetGroup()=default
bool LicenseAssetGroupConfigurationsHasBeenSet() const
LicenseAssetGroup & WithLicenseAssetGroupArn(LicenseAssetGroupArnT &&value)
LicenseAssetGroup & AddAssociatedLicenseAssetRulesetARNs(AssociatedLicenseAssetRulesetARNsT &&value)
const Aws::String & GetStatusMessage() const
const Aws::Vector< LicenseAssetGroupConfiguration > & GetLicenseAssetGroupConfigurations() const
void SetLatestResourceDiscoveryTime(LatestResourceDiscoveryTimeT &&value)
LicenseAssetGroup & WithName(NameT &&value)
bool AssociatedLicenseAssetRulesetARNsHasBeenSet() const
void SetLicenseAssetGroupArn(LicenseAssetGroupArnT &&value)
LicenseAssetGroup & AddProperties(PropertiesT &&value)
const Aws::Vector< LicenseAssetGroupProperty > & GetProperties() const
bool PropertiesHasBeenSet() const
LicenseAssetGroup & AddLicenseAssetGroupConfigurations(LicenseAssetGroupConfigurationsT &&value)
void SetLatestUsageAnalysisTime(LatestUsageAnalysisTimeT &&value)
const Aws::Utils::DateTime & GetLatestUsageAnalysisTime() const
LicenseAssetGroup & WithLatestResourceDiscoveryTime(LatestResourceDiscoveryTimeT &&value)
LicenseAssetGroup & WithProperties(PropertiesT &&value)
const Aws::String & GetName() const
AWS_LICENSEMANAGER_API LicenseAssetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAssociatedLicenseAssetRulesetARNs() const
AWS_LICENSEMANAGER_API LicenseAssetGroup(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(LicenseAssetGroupStatus value)
LicenseAssetGroup & WithLicenseAssetGroupConfigurations(LicenseAssetGroupConfigurationsT &&value)
void SetDescription(DescriptionT &&value)
LicenseAssetGroupStatus GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue