AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ResourceSetSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/FMS_EXPORTS.h>
10#include <aws/fms/model/ResourceSetStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FMS {
22namespace Model {
23
30 public:
31 AWS_FMS_API ResourceSetSummary() = default;
35
37
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 ResourceSetSummary& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
69 ResourceSetSummary& WithName(NameT&& value) {
70 SetName(std::forward<NameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) {
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = Aws::String>
87 ResourceSetSummary& WithDescription(DescriptionT&& value) {
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
98 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
99 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
100 void SetLastUpdateTime(LastUpdateTimeT&& value) {
101 m_lastUpdateTimeHasBeenSet = true;
102 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
103 }
104 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
105 ResourceSetSummary& WithLastUpdateTime(LastUpdateTimeT&& value) {
106 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
107 return *this;
108 }
110
112
120 inline ResourceSetStatus GetResourceSetStatus() const { return m_resourceSetStatus; }
121 inline bool ResourceSetStatusHasBeenSet() const { return m_resourceSetStatusHasBeenSet; }
123 m_resourceSetStatusHasBeenSet = true;
124 m_resourceSetStatus = value;
125 }
128 return *this;
129 }
131 private:
132 Aws::String m_id;
133
134 Aws::String m_name;
135
136 Aws::String m_description;
137
138 Aws::Utils::DateTime m_lastUpdateTime{};
139
141 bool m_idHasBeenSet = false;
142 bool m_nameHasBeenSet = false;
143 bool m_descriptionHasBeenSet = false;
144 bool m_lastUpdateTimeHasBeenSet = false;
145 bool m_resourceSetStatusHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace FMS
150} // namespace Aws
ResourceSetSummary & WithId(IdT &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
const Aws::String & GetId() const
AWS_FMS_API ResourceSetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetResourceSetStatus(ResourceSetStatus value)
ResourceSetSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
ResourceSetSummary & WithResourceSetStatus(ResourceSetStatus value)
AWS_FMS_API ResourceSetSummary()=default
ResourceSetSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
const Aws::String & GetName() const
AWS_FMS_API ResourceSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
ResourceSetStatus GetResourceSetStatus() const
ResourceSetSummary & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue