AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceSummary.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 SnowDeviceManagement
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary() = default;
36 AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SNOWDEVICEMANAGEMENT_API ResourceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 ResourceSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
61 template<typename IdT = Aws::String>
62 ResourceSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetResourceType() const { return m_resourceType; }
70 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
71 template<typename ResourceTypeT = Aws::String>
72 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
73 template<typename ResourceTypeT = Aws::String>
74 ResourceSummary& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
76 private:
77
78 Aws::String m_arn;
79 bool m_arnHasBeenSet = false;
80
81 Aws::String m_id;
82 bool m_idHasBeenSet = false;
83
84 Aws::String m_resourceType;
85 bool m_resourceTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SnowDeviceManagement
90} // 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