AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AddFlowOutputsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconnect/MediaConnectRequest.h>
10#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
11#include <aws/mediaconnect/model/AddOutputRequest.h>
12
13#include <utility>
14
15namespace Aws {
16namespace MediaConnect {
17namespace Model {
18
22 public:
23 AWS_MEDIACONNECT_API AddFlowOutputsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "AddFlowOutputs"; }
30
31 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
39 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
40 template <typename FlowArnT = Aws::String>
41 void SetFlowArn(FlowArnT&& value) {
42 m_flowArnHasBeenSet = true;
43 m_flowArn = std::forward<FlowArnT>(value);
44 }
45 template <typename FlowArnT = Aws::String>
47 SetFlowArn(std::forward<FlowArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<AddOutputRequest>& GetOutputs() const { return m_outputs; }
57 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
58 template <typename OutputsT = Aws::Vector<AddOutputRequest>>
59 void SetOutputs(OutputsT&& value) {
60 m_outputsHasBeenSet = true;
61 m_outputs = std::forward<OutputsT>(value);
62 }
63 template <typename OutputsT = Aws::Vector<AddOutputRequest>>
65 SetOutputs(std::forward<OutputsT>(value));
66 return *this;
67 }
68 template <typename OutputsT = AddOutputRequest>
69 AddFlowOutputsRequest& AddOutputs(OutputsT&& value) {
70 m_outputsHasBeenSet = true;
71 m_outputs.emplace_back(std::forward<OutputsT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_flowArn;
77
79 bool m_flowArnHasBeenSet = false;
80 bool m_outputsHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace MediaConnect
85} // namespace Aws
AddFlowOutputsRequest & WithFlowArn(FlowArnT &&value)
const Aws::Vector< AddOutputRequest > & GetOutputs() const
virtual const char * GetServiceRequestName() const override
AddFlowOutputsRequest & WithOutputs(OutputsT &&value)
AddFlowOutputsRequest & AddOutputs(OutputsT &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
AWS_MEDIACONNECT_API AddFlowOutputsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector