AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
BatchGetRouterInputResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
11#include <aws/mediaconnect/model/BatchGetRouterInputError.h>
12#include <aws/mediaconnect/model/RouterInput.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaConnect {
26namespace Model {
28 public:
29 AWS_MEDIACONNECT_API BatchGetRouterInputResult() = default;
32
34
37 inline const Aws::Vector<RouterInput>& GetRouterInputs() const { return m_routerInputs; }
38 template <typename RouterInputsT = Aws::Vector<RouterInput>>
39 void SetRouterInputs(RouterInputsT&& value) {
40 m_routerInputsHasBeenSet = true;
41 m_routerInputs = std::forward<RouterInputsT>(value);
42 }
43 template <typename RouterInputsT = Aws::Vector<RouterInput>>
45 SetRouterInputs(std::forward<RouterInputsT>(value));
46 return *this;
47 }
48 template <typename RouterInputsT = RouterInput>
50 m_routerInputsHasBeenSet = true;
51 m_routerInputs.emplace_back(std::forward<RouterInputsT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Vector<BatchGetRouterInputError>& GetErrors() const { return m_errors; }
62 template <typename ErrorsT = Aws::Vector<BatchGetRouterInputError>>
63 void SetErrors(ErrorsT&& value) {
64 m_errorsHasBeenSet = true;
65 m_errors = std::forward<ErrorsT>(value);
66 }
67 template <typename ErrorsT = Aws::Vector<BatchGetRouterInputError>>
69 SetErrors(std::forward<ErrorsT>(value));
70 return *this;
71 }
72 template <typename ErrorsT = BatchGetRouterInputError>
74 m_errorsHasBeenSet = true;
75 m_errors.emplace_back(std::forward<ErrorsT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 Aws::Vector<RouterInput> m_routerInputs;
98
100
101 Aws::String m_requestId;
102 Aws::Http::HttpResponseCode m_HttpResponseCode;
103 bool m_routerInputsHasBeenSet = false;
104 bool m_errorsHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace MediaConnect
110} // namespace Aws
BatchGetRouterInputResult & WithErrors(ErrorsT &&value)
AWS_MEDIACONNECT_API BatchGetRouterInputResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetRouterInputResult & AddErrors(ErrorsT &&value)
BatchGetRouterInputResult & WithRouterInputs(RouterInputsT &&value)
AWS_MEDIACONNECT_API BatchGetRouterInputResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchGetRouterInputError > & GetErrors() const
BatchGetRouterInputResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< RouterInput > & GetRouterInputs() const
BatchGetRouterInputResult & AddRouterInputs(RouterInputsT &&value)
AWS_MEDIACONNECT_API BatchGetRouterInputResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue