AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeAppResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
10#include <aws/simspaceweaver/model/LaunchOverrides.h>
11#include <aws/simspaceweaver/model/SimulationAppEndpointInfo.h>
12#include <aws/simspaceweaver/model/SimulationAppStatus.h>
13#include <aws/simspaceweaver/model/SimulationAppTargetStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SimSpaceWeaver {
27namespace Model {
29 public:
30 AWS_SIMSPACEWEAVER_API DescribeAppResult() = default;
33
35
38 inline const Aws::String& GetDescription() const { return m_description; }
39 template <typename DescriptionT = Aws::String>
40 void SetDescription(DescriptionT&& value) {
41 m_descriptionHasBeenSet = true;
42 m_description = std::forward<DescriptionT>(value);
43 }
44 template <typename DescriptionT = Aws::String>
45 DescribeAppResult& WithDescription(DescriptionT&& value) {
46 SetDescription(std::forward<DescriptionT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDomain() const { return m_domain; }
56 template <typename DomainT = Aws::String>
57 void SetDomain(DomainT&& value) {
58 m_domainHasBeenSet = true;
59 m_domain = std::forward<DomainT>(value);
60 }
61 template <typename DomainT = Aws::String>
62 DescribeAppResult& WithDomain(DomainT&& value) {
63 SetDomain(std::forward<DomainT>(value));
64 return *this;
65 }
67
69
73 inline const SimulationAppEndpointInfo& GetEndpointInfo() const { return m_endpointInfo; }
74 template <typename EndpointInfoT = SimulationAppEndpointInfo>
75 void SetEndpointInfo(EndpointInfoT&& value) {
76 m_endpointInfoHasBeenSet = true;
77 m_endpointInfo = std::forward<EndpointInfoT>(value);
78 }
79 template <typename EndpointInfoT = SimulationAppEndpointInfo>
80 DescribeAppResult& WithEndpointInfo(EndpointInfoT&& value) {
81 SetEndpointInfo(std::forward<EndpointInfoT>(value));
82 return *this;
83 }
85
87
88 inline const LaunchOverrides& GetLaunchOverrides() const { return m_launchOverrides; }
89 template <typename LaunchOverridesT = LaunchOverrides>
90 void SetLaunchOverrides(LaunchOverridesT&& value) {
91 m_launchOverridesHasBeenSet = true;
92 m_launchOverrides = std::forward<LaunchOverridesT>(value);
93 }
94 template <typename LaunchOverridesT = LaunchOverrides>
95 DescribeAppResult& WithLaunchOverrides(LaunchOverridesT&& value) {
96 SetLaunchOverrides(std::forward<LaunchOverridesT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 template <typename NameT = Aws::String>
107 void SetName(NameT&& value) {
108 m_nameHasBeenSet = true;
109 m_name = std::forward<NameT>(value);
110 }
111 template <typename NameT = Aws::String>
112 DescribeAppResult& WithName(NameT&& value) {
113 SetName(std::forward<NameT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetSimulation() const { return m_simulation; }
123 template <typename SimulationT = Aws::String>
124 void SetSimulation(SimulationT&& value) {
125 m_simulationHasBeenSet = true;
126 m_simulation = std::forward<SimulationT>(value);
127 }
128 template <typename SimulationT = Aws::String>
129 DescribeAppResult& WithSimulation(SimulationT&& value) {
130 SetSimulation(std::forward<SimulationT>(value));
131 return *this;
132 }
134
136
139 inline SimulationAppStatus GetStatus() const { return m_status; }
140 inline void SetStatus(SimulationAppStatus value) {
141 m_statusHasBeenSet = true;
142 m_status = value;
143 }
145 SetStatus(value);
146 return *this;
147 }
149
151
154 inline SimulationAppTargetStatus GetTargetStatus() const { return m_targetStatus; }
156 m_targetStatusHasBeenSet = true;
157 m_targetStatus = value;
158 }
160 SetTargetStatus(value);
161 return *this;
162 }
164
166
167 inline const Aws::String& GetRequestId() const { return m_requestId; }
168 template <typename RequestIdT = Aws::String>
169 void SetRequestId(RequestIdT&& value) {
170 m_requestIdHasBeenSet = true;
171 m_requestId = std::forward<RequestIdT>(value);
172 }
173 template <typename RequestIdT = Aws::String>
174 DescribeAppResult& WithRequestId(RequestIdT&& value) {
175 SetRequestId(std::forward<RequestIdT>(value));
176 return *this;
177 }
179 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
180
181 private:
182 Aws::String m_description;
183
184 Aws::String m_domain;
185
186 SimulationAppEndpointInfo m_endpointInfo;
187
188 LaunchOverrides m_launchOverrides;
189
190 Aws::String m_name;
191
192 Aws::String m_simulation;
193
195
197
198 Aws::String m_requestId;
199 Aws::Http::HttpResponseCode m_HttpResponseCode;
200 bool m_descriptionHasBeenSet = false;
201 bool m_domainHasBeenSet = false;
202 bool m_endpointInfoHasBeenSet = false;
203 bool m_launchOverridesHasBeenSet = false;
204 bool m_nameHasBeenSet = false;
205 bool m_simulationHasBeenSet = false;
206 bool m_statusHasBeenSet = false;
207 bool m_targetStatusHasBeenSet = false;
208 bool m_requestIdHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace SimSpaceWeaver
213} // namespace Aws
DescribeAppResult & WithSimulation(SimulationT &&value)
SimulationAppTargetStatus GetTargetStatus() const
DescribeAppResult & WithDescription(DescriptionT &&value)
AWS_SIMSPACEWEAVER_API DescribeAppResult()=default
DescribeAppResult & WithStatus(SimulationAppStatus value)
DescribeAppResult & WithDomain(DomainT &&value)
void SetTargetStatus(SimulationAppTargetStatus value)
DescribeAppResult & WithTargetStatus(SimulationAppTargetStatus value)
const SimulationAppEndpointInfo & GetEndpointInfo() const
DescribeAppResult & WithEndpointInfo(EndpointInfoT &&value)
AWS_SIMSPACEWEAVER_API DescribeAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAppResult & WithLaunchOverrides(LaunchOverridesT &&value)
const LaunchOverrides & GetLaunchOverrides() const
AWS_SIMSPACEWEAVER_API DescribeAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAppResult & WithRequestId(RequestIdT &&value)
void SetLaunchOverrides(LaunchOverridesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeAppResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue