AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
BatchGetRouterOutputResult.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/BatchGetRouterOutputError.h>
12#include <aws/mediaconnect/model/RouterOutput.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 BatchGetRouterOutputResult() = default;
32
34
37 inline const Aws::Vector<RouterOutput>& GetRouterOutputs() const { return m_routerOutputs; }
38 template <typename RouterOutputsT = Aws::Vector<RouterOutput>>
39 void SetRouterOutputs(RouterOutputsT&& value) {
40 m_routerOutputsHasBeenSet = true;
41 m_routerOutputs = std::forward<RouterOutputsT>(value);
42 }
43 template <typename RouterOutputsT = Aws::Vector<RouterOutput>>
45 SetRouterOutputs(std::forward<RouterOutputsT>(value));
46 return *this;
47 }
48 template <typename RouterOutputsT = RouterOutput>
50 m_routerOutputsHasBeenSet = true;
51 m_routerOutputs.emplace_back(std::forward<RouterOutputsT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Vector<BatchGetRouterOutputError>& GetErrors() const { return m_errors; }
62 template <typename ErrorsT = Aws::Vector<BatchGetRouterOutputError>>
63 void SetErrors(ErrorsT&& value) {
64 m_errorsHasBeenSet = true;
65 m_errors = std::forward<ErrorsT>(value);
66 }
67 template <typename ErrorsT = Aws::Vector<BatchGetRouterOutputError>>
69 SetErrors(std::forward<ErrorsT>(value));
70 return *this;
71 }
72 template <typename ErrorsT = BatchGetRouterOutputError>
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<RouterOutput> m_routerOutputs;
98
100
101 Aws::String m_requestId;
102 Aws::Http::HttpResponseCode m_HttpResponseCode;
103 bool m_routerOutputsHasBeenSet = false;
104 bool m_errorsHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace MediaConnect
110} // namespace Aws
BatchGetRouterOutputResult & WithRouterOutputs(RouterOutputsT &&value)
BatchGetRouterOutputResult & AddRouterOutputs(RouterOutputsT &&value)
const Aws::Vector< RouterOutput > & GetRouterOutputs() const
AWS_MEDIACONNECT_API BatchGetRouterOutputResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIACONNECT_API BatchGetRouterOutputResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchGetRouterOutputError > & GetErrors() const
BatchGetRouterOutputResult & AddErrors(ErrorsT &&value)
AWS_MEDIACONNECT_API BatchGetRouterOutputResult()=default
BatchGetRouterOutputResult & WithErrors(ErrorsT &&value)
BatchGetRouterOutputResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue