AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ApplicationSummary.h
1
6#pragma once
7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-serverless/model/ApplicationState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/emr-serverless/model/Architecture.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace EMRServerless
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_EMRSERVERLESS_API ApplicationSummary() = default;
39 AWS_EMRSERVERLESS_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_EMRSERVERLESS_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 ApplicationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 ApplicationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetArn() const { return m_arn; }
73 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
74 template<typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
76 template<typename ArnT = Aws::String>
77 ApplicationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
79
81
84 inline const Aws::String& GetReleaseLabel() const { return m_releaseLabel; }
85 inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; }
86 template<typename ReleaseLabelT = Aws::String>
87 void SetReleaseLabel(ReleaseLabelT&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::forward<ReleaseLabelT>(value); }
88 template<typename ReleaseLabelT = Aws::String>
89 ApplicationSummary& WithReleaseLabel(ReleaseLabelT&& value) { SetReleaseLabel(std::forward<ReleaseLabelT>(value)); return *this;}
91
93
96 inline const Aws::String& GetType() const { return m_type; }
97 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
98 template<typename TypeT = Aws::String>
99 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
100 template<typename TypeT = Aws::String>
101 ApplicationSummary& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
103
105
108 inline ApplicationState GetState() const { return m_state; }
109 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
110 inline void SetState(ApplicationState value) { m_stateHasBeenSet = true; m_state = value; }
111 inline ApplicationSummary& WithState(ApplicationState value) { SetState(value); return *this;}
113
115
118 inline const Aws::String& GetStateDetails() const { return m_stateDetails; }
119 inline bool StateDetailsHasBeenSet() const { return m_stateDetailsHasBeenSet; }
120 template<typename StateDetailsT = Aws::String>
121 void SetStateDetails(StateDetailsT&& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = std::forward<StateDetailsT>(value); }
122 template<typename StateDetailsT = Aws::String>
123 ApplicationSummary& WithStateDetails(StateDetailsT&& value) { SetStateDetails(std::forward<StateDetailsT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
131 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
132 template<typename CreatedAtT = Aws::Utils::DateTime>
133 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
134 template<typename CreatedAtT = Aws::Utils::DateTime>
135 ApplicationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
143 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
144 template<typename UpdatedAtT = Aws::Utils::DateTime>
145 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
146 template<typename UpdatedAtT = Aws::Utils::DateTime>
147 ApplicationSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
149
151
154 inline Architecture GetArchitecture() const { return m_architecture; }
155 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
156 inline void SetArchitecture(Architecture value) { m_architectureHasBeenSet = true; m_architecture = value; }
157 inline ApplicationSummary& WithArchitecture(Architecture value) { SetArchitecture(value); return *this;}
159 private:
160
161 Aws::String m_id;
162 bool m_idHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 Aws::String m_arn;
168 bool m_arnHasBeenSet = false;
169
170 Aws::String m_releaseLabel;
171 bool m_releaseLabelHasBeenSet = false;
172
173 Aws::String m_type;
174 bool m_typeHasBeenSet = false;
175
177 bool m_stateHasBeenSet = false;
178
179 Aws::String m_stateDetails;
180 bool m_stateDetailsHasBeenSet = false;
181
182 Aws::Utils::DateTime m_createdAt{};
183 bool m_createdAtHasBeenSet = false;
184
185 Aws::Utils::DateTime m_updatedAt{};
186 bool m_updatedAtHasBeenSet = false;
187
188 Architecture m_architecture{Architecture::NOT_SET};
189 bool m_architectureHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace EMRServerless
194} // namespace Aws
AWS_EMRSERVERLESS_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationSummary & WithType(TypeT &&value)
ApplicationSummary & WithState(ApplicationState value)
const Aws::Utils::DateTime & GetUpdatedAt() const
ApplicationSummary & WithName(NameT &&value)
ApplicationSummary & WithStateDetails(StateDetailsT &&value)
AWS_EMRSERVERLESS_API ApplicationSummary()=default
ApplicationSummary & WithReleaseLabel(ReleaseLabelT &&value)
ApplicationSummary & WithUpdatedAt(UpdatedAtT &&value)
ApplicationSummary & WithArn(ArnT &&value)
ApplicationSummary & WithId(IdT &&value)
ApplicationSummary & WithArchitecture(Architecture value)
AWS_EMRSERVERLESS_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
ApplicationSummary & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue