AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
SendProjectSessionActionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/databrew/GlueDataBrew_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 GlueDataBrew {
23namespace Model {
25 public:
26 AWS_GLUEDATABREW_API SendProjectSessionActionResult() = default;
29
31
34 inline const Aws::String& GetResult() const { return m_result; }
35 template <typename ResultT = Aws::String>
36 void SetResult(ResultT&& value) {
37 m_resultHasBeenSet = true;
38 m_result = std::forward<ResultT>(value);
39 }
40 template <typename ResultT = Aws::String>
42 SetResult(std::forward<ResultT>(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>
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
68 inline int GetActionId() const { return m_actionId; }
69 inline void SetActionId(int value) {
70 m_actionIdHasBeenSet = true;
71 m_actionId = value;
72 }
74 SetActionId(value);
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
96 Aws::String m_result;
97
98 Aws::String m_name;
99
100 int m_actionId{0};
101
102 Aws::String m_requestId;
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_resultHasBeenSet = false;
105 bool m_nameHasBeenSet = false;
106 bool m_actionIdHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace GlueDataBrew
112} // namespace Aws
AWS_GLUEDATABREW_API SendProjectSessionActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUEDATABREW_API SendProjectSessionActionResult()=default
AWS_GLUEDATABREW_API SendProjectSessionActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SendProjectSessionActionResult & WithRequestId(RequestIdT &&value)
SendProjectSessionActionResult & WithResult(ResultT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue