AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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