AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ManagedResourceSummary.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/model/ResourceType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LicenseManager {
20namespace Model {
21
28 public:
29 AWS_LICENSEMANAGER_API ManagedResourceSummary() = default;
30 AWS_LICENSEMANAGER_API ManagedResourceSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline ResourceType GetResourceType() const { return m_resourceType; }
39 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
40 inline void SetResourceType(ResourceType value) {
41 m_resourceTypeHasBeenSet = true;
42 m_resourceType = value;
43 }
45 SetResourceType(value);
46 return *this;
47 }
49
51
54 inline long long GetAssociationCount() const { return m_associationCount; }
55 inline bool AssociationCountHasBeenSet() const { return m_associationCountHasBeenSet; }
56 inline void SetAssociationCount(long long value) {
57 m_associationCountHasBeenSet = true;
58 m_associationCount = value;
59 }
62 return *this;
63 }
65 private:
66 ResourceType m_resourceType{ResourceType::NOT_SET};
67
68 long long m_associationCount{0};
69 bool m_resourceTypeHasBeenSet = false;
70 bool m_associationCountHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace LicenseManager
75} // namespace Aws
ManagedResourceSummary & WithResourceType(ResourceType value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGER_API ManagedResourceSummary()=default
AWS_LICENSEMANAGER_API ManagedResourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API ManagedResourceSummary(Aws::Utils::Json::JsonView jsonValue)
ManagedResourceSummary & WithAssociationCount(long long value)
Aws::Utils::Json::JsonValue JsonValue