AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ResourceType& GetResourceType() const{ return m_resourceType; }
45 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
46 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
47 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
48 inline ConsumedLicenseSummary& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
49 inline ConsumedLicenseSummary& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
51
53
56 inline long long GetConsumedLicenses() const{ return m_consumedLicenses; }
57 inline bool ConsumedLicensesHasBeenSet() const { return m_consumedLicensesHasBeenSet; }
58 inline void SetConsumedLicenses(long long value) { m_consumedLicensesHasBeenSet = true; m_consumedLicenses = value; }
59 inline ConsumedLicenseSummary& WithConsumedLicenses(long long value) { SetConsumedLicenses(value); return *this;}
61 private:
62
63 ResourceType m_resourceType;
64 bool m_resourceTypeHasBeenSet = false;
65
66 long long m_consumedLicenses;
67 bool m_consumedLicensesHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace LicenseManager
72} // namespace Aws
ConsumedLicenseSummary & WithResourceType(ResourceType &&value)
ConsumedLicenseSummary & WithConsumedLicenses(long long value)
ConsumedLicenseSummary & WithResourceType(const ResourceType &value)
AWS_LICENSEMANAGER_API ConsumedLicenseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API ConsumedLicenseSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue