AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
StartAppResult.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
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SimSpaceWeaver {
23namespace Model {
25 public:
26 AWS_SIMSPACEWEAVER_API StartAppResult() = default;
29
31
34 inline const Aws::String& GetDomain() const { return m_domain; }
35 template <typename DomainT = Aws::String>
36 void SetDomain(DomainT&& value) {
37 m_domainHasBeenSet = true;
38 m_domain = std::forward<DomainT>(value);
39 }
40 template <typename DomainT = Aws::String>
41 StartAppResult& WithDomain(DomainT&& value) {
42 SetDomain(std::forward<DomainT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
58 StartAppResult& WithName(NameT&& value) {
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetSimulation() const { return m_simulation; }
69 template <typename SimulationT = Aws::String>
70 void SetSimulation(SimulationT&& value) {
71 m_simulationHasBeenSet = true;
72 m_simulation = std::forward<SimulationT>(value);
73 }
74 template <typename SimulationT = Aws::String>
75 StartAppResult& WithSimulation(SimulationT&& value) {
76 SetSimulation(std::forward<SimulationT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
90 StartAppResult& WithRequestId(RequestIdT&& value) {
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_domain;
99
100 Aws::String m_name;
101
102 Aws::String m_simulation;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_domainHasBeenSet = false;
107 bool m_nameHasBeenSet = false;
108 bool m_simulationHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace SimSpaceWeaver
114} // namespace Aws
const Aws::String & GetDomain() const
AWS_SIMSPACEWEAVER_API StartAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetSimulation() const
StartAppResult & WithRequestId(RequestIdT &&value)
StartAppResult & WithDomain(DomainT &&value)
AWS_SIMSPACEWEAVER_API StartAppResult()=default
AWS_SIMSPACEWEAVER_API StartAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
StartAppResult & WithName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
StartAppResult & WithSimulation(SimulationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue