AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConsumedLicenseSummary.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/model/ResourceType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LicenseManager
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_LICENSEMANAGER_API ConsumedLicenseSummary() = default;
35 AWS_LICENSEMANAGER_API ConsumedLicenseSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline ResourceType GetResourceType() const { return m_resourceType; }
45 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
46 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
49
51
54 inline long long GetConsumedLicenses() const { return m_consumedLicenses; }
55 inline bool ConsumedLicensesHasBeenSet() const { return m_consumedLicensesHasBeenSet; }
56 inline void SetConsumedLicenses(long long value) { m_consumedLicensesHasBeenSet = true; m_consumedLicenses = value; }
57 inline ConsumedLicenseSummary& WithConsumedLicenses(long long value) { SetConsumedLicenses(value); return *this;}
59 private:
60
61 ResourceType m_resourceType{ResourceType::NOT_SET};
62 bool m_resourceTypeHasBeenSet = false;
63
64 long long m_consumedLicenses{0};
65 bool m_consumedLicensesHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace LicenseManager
70} // namespace Aws
ConsumedLicenseSummary & WithConsumedLicenses(long long value)
AWS_LICENSEMANAGER_API ConsumedLicenseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConsumedLicenseSummary & WithResourceType(ResourceType value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API ConsumedLicenseSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API ConsumedLicenseSummary()=default
Aws::Utils::Json::JsonValue JsonValue