AWS SDK for C++  1.9.129
AWS SDK for C++
CreateTransitVirtualInterfaceResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectConnect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const VirtualInterface& GetVirtualInterface() const{ return m_virtualInterface; }
37 
38 
39  inline void SetVirtualInterface(const VirtualInterface& value) { m_virtualInterface = value; }
40 
41 
42  inline void SetVirtualInterface(VirtualInterface&& value) { m_virtualInterface = std::move(value); }
43 
44 
45  inline CreateTransitVirtualInterfaceResult& WithVirtualInterface(const VirtualInterface& value) { SetVirtualInterface(value); return *this;}
46 
47 
48  inline CreateTransitVirtualInterfaceResult& WithVirtualInterface(VirtualInterface&& value) { SetVirtualInterface(std::move(value)); return *this;}
49 
50  private:
51 
52  VirtualInterface m_virtualInterface;
53  };
54 
55 } // namespace Model
56 } // namespace DirectConnect
57 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult::SetVirtualInterface
void SetVirtualInterface(const VirtualInterface &value)
Definition: CreateTransitVirtualInterfaceResult.h:39
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult::CreateTransitVirtualInterfaceResult
CreateTransitVirtualInterfaceResult()
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult::GetVirtualInterface
const VirtualInterface & GetVirtualInterface() const
Definition: CreateTransitVirtualInterfaceResult.h:36
Aws::DirectConnect::Model::VirtualInterface
Definition: VirtualInterface.h:38
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult::WithVirtualInterface
CreateTransitVirtualInterfaceResult & WithVirtualInterface(const VirtualInterface &value)
Definition: CreateTransitVirtualInterfaceResult.h:45
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult
Definition: CreateTransitVirtualInterfaceResult.h:28
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult::CreateTransitVirtualInterfaceResult
CreateTransitVirtualInterfaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult::SetVirtualInterface
void SetVirtualInterface(VirtualInterface &&value)
Definition: CreateTransitVirtualInterfaceResult.h:42
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult::operator=
CreateTransitVirtualInterfaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
VirtualInterface.h
Aws
Definition: AccessManagementClient.h:15
Aws::DirectConnect::Model::CreateTransitVirtualInterfaceResult::WithVirtualInterface
CreateTransitVirtualInterfaceResult & WithVirtualInterface(VirtualInterface &&value)
Definition: CreateTransitVirtualInterfaceResult.h:48
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28