AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StopFlowResult.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/FlowStatus.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 Appflow {
23namespace Model {
25 public:
26 AWS_APPFLOW_API StopFlowResult() = default;
29
31
34 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
35 template <typename FlowArnT = Aws::String>
36 void SetFlowArn(FlowArnT&& value) {
37 m_flowArnHasBeenSet = true;
38 m_flowArn = std::forward<FlowArnT>(value);
39 }
40 template <typename FlowArnT = Aws::String>
41 StopFlowResult& WithFlowArn(FlowArnT&& value) {
42 SetFlowArn(std::forward<FlowArnT>(value));
43 return *this;
44 }
46
48
51 inline FlowStatus GetFlowStatus() const { return m_flowStatus; }
52 inline void SetFlowStatus(FlowStatus value) {
53 m_flowStatusHasBeenSet = true;
54 m_flowStatus = value;
55 }
57 SetFlowStatus(value);
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
71 StopFlowResult& WithRequestId(RequestIdT&& value) {
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_flowArn;
78
79 FlowStatus m_flowStatus{FlowStatus::NOT_SET};
80
81 Aws::String m_requestId;
82 bool m_flowArnHasBeenSet = false;
83 bool m_flowStatusHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Appflow
89} // namespace Aws
StopFlowResult & WithRequestId(RequestIdT &&value)
AWS_APPFLOW_API StopFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFlowArn(FlowArnT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetFlowArn() const
StopFlowResult & WithFlowStatus(FlowStatus value)
AWS_APPFLOW_API StopFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFlowStatus(FlowStatus value)
StopFlowResult & WithFlowArn(FlowArnT &&value)
const Aws::String & GetRequestId() const
AWS_APPFLOW_API StopFlowResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue