AWS SDK for C++

AWS SDK for C++ Version 1.11.783

Loading...
Searching...
No Matches
StopFlowResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
10#include <aws/mediaconnect/model/Status.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MediaConnect {
24namespace Model {
26 public:
27 AWS_MEDIACONNECT_API StopFlowResult() = default;
30
32
35 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
36 template <typename FlowArnT = Aws::String>
37 void SetFlowArn(FlowArnT&& value) {
38 m_flowArnHasBeenSet = true;
39 m_flowArn = std::forward<FlowArnT>(value);
40 }
41 template <typename FlowArnT = Aws::String>
42 StopFlowResult& WithFlowArn(FlowArnT&& value) {
43 SetFlowArn(std::forward<FlowArnT>(value));
44 return *this;
45 }
47
49
52 inline Status GetStatus() const { return m_status; }
53 inline void SetStatus(Status value) {
54 m_statusHasBeenSet = true;
55 m_status = value;
56 }
58 SetStatus(value);
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
72 StopFlowResult& WithRequestId(RequestIdT&& value) {
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
78
79 private:
80 Aws::String m_flowArn;
81
82 Status m_status{Status::NOT_SET};
83
84 Aws::String m_requestId;
85 Aws::Http::HttpResponseCode m_HttpResponseCode;
86 bool m_flowArnHasBeenSet = false;
87 bool m_statusHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace MediaConnect
93} // namespace Aws
StopFlowResult & WithFlowArn(FlowArnT &&value)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_MEDIACONNECT_API StopFlowResult()=default
AWS_MEDIACONNECT_API StopFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopFlowResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetFlowArn() const
StopFlowResult & WithStatus(Status value)
AWS_MEDIACONNECT_API StopFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue