AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
TakeRouterInputResult.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/RouterOutputRoutedState.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 TakeRouterInputResult() = default;
30
32
35 inline RouterOutputRoutedState GetRoutedState() const { return m_routedState; }
37 m_routedStateHasBeenSet = true;
38 m_routedState = value;
39 }
41 SetRoutedState(value);
42 return *this;
43 }
45
47
50 inline const Aws::String& GetRouterOutputArn() const { return m_routerOutputArn; }
51 template <typename RouterOutputArnT = Aws::String>
52 void SetRouterOutputArn(RouterOutputArnT&& value) {
53 m_routerOutputArnHasBeenSet = true;
54 m_routerOutputArn = std::forward<RouterOutputArnT>(value);
55 }
56 template <typename RouterOutputArnT = Aws::String>
57 TakeRouterInputResult& WithRouterOutputArn(RouterOutputArnT&& value) {
58 SetRouterOutputArn(std::forward<RouterOutputArnT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetRouterOutputName() const { return m_routerOutputName; }
68 template <typename RouterOutputNameT = Aws::String>
69 void SetRouterOutputName(RouterOutputNameT&& value) {
70 m_routerOutputNameHasBeenSet = true;
71 m_routerOutputName = std::forward<RouterOutputNameT>(value);
72 }
73 template <typename RouterOutputNameT = Aws::String>
74 TakeRouterInputResult& WithRouterOutputName(RouterOutputNameT&& value) {
75 SetRouterOutputName(std::forward<RouterOutputNameT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetRouterInputArn() const { return m_routerInputArn; }
85 template <typename RouterInputArnT = Aws::String>
86 void SetRouterInputArn(RouterInputArnT&& value) {
87 m_routerInputArnHasBeenSet = true;
88 m_routerInputArn = std::forward<RouterInputArnT>(value);
89 }
90 template <typename RouterInputArnT = Aws::String>
91 TakeRouterInputResult& WithRouterInputArn(RouterInputArnT&& value) {
92 SetRouterInputArn(std::forward<RouterInputArnT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetRouterInputName() const { return m_routerInputName; }
102 template <typename RouterInputNameT = Aws::String>
103 void SetRouterInputName(RouterInputNameT&& value) {
104 m_routerInputNameHasBeenSet = true;
105 m_routerInputName = std::forward<RouterInputNameT>(value);
106 }
107 template <typename RouterInputNameT = Aws::String>
108 TakeRouterInputResult& WithRouterInputName(RouterInputNameT&& value) {
109 SetRouterInputName(std::forward<RouterInputNameT>(value));
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
129
130 private:
132
133 Aws::String m_routerOutputArn;
134
135 Aws::String m_routerOutputName;
136
137 Aws::String m_routerInputArn;
138
139 Aws::String m_routerInputName;
140
141 Aws::String m_requestId;
142 Aws::Http::HttpResponseCode m_HttpResponseCode;
143 bool m_routedStateHasBeenSet = false;
144 bool m_routerOutputArnHasBeenSet = false;
145 bool m_routerOutputNameHasBeenSet = false;
146 bool m_routerInputArnHasBeenSet = false;
147 bool m_routerInputNameHasBeenSet = false;
148 bool m_requestIdHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace MediaConnect
153} // namespace Aws
TakeRouterInputResult & WithRoutedState(RouterOutputRoutedState value)
AWS_MEDIACONNECT_API TakeRouterInputResult()=default
AWS_MEDIACONNECT_API TakeRouterInputResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRoutedState(RouterOutputRoutedState value)
TakeRouterInputResult & WithRequestId(RequestIdT &&value)
AWS_MEDIACONNECT_API TakeRouterInputResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TakeRouterInputResult & WithRouterOutputName(RouterOutputNameT &&value)
TakeRouterInputResult & WithRouterOutputArn(RouterOutputArnT &&value)
TakeRouterInputResult & WithRouterInputName(RouterInputNameT &&value)
TakeRouterInputResult & WithRouterInputArn(RouterInputArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue