AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DescribeAppResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
9#include <aws/simspaceweaver/model/LaunchOverrides.h>
10#include <aws/simspaceweaver/model/SimulationAppEndpointInfo.h>
11#include <aws/simspaceweaver/model/SimulationAppStatus.h>
12#include <aws/simspaceweaver/model/SimulationAppTargetStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SimSpaceWeaver {
26namespace Model {
28 public:
29 AWS_SIMSPACEWEAVER_API DescribeAppResult() = default;
32
34
37 inline const Aws::String& GetDescription() const { return m_description; }
38 template <typename DescriptionT = Aws::String>
39 void SetDescription(DescriptionT&& value) {
40 m_descriptionHasBeenSet = true;
41 m_description = std::forward<DescriptionT>(value);
42 }
43 template <typename DescriptionT = Aws::String>
44 DescribeAppResult& WithDescription(DescriptionT&& value) {
45 SetDescription(std::forward<DescriptionT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDomain() const { return m_domain; }
55 template <typename DomainT = Aws::String>
56 void SetDomain(DomainT&& value) {
57 m_domainHasBeenSet = true;
58 m_domain = std::forward<DomainT>(value);
59 }
60 template <typename DomainT = Aws::String>
61 DescribeAppResult& WithDomain(DomainT&& value) {
62 SetDomain(std::forward<DomainT>(value));
63 return *this;
64 }
66
68
72 inline const SimulationAppEndpointInfo& GetEndpointInfo() const { return m_endpointInfo; }
73 template <typename EndpointInfoT = SimulationAppEndpointInfo>
74 void SetEndpointInfo(EndpointInfoT&& value) {
75 m_endpointInfoHasBeenSet = true;
76 m_endpointInfo = std::forward<EndpointInfoT>(value);
77 }
78 template <typename EndpointInfoT = SimulationAppEndpointInfo>
79 DescribeAppResult& WithEndpointInfo(EndpointInfoT&& value) {
80 SetEndpointInfo(std::forward<EndpointInfoT>(value));
81 return *this;
82 }
84
86
87 inline const LaunchOverrides& GetLaunchOverrides() const { return m_launchOverrides; }
88 template <typename LaunchOverridesT = LaunchOverrides>
89 void SetLaunchOverrides(LaunchOverridesT&& value) {
90 m_launchOverridesHasBeenSet = true;
91 m_launchOverrides = std::forward<LaunchOverridesT>(value);
92 }
93 template <typename LaunchOverridesT = LaunchOverrides>
94 DescribeAppResult& WithLaunchOverrides(LaunchOverridesT&& value) {
95 SetLaunchOverrides(std::forward<LaunchOverridesT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 template <typename NameT = Aws::String>
106 void SetName(NameT&& value) {
107 m_nameHasBeenSet = true;
108 m_name = std::forward<NameT>(value);
109 }
110 template <typename NameT = Aws::String>
111 DescribeAppResult& WithName(NameT&& value) {
112 SetName(std::forward<NameT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetSimulation() const { return m_simulation; }
122 template <typename SimulationT = Aws::String>
123 void SetSimulation(SimulationT&& value) {
124 m_simulationHasBeenSet = true;
125 m_simulation = std::forward<SimulationT>(value);
126 }
127 template <typename SimulationT = Aws::String>
128 DescribeAppResult& WithSimulation(SimulationT&& value) {
129 SetSimulation(std::forward<SimulationT>(value));
130 return *this;
131 }
133
135
138 inline SimulationAppStatus GetStatus() const { return m_status; }
139 inline void SetStatus(SimulationAppStatus value) {
140 m_statusHasBeenSet = true;
141 m_status = value;
142 }
144 SetStatus(value);
145 return *this;
146 }
148
150
153 inline SimulationAppTargetStatus GetTargetStatus() const { return m_targetStatus; }
155 m_targetStatusHasBeenSet = true;
156 m_targetStatus = value;
157 }
159 SetTargetStatus(value);
160 return *this;
161 }
163
165
166 inline const Aws::String& GetRequestId() const { return m_requestId; }
167 template <typename RequestIdT = Aws::String>
168 void SetRequestId(RequestIdT&& value) {
169 m_requestIdHasBeenSet = true;
170 m_requestId = std::forward<RequestIdT>(value);
171 }
172 template <typename RequestIdT = Aws::String>
173 DescribeAppResult& WithRequestId(RequestIdT&& value) {
174 SetRequestId(std::forward<RequestIdT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_description;
180
181 Aws::String m_domain;
182
183 SimulationAppEndpointInfo m_endpointInfo;
184
185 LaunchOverrides m_launchOverrides;
186
187 Aws::String m_name;
188
189 Aws::String m_simulation;
190
192
194
195 Aws::String m_requestId;
196 bool m_descriptionHasBeenSet = false;
197 bool m_domainHasBeenSet = false;
198 bool m_endpointInfoHasBeenSet = false;
199 bool m_launchOverridesHasBeenSet = false;
200 bool m_nameHasBeenSet = false;
201 bool m_simulationHasBeenSet = false;
202 bool m_statusHasBeenSet = false;
203 bool m_targetStatusHasBeenSet = false;
204 bool m_requestIdHasBeenSet = false;
205};
206
207} // namespace Model
208} // namespace SimSpaceWeaver
209} // 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)
DescribeAppResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue