AWS SDK for C++  1.9.129
AWS SDK for C++
AddFlowOutputsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace MediaConnect
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "AddFlowOutputs"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
44 
48  inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
49 
53  inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
54 
58  inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
59 
63  inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
64 
68  inline AddFlowOutputsRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
69 
73  inline AddFlowOutputsRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
74 
78  inline AddFlowOutputsRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
79 
80 
84  inline const Aws::Vector<AddOutputRequest>& GetOutputs() const{ return m_outputs; }
85 
89  inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
90 
94  inline void SetOutputs(const Aws::Vector<AddOutputRequest>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
95 
99  inline void SetOutputs(Aws::Vector<AddOutputRequest>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
100 
104  inline AddFlowOutputsRequest& WithOutputs(const Aws::Vector<AddOutputRequest>& value) { SetOutputs(value); return *this;}
105 
109  inline AddFlowOutputsRequest& WithOutputs(Aws::Vector<AddOutputRequest>&& value) { SetOutputs(std::move(value)); return *this;}
110 
114  inline AddFlowOutputsRequest& AddOutputs(const AddOutputRequest& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
115 
119  inline AddFlowOutputsRequest& AddOutputs(AddOutputRequest&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
120 
121  private:
122 
123  Aws::String m_flowArn;
124  bool m_flowArnHasBeenSet;
125 
127  bool m_outputsHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace MediaConnect
132 } // namespace Aws
Aws::MediaConnect::Model::AddFlowOutputsRequest
Definition: AddFlowOutputsRequest.h:27
Aws::MediaConnect::Model::AddFlowOutputsRequest::SetFlowArn
void SetFlowArn(const Aws::String &value)
Definition: AddFlowOutputsRequest.h:53
Aws::MediaConnect::Model::AddFlowOutputsRequest::FlowArnHasBeenSet
bool FlowArnHasBeenSet() const
Definition: AddFlowOutputsRequest.h:48
Aws::MediaConnect::Model::AddFlowOutputsRequest::GetOutputs
const Aws::Vector< AddOutputRequest > & GetOutputs() const
Definition: AddFlowOutputsRequest.h:84
Aws::MediaConnect::Model::AddFlowOutputsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConnect::Model::AddFlowOutputsRequest::WithOutputs
AddFlowOutputsRequest & WithOutputs(Aws::Vector< AddOutputRequest > &&value)
Definition: AddFlowOutputsRequest.h:109
Aws::MediaConnect::Model::AddFlowOutputsRequest::WithOutputs
AddFlowOutputsRequest & WithOutputs(const Aws::Vector< AddOutputRequest > &value)
Definition: AddFlowOutputsRequest.h:104
Aws::MediaConnect::Model::AddFlowOutputsRequest::WithFlowArn
AddFlowOutputsRequest & WithFlowArn(const Aws::String &value)
Definition: AddFlowOutputsRequest.h:68
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MediaConnect::Model::AddFlowOutputsRequest::SetOutputs
void SetOutputs(const Aws::Vector< AddOutputRequest > &value)
Definition: AddFlowOutputsRequest.h:94
Aws::MediaConnect::Model::AddFlowOutputsRequest::AddOutputs
AddFlowOutputsRequest & AddOutputs(const AddOutputRequest &value)
Definition: AddFlowOutputsRequest.h:114
AWS_MEDIACONNECT_API
#define AWS_MEDIACONNECT_API
Definition: MediaConnect_EXPORTS.h:28
Aws::MediaConnect::Model::AddFlowOutputsRequest::OutputsHasBeenSet
bool OutputsHasBeenSet() const
Definition: AddFlowOutputsRequest.h:89
Aws::MediaConnect::Model::AddFlowOutputsRequest::SetFlowArn
void SetFlowArn(Aws::String &&value)
Definition: AddFlowOutputsRequest.h:58
Aws::MediaConnect::MediaConnectRequest
Definition: MediaConnectRequest.h:17
Aws::MediaConnect::Model::AddFlowOutputsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AddFlowOutputsRequest.h:35
MediaConnectRequest.h
Aws::MediaConnect::Model::AddFlowOutputsRequest::AddFlowOutputsRequest
AddFlowOutputsRequest()
AddOutputRequest.h
Aws::MediaConnect::Model::AddFlowOutputsRequest::WithFlowArn
AddFlowOutputsRequest & WithFlowArn(Aws::String &&value)
Definition: AddFlowOutputsRequest.h:73
AWSString.h
Aws::MediaConnect::Model::AddFlowOutputsRequest::AddOutputs
AddFlowOutputsRequest & AddOutputs(AddOutputRequest &&value)
Definition: AddFlowOutputsRequest.h:119
Aws::MediaConnect::Model::AddFlowOutputsRequest::GetFlowArn
const Aws::String & GetFlowArn() const
Definition: AddFlowOutputsRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConnect::Model::AddOutputRequest
Definition: AddOutputRequest.h:37
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
MediaConnect_EXPORTS.h
Aws::MediaConnect::Model::AddFlowOutputsRequest::SetFlowArn
void SetFlowArn(const char *value)
Definition: AddFlowOutputsRequest.h:63
Aws::MediaConnect::Model::AddFlowOutputsRequest::WithFlowArn
AddFlowOutputsRequest & WithFlowArn(const char *value)
Definition: AddFlowOutputsRequest.h:78
Aws::MediaConnect::Model::AddFlowOutputsRequest::SetOutputs
void SetOutputs(Aws::Vector< AddOutputRequest > &&value)
Definition: AddFlowOutputsRequest.h:99