AWS SDK for C++

AWS SDK for C++ Version 1.11.820

Loading...
Searching...
No Matches
SystemSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace resiliencehubv2 {
21namespace Model {
22
29 public:
30 AWS_RESILIENCEHUBV2_API SystemSummary() = default;
31 AWS_RESILIENCEHUBV2_API SystemSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_RESILIENCEHUBV2_API SystemSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetSystemId() const { return m_systemId; }
38 inline bool SystemIdHasBeenSet() const { return m_systemIdHasBeenSet; }
39 template <typename SystemIdT = Aws::String>
40 void SetSystemId(SystemIdT&& value) {
41 m_systemIdHasBeenSet = true;
42 m_systemId = std::forward<SystemIdT>(value);
43 }
44 template <typename SystemIdT = Aws::String>
45 SystemSummary& WithSystemId(SystemIdT&& value) {
46 SetSystemId(std::forward<SystemIdT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
61 SystemSummary& WithName(NameT&& value) {
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetSystemArn() const { return m_systemArn; }
70 inline bool SystemArnHasBeenSet() const { return m_systemArnHasBeenSet; }
71 template <typename SystemArnT = Aws::String>
72 void SetSystemArn(SystemArnT&& value) {
73 m_systemArnHasBeenSet = true;
74 m_systemArn = std::forward<SystemArnT>(value);
75 }
76 template <typename SystemArnT = Aws::String>
77 SystemSummary& WithSystemArn(SystemArnT&& value) {
78 SetSystemArn(std::forward<SystemArnT>(value));
79 return *this;
80 }
82
84
87 inline int GetUserJourneysCount() const { return m_userJourneysCount; }
88 inline bool UserJourneysCountHasBeenSet() const { return m_userJourneysCountHasBeenSet; }
89 inline void SetUserJourneysCount(int value) {
90 m_userJourneysCountHasBeenSet = true;
91 m_userJourneysCount = value;
92 }
95 return *this;
96 }
98
100
103 inline int GetServicesCount() const { return m_servicesCount; }
104 inline bool ServicesCountHasBeenSet() const { return m_servicesCountHasBeenSet; }
105 inline void SetServicesCount(int value) {
106 m_servicesCountHasBeenSet = true;
107 m_servicesCount = value;
108 }
109 inline SystemSummary& WithServicesCount(int value) {
110 SetServicesCount(value);
111 return *this;
112 }
114
116
119 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
120 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
121 template <typename OrganizationIdT = Aws::String>
122 void SetOrganizationId(OrganizationIdT&& value) {
123 m_organizationIdHasBeenSet = true;
124 m_organizationId = std::forward<OrganizationIdT>(value);
125 }
126 template <typename OrganizationIdT = Aws::String>
127 SystemSummary& WithOrganizationId(OrganizationIdT&& value) {
128 SetOrganizationId(std::forward<OrganizationIdT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetOuId() const { return m_ouId; }
138 inline bool OuIdHasBeenSet() const { return m_ouIdHasBeenSet; }
139 template <typename OuIdT = Aws::String>
140 void SetOuId(OuIdT&& value) {
141 m_ouIdHasBeenSet = true;
142 m_ouId = std::forward<OuIdT>(value);
143 }
144 template <typename OuIdT = Aws::String>
145 SystemSummary& WithOuId(OuIdT&& value) {
146 SetOuId(std::forward<OuIdT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
156 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
157 template <typename CreatedAtT = Aws::Utils::DateTime>
158 void SetCreatedAt(CreatedAtT&& value) {
159 m_createdAtHasBeenSet = true;
160 m_createdAt = std::forward<CreatedAtT>(value);
161 }
162 template <typename CreatedAtT = Aws::Utils::DateTime>
163 SystemSummary& WithCreatedAt(CreatedAtT&& value) {
164 SetCreatedAt(std::forward<CreatedAtT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
174 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
175 template <typename UpdatedAtT = Aws::Utils::DateTime>
176 void SetUpdatedAt(UpdatedAtT&& value) {
177 m_updatedAtHasBeenSet = true;
178 m_updatedAt = std::forward<UpdatedAtT>(value);
179 }
180 template <typename UpdatedAtT = Aws::Utils::DateTime>
181 SystemSummary& WithUpdatedAt(UpdatedAtT&& value) {
182 SetUpdatedAt(std::forward<UpdatedAtT>(value));
183 return *this;
184 }
186 private:
187 Aws::String m_systemId;
188
189 Aws::String m_name;
190
191 Aws::String m_systemArn;
192
193 int m_userJourneysCount{0};
194
195 int m_servicesCount{0};
196
197 Aws::String m_organizationId;
198
199 Aws::String m_ouId;
200
201 Aws::Utils::DateTime m_createdAt{};
202
203 Aws::Utils::DateTime m_updatedAt{};
204 bool m_systemIdHasBeenSet = false;
205 bool m_nameHasBeenSet = false;
206 bool m_systemArnHasBeenSet = false;
207 bool m_userJourneysCountHasBeenSet = false;
208 bool m_servicesCountHasBeenSet = false;
209 bool m_organizationIdHasBeenSet = false;
210 bool m_ouIdHasBeenSet = false;
211 bool m_createdAtHasBeenSet = false;
212 bool m_updatedAtHasBeenSet = false;
213};
214
215} // namespace Model
216} // namespace resiliencehubv2
217} // namespace Aws
AWS_RESILIENCEHUBV2_API SystemSummary(Aws::Utils::Json::JsonView jsonValue)
SystemSummary & WithOuId(OuIdT &&value)
SystemSummary & WithOrganizationId(OrganizationIdT &&value)
SystemSummary & WithName(NameT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
SystemSummary & WithCreatedAt(CreatedAtT &&value)
AWS_RESILIENCEHUBV2_API SystemSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOrganizationId() const
const Aws::Utils::DateTime & GetCreatedAt() const
SystemSummary & WithSystemId(SystemIdT &&value)
const Aws::String & GetSystemArn() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetOrganizationId(OrganizationIdT &&value)
SystemSummary & WithUserJourneysCount(int value)
AWS_RESILIENCEHUBV2_API SystemSummary()=default
SystemSummary & WithServicesCount(int value)
const Aws::String & GetName() const
SystemSummary & WithUpdatedAt(UpdatedAtT &&value)
SystemSummary & WithSystemArn(SystemArnT &&value)
const Aws::String & GetSystemId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue