AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 ManagedResourceSummary() = default;
35 AWS_LICENSEMANAGER_API ManagedResourceSummary(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 GetAssociationCount() const { return m_associationCount; }
55 inline bool AssociationCountHasBeenSet() const { return m_associationCountHasBeenSet; }
56 inline void SetAssociationCount(long long value) { m_associationCountHasBeenSet = true; m_associationCount = value; }
57 inline ManagedResourceSummary& WithAssociationCount(long long value) { SetAssociationCount(value); return *this;}
59 private:
60
61 ResourceType m_resourceType{ResourceType::NOT_SET};
62 bool m_resourceTypeHasBeenSet = false;
63
64 long long m_associationCount{0};
65 bool m_associationCountHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace LicenseManager
70} // 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