AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddFlowVpcInterfacesResult.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediaconnect/model/VpcInterface.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaConnect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MEDIACONNECT_API AddFlowVpcInterfacesResult();
35
36
38
41 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
42 inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
43 inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
44 inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
45 inline AddFlowVpcInterfacesResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
46 inline AddFlowVpcInterfacesResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
47 inline AddFlowVpcInterfacesResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
49
51
54 inline const Aws::Vector<VpcInterface>& GetVpcInterfaces() const{ return m_vpcInterfaces; }
55 inline void SetVpcInterfaces(const Aws::Vector<VpcInterface>& value) { m_vpcInterfaces = value; }
56 inline void SetVpcInterfaces(Aws::Vector<VpcInterface>&& value) { m_vpcInterfaces = std::move(value); }
59 inline AddFlowVpcInterfacesResult& AddVpcInterfaces(const VpcInterface& value) { m_vpcInterfaces.push_back(value); return *this; }
60 inline AddFlowVpcInterfacesResult& AddVpcInterfaces(VpcInterface&& value) { m_vpcInterfaces.push_back(std::move(value)); return *this; }
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline AddFlowVpcInterfacesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline AddFlowVpcInterfacesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline AddFlowVpcInterfacesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Aws::String m_flowArn;
76
77 Aws::Vector<VpcInterface> m_vpcInterfaces;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace MediaConnect
84} // namespace Aws
void SetVpcInterfaces(const Aws::Vector< VpcInterface > &value)
AddFlowVpcInterfacesResult & WithRequestId(Aws::String &&value)
AddFlowVpcInterfacesResult & WithRequestId(const Aws::String &value)
AddFlowVpcInterfacesResult & WithFlowArn(const Aws::String &value)
AddFlowVpcInterfacesResult & AddVpcInterfaces(const VpcInterface &value)
AWS_MEDIACONNECT_API AddFlowVpcInterfacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddFlowVpcInterfacesResult & WithVpcInterfaces(Aws::Vector< VpcInterface > &&value)
AWS_MEDIACONNECT_API AddFlowVpcInterfacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVpcInterfaces(Aws::Vector< VpcInterface > &&value)
AddFlowVpcInterfacesResult & WithFlowArn(Aws::String &&value)
AddFlowVpcInterfacesResult & WithFlowArn(const char *value)
AddFlowVpcInterfacesResult & AddVpcInterfaces(VpcInterface &&value)
AddFlowVpcInterfacesResult & WithRequestId(const char *value)
AddFlowVpcInterfacesResult & WithVpcInterfaces(const Aws::Vector< VpcInterface > &value)
const Aws::Vector< VpcInterface > & GetVpcInterfaces() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue