AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ResourceSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SnowDeviceManagement {
20namespace Model {
21
29 public:
30 AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary() = default;
31 AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 ResourceSummary& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
65 ResourceSummary& WithId(IdT&& value) {
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetResourceType() const { return m_resourceType; }
76 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
77 template <typename ResourceTypeT = Aws::String>
78 void SetResourceType(ResourceTypeT&& value) {
79 m_resourceTypeHasBeenSet = true;
80 m_resourceType = std::forward<ResourceTypeT>(value);
81 }
82 template <typename ResourceTypeT = Aws::String>
83 ResourceSummary& WithResourceType(ResourceTypeT&& value) {
84 SetResourceType(std::forward<ResourceTypeT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_arn;
90
91 Aws::String m_id;
92
93 Aws::String m_resourceType;
94 bool m_arnHasBeenSet = false;
95 bool m_idHasBeenSet = false;
96 bool m_resourceTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SnowDeviceManagement
101} // namespace Aws
AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceSummary & WithResourceType(ResourceTypeT &&value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue