AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
RemoveFlowVpcInterfaceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MediaConnect {
24namespace Model {
26 public:
27 AWS_MEDIACONNECT_API RemoveFlowVpcInterfaceResult() = default;
30
32
36 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
37 template <typename FlowArnT = Aws::String>
38 void SetFlowArn(FlowArnT&& value) {
39 m_flowArnHasBeenSet = true;
40 m_flowArn = std::forward<FlowArnT>(value);
41 }
42 template <typename FlowArnT = Aws::String>
44 SetFlowArn(std::forward<FlowArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::Vector<Aws::String>& GetNonDeletedNetworkInterfaceIds() const { return m_nonDeletedNetworkInterfaceIds; }
55 template <typename NonDeletedNetworkInterfaceIdsT = Aws::Vector<Aws::String>>
56 void SetNonDeletedNetworkInterfaceIds(NonDeletedNetworkInterfaceIdsT&& value) {
57 m_nonDeletedNetworkInterfaceIdsHasBeenSet = true;
58 m_nonDeletedNetworkInterfaceIds = std::forward<NonDeletedNetworkInterfaceIdsT>(value);
59 }
60 template <typename NonDeletedNetworkInterfaceIdsT = Aws::Vector<Aws::String>>
61 RemoveFlowVpcInterfaceResult& WithNonDeletedNetworkInterfaceIds(NonDeletedNetworkInterfaceIdsT&& value) {
62 SetNonDeletedNetworkInterfaceIds(std::forward<NonDeletedNetworkInterfaceIdsT>(value));
63 return *this;
64 }
65 template <typename NonDeletedNetworkInterfaceIdsT = Aws::String>
66 RemoveFlowVpcInterfaceResult& AddNonDeletedNetworkInterfaceIds(NonDeletedNetworkInterfaceIdsT&& value) {
67 m_nonDeletedNetworkInterfaceIdsHasBeenSet = true;
68 m_nonDeletedNetworkInterfaceIds.emplace_back(std::forward<NonDeletedNetworkInterfaceIdsT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetVpcInterfaceName() const { return m_vpcInterfaceName; }
78 template <typename VpcInterfaceNameT = Aws::String>
79 void SetVpcInterfaceName(VpcInterfaceNameT&& value) {
80 m_vpcInterfaceNameHasBeenSet = true;
81 m_vpcInterfaceName = std::forward<VpcInterfaceNameT>(value);
82 }
83 template <typename VpcInterfaceNameT = Aws::String>
85 SetVpcInterfaceName(std::forward<VpcInterfaceNameT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
105
106 private:
107 Aws::String m_flowArn;
108
109 Aws::Vector<Aws::String> m_nonDeletedNetworkInterfaceIds;
110
111 Aws::String m_vpcInterfaceName;
112
113 Aws::String m_requestId;
114 Aws::Http::HttpResponseCode m_HttpResponseCode;
115 bool m_flowArnHasBeenSet = false;
116 bool m_nonDeletedNetworkInterfaceIdsHasBeenSet = false;
117 bool m_vpcInterfaceNameHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace MediaConnect
123} // namespace Aws
RemoveFlowVpcInterfaceResult & WithVpcInterfaceName(VpcInterfaceNameT &&value)
AWS_MEDIACONNECT_API RemoveFlowVpcInterfaceResult()=default
const Aws::Vector< Aws::String > & GetNonDeletedNetworkInterfaceIds() const
RemoveFlowVpcInterfaceResult & WithFlowArn(FlowArnT &&value)
RemoveFlowVpcInterfaceResult & WithNonDeletedNetworkInterfaceIds(NonDeletedNetworkInterfaceIdsT &&value)
RemoveFlowVpcInterfaceResult & WithRequestId(RequestIdT &&value)
void SetNonDeletedNetworkInterfaceIds(NonDeletedNetworkInterfaceIdsT &&value)
RemoveFlowVpcInterfaceResult & AddNonDeletedNetworkInterfaceIds(NonDeletedNetworkInterfaceIdsT &&value)
AWS_MEDIACONNECT_API RemoveFlowVpcInterfaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIACONNECT_API RemoveFlowVpcInterfaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue