AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
CreateFlowResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_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 QuickSight {
23namespace Model {
25 public:
26 AWS_QUICKSIGHT_API CreateFlowResult() = default;
29
31
34 inline const Aws::String& GetArn() const { return m_arn; }
35 template <typename ArnT = Aws::String>
36 void SetArn(ArnT&& value) {
37 m_arnHasBeenSet = true;
38 m_arn = std::forward<ArnT>(value);
39 }
40 template <typename ArnT = Aws::String>
41 CreateFlowResult& WithArn(ArnT&& value) {
42 SetArn(std::forward<ArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetFlowId() const { return m_flowId; }
52 template <typename FlowIdT = Aws::String>
53 void SetFlowId(FlowIdT&& value) {
54 m_flowIdHasBeenSet = true;
55 m_flowId = std::forward<FlowIdT>(value);
56 }
57 template <typename FlowIdT = Aws::String>
58 CreateFlowResult& WithFlowId(FlowIdT&& value) {
59 SetFlowId(std::forward<FlowIdT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 CreateFlowResult& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78
80
83 inline int GetStatus() const { return m_status; }
84 inline void SetStatus(int value) {
85 m_statusHasBeenSet = true;
86 m_status = value;
87 }
88 inline CreateFlowResult& WithStatus(int value) {
89 SetStatus(value);
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
96 Aws::String m_arn;
97
98 Aws::String m_flowId;
99
100 Aws::String m_requestId;
101
102 int m_status{0};
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_arnHasBeenSet = false;
105 bool m_flowIdHasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107 bool m_statusHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
AWS_QUICKSIGHT_API CreateFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API CreateFlowResult()=default
CreateFlowResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API CreateFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFlowResult & WithArn(ArnT &&value)
CreateFlowResult & WithFlowId(FlowIdT &&value)
CreateFlowResult & WithStatus(int value)
const Aws::String & GetFlowId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue