AWS SDK for C++  1.9.131
AWS SDK for C++
AddFlowVpcInterfacesRequest.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 "AddFlowVpcInterfaces"; }
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 AddFlowVpcInterfacesRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
69 
73  inline AddFlowVpcInterfacesRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
74 
78  inline AddFlowVpcInterfacesRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
79 
80 
84  inline const Aws::Vector<VpcInterfaceRequest>& GetVpcInterfaces() const{ return m_vpcInterfaces; }
85 
89  inline bool VpcInterfacesHasBeenSet() const { return m_vpcInterfacesHasBeenSet; }
90 
94  inline void SetVpcInterfaces(const Aws::Vector<VpcInterfaceRequest>& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = value; }
95 
99  inline void SetVpcInterfaces(Aws::Vector<VpcInterfaceRequest>&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces = std::move(value); }
100 
104  inline AddFlowVpcInterfacesRequest& WithVpcInterfaces(const Aws::Vector<VpcInterfaceRequest>& value) { SetVpcInterfaces(value); return *this;}
105 
109  inline AddFlowVpcInterfacesRequest& WithVpcInterfaces(Aws::Vector<VpcInterfaceRequest>&& value) { SetVpcInterfaces(std::move(value)); return *this;}
110 
114  inline AddFlowVpcInterfacesRequest& AddVpcInterfaces(const VpcInterfaceRequest& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(value); return *this; }
115 
119  inline AddFlowVpcInterfacesRequest& AddVpcInterfaces(VpcInterfaceRequest&& value) { m_vpcInterfacesHasBeenSet = true; m_vpcInterfaces.push_back(std::move(value)); return *this; }
120 
121  private:
122 
123  Aws::String m_flowArn;
124  bool m_flowArnHasBeenSet;
125 
126  Aws::Vector<VpcInterfaceRequest> m_vpcInterfaces;
127  bool m_vpcInterfacesHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace MediaConnect
132 } // namespace Aws
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::VpcInterfacesHasBeenSet
bool VpcInterfacesHasBeenSet() const
Definition: AddFlowVpcInterfacesRequest.h:89
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::AddVpcInterfaces
AddFlowVpcInterfacesRequest & AddVpcInterfaces(const VpcInterfaceRequest &value)
Definition: AddFlowVpcInterfacesRequest.h:114
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::SetVpcInterfaces
void SetVpcInterfaces(Aws::Vector< VpcInterfaceRequest > &&value)
Definition: AddFlowVpcInterfacesRequest.h:99
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::WithFlowArn
AddFlowVpcInterfacesRequest & WithFlowArn(Aws::String &&value)
Definition: AddFlowVpcInterfacesRequest.h:73
Aws::MediaConnect::Model::VpcInterfaceRequest
Definition: VpcInterfaceRequest.h:34
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::SetFlowArn
void SetFlowArn(Aws::String &&value)
Definition: AddFlowVpcInterfacesRequest.h:58
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::GetFlowArn
const Aws::String & GetFlowArn() const
Definition: AddFlowVpcInterfacesRequest.h:43
AWSVector.h
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest
Definition: AddFlowVpcInterfacesRequest.h:27
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::FlowArnHasBeenSet
bool FlowArnHasBeenSet() const
Definition: AddFlowVpcInterfacesRequest.h:48
VpcInterfaceRequest.h
AWS_MEDIACONNECT_API
#define AWS_MEDIACONNECT_API
Definition: MediaConnect_EXPORTS.h:28
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::SetVpcInterfaces
void SetVpcInterfaces(const Aws::Vector< VpcInterfaceRequest > &value)
Definition: AddFlowVpcInterfacesRequest.h:94
Aws::MediaConnect::MediaConnectRequest
Definition: MediaConnectRequest.h:17
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::SetFlowArn
void SetFlowArn(const char *value)
Definition: AddFlowVpcInterfacesRequest.h:63
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::WithFlowArn
AddFlowVpcInterfacesRequest & WithFlowArn(const char *value)
Definition: AddFlowVpcInterfacesRequest.h:78
MediaConnectRequest.h
AWSString.h
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::WithVpcInterfaces
AddFlowVpcInterfacesRequest & WithVpcInterfaces(Aws::Vector< VpcInterfaceRequest > &&value)
Definition: AddFlowVpcInterfacesRequest.h:109
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::AddFlowVpcInterfacesRequest
AddFlowVpcInterfacesRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::AddVpcInterfaces
AddFlowVpcInterfacesRequest & AddVpcInterfaces(VpcInterfaceRequest &&value)
Definition: AddFlowVpcInterfacesRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::WithVpcInterfaces
AddFlowVpcInterfacesRequest & WithVpcInterfaces(const Aws::Vector< VpcInterfaceRequest > &value)
Definition: AddFlowVpcInterfacesRequest.h:104
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::SetFlowArn
void SetFlowArn(const Aws::String &value)
Definition: AddFlowVpcInterfacesRequest.h:53
MediaConnect_EXPORTS.h
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AddFlowVpcInterfacesRequest.h:35
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::WithFlowArn
AddFlowVpcInterfacesRequest & WithFlowArn(const Aws::String &value)
Definition: AddFlowVpcInterfacesRequest.h:68
Aws::MediaConnect::Model::AddFlowVpcInterfacesRequest::GetVpcInterfaces
const Aws::Vector< VpcInterfaceRequest > & GetVpcInterfaces() const
Definition: AddFlowVpcInterfacesRequest.h:84