AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceInventory.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/ResourceType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LicenseManager
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LICENSEMANAGER_API ResourceInventory();
36 AWS_LICENSEMANAGER_API ResourceInventory(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LICENSEMANAGER_API ResourceInventory& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
46 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
47 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
48 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
49 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
50 inline ResourceInventory& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
51 inline ResourceInventory& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
52 inline ResourceInventory& WithResourceId(const char* value) { SetResourceId(value); return *this;}
54
56
59 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
60 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
61 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
62 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
63 inline ResourceInventory& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
64 inline ResourceInventory& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
72 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
73 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
74 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
75 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
76 inline ResourceInventory& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
77 inline ResourceInventory& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
78 inline ResourceInventory& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
80
82
85 inline const Aws::String& GetPlatform() const{ return m_platform; }
86 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
87 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
88 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
89 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
90 inline ResourceInventory& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
91 inline ResourceInventory& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
92 inline ResourceInventory& WithPlatform(const char* value) { SetPlatform(value); return *this;}
94
96
99 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
100 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
101 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
102 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
103 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
104 inline ResourceInventory& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
105 inline ResourceInventory& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
106 inline ResourceInventory& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
108
110
113 inline const Aws::String& GetResourceOwningAccountId() const{ return m_resourceOwningAccountId; }
114 inline bool ResourceOwningAccountIdHasBeenSet() const { return m_resourceOwningAccountIdHasBeenSet; }
115 inline void SetResourceOwningAccountId(const Aws::String& value) { m_resourceOwningAccountIdHasBeenSet = true; m_resourceOwningAccountId = value; }
116 inline void SetResourceOwningAccountId(Aws::String&& value) { m_resourceOwningAccountIdHasBeenSet = true; m_resourceOwningAccountId = std::move(value); }
117 inline void SetResourceOwningAccountId(const char* value) { m_resourceOwningAccountIdHasBeenSet = true; m_resourceOwningAccountId.assign(value); }
119 inline ResourceInventory& WithResourceOwningAccountId(Aws::String&& value) { SetResourceOwningAccountId(std::move(value)); return *this;}
120 inline ResourceInventory& WithResourceOwningAccountId(const char* value) { SetResourceOwningAccountId(value); return *this;}
122 private:
123
124 Aws::String m_resourceId;
125 bool m_resourceIdHasBeenSet = false;
126
127 ResourceType m_resourceType;
128 bool m_resourceTypeHasBeenSet = false;
129
130 Aws::String m_resourceArn;
131 bool m_resourceArnHasBeenSet = false;
132
133 Aws::String m_platform;
134 bool m_platformHasBeenSet = false;
135
136 Aws::String m_platformVersion;
137 bool m_platformVersionHasBeenSet = false;
138
139 Aws::String m_resourceOwningAccountId;
140 bool m_resourceOwningAccountIdHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace LicenseManager
145} // namespace Aws
void SetPlatformVersion(const Aws::String &value)
const Aws::String & GetResourceOwningAccountId() const
void SetResourceId(const Aws::String &value)
ResourceInventory & WithResourceOwningAccountId(const char *value)
void SetResourceType(const ResourceType &value)
ResourceInventory & WithPlatformVersion(Aws::String &&value)
AWS_LICENSEMANAGER_API ResourceInventory(Aws::Utils::Json::JsonView jsonValue)
ResourceInventory & WithResourceId(Aws::String &&value)
AWS_LICENSEMANAGER_API ResourceInventory & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceInventory & WithResourceOwningAccountId(Aws::String &&value)
ResourceInventory & WithPlatform(const char *value)
ResourceInventory & WithResourceOwningAccountId(const Aws::String &value)
ResourceInventory & WithPlatform(Aws::String &&value)
ResourceInventory & WithResourceArn(const Aws::String &value)
ResourceInventory & WithResourceId(const char *value)
ResourceInventory & WithResourceId(const Aws::String &value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceInventory & WithResourceArn(Aws::String &&value)
ResourceInventory & WithResourceType(const ResourceType &value)
ResourceInventory & WithPlatformVersion(const char *value)
void SetResourceArn(const Aws::String &value)
void SetResourceOwningAccountId(const Aws::String &value)
ResourceInventory & WithResourceArn(const char *value)
ResourceInventory & WithResourceType(ResourceType &&value)
ResourceInventory & WithPlatformVersion(const Aws::String &value)
ResourceInventory & WithPlatform(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue