AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
StopDevEnvironmentSessionResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.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 CodeCatalyst {
23namespace Model {
25 public:
26 AWS_CODECATALYST_API StopDevEnvironmentSessionResult() = default;
29
31
34 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
35 template <typename SpaceNameT = Aws::String>
36 void SetSpaceName(SpaceNameT&& value) {
37 m_spaceNameHasBeenSet = true;
38 m_spaceName = std::forward<SpaceNameT>(value);
39 }
40 template <typename SpaceNameT = Aws::String>
42 SetSpaceName(std::forward<SpaceNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetProjectName() const { return m_projectName; }
52 template <typename ProjectNameT = Aws::String>
53 void SetProjectName(ProjectNameT&& value) {
54 m_projectNameHasBeenSet = true;
55 m_projectName = std::forward<ProjectNameT>(value);
56 }
57 template <typename ProjectNameT = Aws::String>
59 SetProjectName(std::forward<ProjectNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetId() const { return m_id; }
69 template <typename IdT = Aws::String>
70 void SetId(IdT&& value) {
71 m_idHasBeenSet = true;
72 m_id = std::forward<IdT>(value);
73 }
74 template <typename IdT = Aws::String>
76 SetId(std::forward<IdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetSessionId() const { return m_sessionId; }
86 template <typename SessionIdT = Aws::String>
87 void SetSessionId(SessionIdT&& value) {
88 m_sessionIdHasBeenSet = true;
89 m_sessionId = std::forward<SessionIdT>(value);
90 }
91 template <typename SessionIdT = Aws::String>
93 SetSessionId(std::forward<SessionIdT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_spaceName;
116
117 Aws::String m_projectName;
118
119 Aws::String m_id;
120
121 Aws::String m_sessionId;
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_spaceNameHasBeenSet = false;
126 bool m_projectNameHasBeenSet = false;
127 bool m_idHasBeenSet = false;
128 bool m_sessionIdHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace CodeCatalyst
134} // namespace Aws
StopDevEnvironmentSessionResult & WithSpaceName(SpaceNameT &&value)
AWS_CODECATALYST_API StopDevEnvironmentSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopDevEnvironmentSessionResult & WithRequestId(RequestIdT &&value)
StopDevEnvironmentSessionResult & WithSessionId(SessionIdT &&value)
AWS_CODECATALYST_API StopDevEnvironmentSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECATALYST_API StopDevEnvironmentSessionResult()=default
StopDevEnvironmentSessionResult & WithProjectName(ProjectNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue