AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLicenseConfigurationResult.h
1
6#pragma once
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>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace LicenseManager
31{
32namespace Model
33{
35 {
36 public:
37 AWS_LICENSEMANAGER_API GetLicenseConfigurationResult();
40
41
43
46 inline const Aws::String& GetLicenseConfigurationId() const{ return m_licenseConfigurationId; }
47 inline void SetLicenseConfigurationId(const Aws::String& value) { m_licenseConfigurationId = value; }
48 inline void SetLicenseConfigurationId(Aws::String&& value) { m_licenseConfigurationId = std::move(value); }
49 inline void SetLicenseConfigurationId(const char* value) { m_licenseConfigurationId.assign(value); }
54
56
59 inline const Aws::String& GetLicenseConfigurationArn() const{ return m_licenseConfigurationArn; }
60 inline void SetLicenseConfigurationArn(const Aws::String& value) { m_licenseConfigurationArn = value; }
61 inline void SetLicenseConfigurationArn(Aws::String&& value) { m_licenseConfigurationArn = std::move(value); }
62 inline void SetLicenseConfigurationArn(const char* value) { m_licenseConfigurationArn.assign(value); }
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline void SetName(const Aws::String& value) { m_name = value; }
74 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
75 inline void SetName(const char* value) { m_name.assign(value); }
76 inline GetLicenseConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline GetLicenseConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline GetLicenseConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline void SetDescription(const Aws::String& value) { m_description = value; }
87 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
88 inline void SetDescription(const char* value) { m_description.assign(value); }
89 inline GetLicenseConfigurationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline GetLicenseConfigurationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline GetLicenseConfigurationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
98 inline const LicenseCountingType& GetLicenseCountingType() const{ return m_licenseCountingType; }
99 inline void SetLicenseCountingType(const LicenseCountingType& value) { m_licenseCountingType = value; }
100 inline void SetLicenseCountingType(LicenseCountingType&& value) { m_licenseCountingType = std::move(value); }
104
106
109 inline const Aws::Vector<Aws::String>& GetLicenseRules() const{ return m_licenseRules; }
110 inline void SetLicenseRules(const Aws::Vector<Aws::String>& value) { m_licenseRules = value; }
111 inline void SetLicenseRules(Aws::Vector<Aws::String>&& value) { m_licenseRules = std::move(value); }
114 inline GetLicenseConfigurationResult& AddLicenseRules(const Aws::String& value) { m_licenseRules.push_back(value); return *this; }
115 inline GetLicenseConfigurationResult& AddLicenseRules(Aws::String&& value) { m_licenseRules.push_back(std::move(value)); return *this; }
116 inline GetLicenseConfigurationResult& AddLicenseRules(const char* value) { m_licenseRules.push_back(value); return *this; }
118
120
123 inline long long GetLicenseCount() const{ return m_licenseCount; }
124 inline void SetLicenseCount(long long value) { m_licenseCount = value; }
125 inline GetLicenseConfigurationResult& WithLicenseCount(long long value) { SetLicenseCount(value); return *this;}
127
129
132 inline bool GetLicenseCountHardLimit() const{ return m_licenseCountHardLimit; }
133 inline void SetLicenseCountHardLimit(bool value) { m_licenseCountHardLimit = value; }
136
138
141 inline long long GetConsumedLicenses() const{ return m_consumedLicenses; }
142 inline void SetConsumedLicenses(long long value) { m_consumedLicenses = value; }
143 inline GetLicenseConfigurationResult& WithConsumedLicenses(long long value) { SetConsumedLicenses(value); return *this;}
145
147
150 inline const Aws::String& GetStatus() const{ return m_status; }
151 inline void SetStatus(const Aws::String& value) { m_status = value; }
152 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
153 inline void SetStatus(const char* value) { m_status.assign(value); }
154 inline GetLicenseConfigurationResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
155 inline GetLicenseConfigurationResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
156 inline GetLicenseConfigurationResult& WithStatus(const char* value) { SetStatus(value); return *this;}
158
160
163 inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; }
164 inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountId = value; }
165 inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountId = std::move(value); }
166 inline void SetOwnerAccountId(const char* value) { m_ownerAccountId.assign(value); }
168 inline GetLicenseConfigurationResult& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;}
169 inline GetLicenseConfigurationResult& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;}
171
173
176 inline const Aws::Vector<ConsumedLicenseSummary>& GetConsumedLicenseSummaryList() const{ return m_consumedLicenseSummaryList; }
177 inline void SetConsumedLicenseSummaryList(const Aws::Vector<ConsumedLicenseSummary>& value) { m_consumedLicenseSummaryList = value; }
178 inline void SetConsumedLicenseSummaryList(Aws::Vector<ConsumedLicenseSummary>&& value) { m_consumedLicenseSummaryList = std::move(value); }
181 inline GetLicenseConfigurationResult& AddConsumedLicenseSummaryList(const ConsumedLicenseSummary& value) { m_consumedLicenseSummaryList.push_back(value); return *this; }
182 inline GetLicenseConfigurationResult& AddConsumedLicenseSummaryList(ConsumedLicenseSummary&& value) { m_consumedLicenseSummaryList.push_back(std::move(value)); return *this; }
184
186
189 inline const Aws::Vector<ManagedResourceSummary>& GetManagedResourceSummaryList() const{ return m_managedResourceSummaryList; }
190 inline void SetManagedResourceSummaryList(const Aws::Vector<ManagedResourceSummary>& value) { m_managedResourceSummaryList = value; }
191 inline void SetManagedResourceSummaryList(Aws::Vector<ManagedResourceSummary>&& value) { m_managedResourceSummaryList = std::move(value); }
194 inline GetLicenseConfigurationResult& AddManagedResourceSummaryList(const ManagedResourceSummary& value) { m_managedResourceSummaryList.push_back(value); return *this; }
195 inline GetLicenseConfigurationResult& AddManagedResourceSummaryList(ManagedResourceSummary&& value) { m_managedResourceSummaryList.push_back(std::move(value)); return *this; }
197
199
202 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
203 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
204 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
205 inline GetLicenseConfigurationResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
206 inline GetLicenseConfigurationResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
207 inline GetLicenseConfigurationResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
208 inline GetLicenseConfigurationResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
210
212
215 inline const Aws::Vector<ProductInformation>& GetProductInformationList() const{ return m_productInformationList; }
216 inline void SetProductInformationList(const Aws::Vector<ProductInformation>& value) { m_productInformationList = value; }
217 inline void SetProductInformationList(Aws::Vector<ProductInformation>&& value) { m_productInformationList = std::move(value); }
220 inline GetLicenseConfigurationResult& AddProductInformationList(const ProductInformation& value) { m_productInformationList.push_back(value); return *this; }
221 inline GetLicenseConfigurationResult& AddProductInformationList(ProductInformation&& value) { m_productInformationList.push_back(std::move(value)); return *this; }
223
225
228 inline const AutomatedDiscoveryInformation& GetAutomatedDiscoveryInformation() const{ return m_automatedDiscoveryInformation; }
229 inline void SetAutomatedDiscoveryInformation(const AutomatedDiscoveryInformation& value) { m_automatedDiscoveryInformation = value; }
230 inline void SetAutomatedDiscoveryInformation(AutomatedDiscoveryInformation&& value) { m_automatedDiscoveryInformation = std::move(value); }
234
236
239 inline bool GetDisassociateWhenNotFound() const{ return m_disassociateWhenNotFound; }
240 inline void SetDisassociateWhenNotFound(bool value) { m_disassociateWhenNotFound = value; }
243
245
246 inline const Aws::String& GetRequestId() const{ return m_requestId; }
247 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
248 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
249 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
250 inline GetLicenseConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
251 inline GetLicenseConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
252 inline GetLicenseConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
254 private:
255
256 Aws::String m_licenseConfigurationId;
257
258 Aws::String m_licenseConfigurationArn;
259
260 Aws::String m_name;
261
262 Aws::String m_description;
263
264 LicenseCountingType m_licenseCountingType;
265
266 Aws::Vector<Aws::String> m_licenseRules;
267
268 long long m_licenseCount;
269
270 bool m_licenseCountHardLimit;
271
272 long long m_consumedLicenses;
273
274 Aws::String m_status;
275
276 Aws::String m_ownerAccountId;
277
278 Aws::Vector<ConsumedLicenseSummary> m_consumedLicenseSummaryList;
279
280 Aws::Vector<ManagedResourceSummary> m_managedResourceSummaryList;
281
282 Aws::Vector<Tag> m_tags;
283
284 Aws::Vector<ProductInformation> m_productInformationList;
285
286 AutomatedDiscoveryInformation m_automatedDiscoveryInformation;
287
288 bool m_disassociateWhenNotFound;
289
290 Aws::String m_requestId;
291 };
292
293} // namespace Model
294} // namespace LicenseManager
295} // namespace Aws
GetLicenseConfigurationResult & WithName(Aws::String &&value)
GetLicenseConfigurationResult & WithLicenseCount(long long value)
const Aws::Vector< ConsumedLicenseSummary > & GetConsumedLicenseSummaryList() const
GetLicenseConfigurationResult & WithRequestId(Aws::String &&value)
GetLicenseConfigurationResult & WithLicenseConfigurationId(const Aws::String &value)
GetLicenseConfigurationResult & WithLicenseConfigurationId(Aws::String &&value)
GetLicenseConfigurationResult & WithLicenseCountHardLimit(bool value)
void SetManagedResourceSummaryList(Aws::Vector< ManagedResourceSummary > &&value)
GetLicenseConfigurationResult & WithDisassociateWhenNotFound(bool value)
AWS_LICENSEMANAGER_API GetLicenseConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLicenseConfigurationResult & WithLicenseConfigurationArn(const char *value)
GetLicenseConfigurationResult & WithRequestId(const char *value)
GetLicenseConfigurationResult & WithLicenseConfigurationArn(Aws::String &&value)
GetLicenseConfigurationResult & WithOwnerAccountId(Aws::String &&value)
void SetManagedResourceSummaryList(const Aws::Vector< ManagedResourceSummary > &value)
GetLicenseConfigurationResult & WithAutomatedDiscoveryInformation(const AutomatedDiscoveryInformation &value)
GetLicenseConfigurationResult & WithManagedResourceSummaryList(Aws::Vector< ManagedResourceSummary > &&value)
GetLicenseConfigurationResult & AddTags(const Tag &value)
GetLicenseConfigurationResult & WithTags(Aws::Vector< Tag > &&value)
GetLicenseConfigurationResult & AddProductInformationList(ProductInformation &&value)
void SetProductInformationList(const Aws::Vector< ProductInformation > &value)
void SetProductInformationList(Aws::Vector< ProductInformation > &&value)
GetLicenseConfigurationResult & WithName(const char *value)
GetLicenseConfigurationResult & AddManagedResourceSummaryList(ManagedResourceSummary &&value)
void SetAutomatedDiscoveryInformation(AutomatedDiscoveryInformation &&value)
GetLicenseConfigurationResult & WithProductInformationList(Aws::Vector< ProductInformation > &&value)
GetLicenseConfigurationResult & WithLicenseConfigurationId(const char *value)
GetLicenseConfigurationResult & WithStatus(const Aws::String &value)
GetLicenseConfigurationResult & AddLicenseRules(const Aws::String &value)
GetLicenseConfigurationResult & AddLicenseRules(const char *value)
GetLicenseConfigurationResult & WithLicenseRules(const Aws::Vector< Aws::String > &value)
GetLicenseConfigurationResult & WithManagedResourceSummaryList(const Aws::Vector< ManagedResourceSummary > &value)
GetLicenseConfigurationResult & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< ManagedResourceSummary > & GetManagedResourceSummaryList() const
void SetAutomatedDiscoveryInformation(const AutomatedDiscoveryInformation &value)
GetLicenseConfigurationResult & WithName(const Aws::String &value)
GetLicenseConfigurationResult & WithConsumedLicenseSummaryList(const Aws::Vector< ConsumedLicenseSummary > &value)
GetLicenseConfigurationResult & WithLicenseCountingType(const LicenseCountingType &value)
GetLicenseConfigurationResult & AddLicenseRules(Aws::String &&value)
GetLicenseConfigurationResult & AddManagedResourceSummaryList(const ManagedResourceSummary &value)
GetLicenseConfigurationResult & WithStatus(const char *value)
GetLicenseConfigurationResult & WithProductInformationList(const Aws::Vector< ProductInformation > &value)
GetLicenseConfigurationResult & WithOwnerAccountId(const Aws::String &value)
const AutomatedDiscoveryInformation & GetAutomatedDiscoveryInformation() const
GetLicenseConfigurationResult & WithLicenseRules(Aws::Vector< Aws::String > &&value)
GetLicenseConfigurationResult & WithStatus(Aws::String &&value)
GetLicenseConfigurationResult & WithAutomatedDiscoveryInformation(AutomatedDiscoveryInformation &&value)
GetLicenseConfigurationResult & AddConsumedLicenseSummaryList(const ConsumedLicenseSummary &value)
GetLicenseConfigurationResult & WithDescription(const char *value)
GetLicenseConfigurationResult & WithConsumedLicenses(long long value)
GetLicenseConfigurationResult & WithDescription(const Aws::String &value)
GetLicenseConfigurationResult & WithDescription(Aws::String &&value)
GetLicenseConfigurationResult & WithOwnerAccountId(const char *value)
GetLicenseConfigurationResult & AddProductInformationList(const ProductInformation &value)
void SetConsumedLicenseSummaryList(const Aws::Vector< ConsumedLicenseSummary > &value)
GetLicenseConfigurationResult & WithRequestId(const Aws::String &value)
const Aws::Vector< ProductInformation > & GetProductInformationList() const
GetLicenseConfigurationResult & AddConsumedLicenseSummaryList(ConsumedLicenseSummary &&value)
AWS_LICENSEMANAGER_API GetLicenseConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLicenseConfigurationResult & WithLicenseCountingType(LicenseCountingType &&value)
GetLicenseConfigurationResult & WithConsumedLicenseSummaryList(Aws::Vector< ConsumedLicenseSummary > &&value)
GetLicenseConfigurationResult & WithLicenseConfigurationArn(const Aws::String &value)
void SetConsumedLicenseSummaryList(Aws::Vector< ConsumedLicenseSummary > &&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