AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
AddFlowVpcInterfacesRequest.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/VpcInterfaceRequest.h>
12
13#include <utility>
14
15namespace Aws {
16namespace MediaConnect {
17namespace Model {
18
22 public:
23 AWS_MEDIACONNECT_API AddFlowVpcInterfacesRequest() = 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 "AddFlowVpcInterfaces"; }
30
31 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
38 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
39 template <typename FlowArnT = Aws::String>
40 void SetFlowArn(FlowArnT&& value) {
41 m_flowArnHasBeenSet = true;
42 m_flowArn = std::forward<FlowArnT>(value);
43 }
44 template <typename FlowArnT = Aws::String>
46 SetFlowArn(std::forward<FlowArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<VpcInterfaceRequest>& GetVpcInterfaces() const { return m_vpcInterfaces; }
56 inline bool VpcInterfacesHasBeenSet() const { return m_vpcInterfacesHasBeenSet; }
57 template <typename VpcInterfacesT = Aws::Vector<VpcInterfaceRequest>>
58 void SetVpcInterfaces(VpcInterfacesT&& value) {
59 m_vpcInterfacesHasBeenSet = true;
60 m_vpcInterfaces = std::forward<VpcInterfacesT>(value);
61 }
62 template <typename VpcInterfacesT = Aws::Vector<VpcInterfaceRequest>>
64 SetVpcInterfaces(std::forward<VpcInterfacesT>(value));
65 return *this;
66 }
67 template <typename VpcInterfacesT = VpcInterfaceRequest>
69 m_vpcInterfacesHasBeenSet = true;
70 m_vpcInterfaces.emplace_back(std::forward<VpcInterfacesT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_flowArn;
76
78 bool m_flowArnHasBeenSet = false;
79 bool m_vpcInterfacesHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace MediaConnect
84} // namespace Aws
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
const Aws::Vector< VpcInterfaceRequest > & GetVpcInterfaces() const
AddFlowVpcInterfacesRequest & WithVpcInterfaces(VpcInterfacesT &&value)
AWS_MEDIACONNECT_API AddFlowVpcInterfacesRequest()=default
AddFlowVpcInterfacesRequest & WithFlowArn(FlowArnT &&value)
AddFlowVpcInterfacesRequest & AddVpcInterfaces(VpcInterfacesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector