AWS SDK for C++  1.9.66
AWS SDK for C++
ConfirmTransitVirtualInterfaceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DirectConnect
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ConfirmTransitVirtualInterface"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
41 
45  inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
46 
50  inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
51 
55  inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
56 
60  inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
61 
65  inline ConfirmTransitVirtualInterfaceRequest& WithVirtualInterfaceId(const Aws::String& value) { SetVirtualInterfaceId(value); return *this;}
66 
70  inline ConfirmTransitVirtualInterfaceRequest& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;}
71 
75  inline ConfirmTransitVirtualInterfaceRequest& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;}
76 
77 
81  inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; }
82 
86  inline bool DirectConnectGatewayIdHasBeenSet() const { return m_directConnectGatewayIdHasBeenSet; }
87 
91  inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = value; }
92 
96  inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId = std::move(value); }
97 
101  inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayIdHasBeenSet = true; m_directConnectGatewayId.assign(value); }
102 
106  inline ConfirmTransitVirtualInterfaceRequest& WithDirectConnectGatewayId(const Aws::String& value) { SetDirectConnectGatewayId(value); return *this;}
107 
111  inline ConfirmTransitVirtualInterfaceRequest& WithDirectConnectGatewayId(Aws::String&& value) { SetDirectConnectGatewayId(std::move(value)); return *this;}
112 
116  inline ConfirmTransitVirtualInterfaceRequest& WithDirectConnectGatewayId(const char* value) { SetDirectConnectGatewayId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_virtualInterfaceId;
121  bool m_virtualInterfaceIdHasBeenSet;
122 
123  Aws::String m_directConnectGatewayId;
124  bool m_directConnectGatewayIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace DirectConnect
129 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::DirectConnectGatewayIdHasBeenSet
bool DirectConnectGatewayIdHasBeenSet() const
Definition: ConfirmTransitVirtualInterfaceRequest.h:86
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::WithVirtualInterfaceId
ConfirmTransitVirtualInterfaceRequest & WithVirtualInterfaceId(const char *value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:75
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::SetVirtualInterfaceId
void SetVirtualInterfaceId(const Aws::String &value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:50
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::ConfirmTransitVirtualInterfaceRequest
ConfirmTransitVirtualInterfaceRequest()
Aws::DirectConnect::DirectConnectRequest
Definition: DirectConnectRequest.h:17
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::GetDirectConnectGatewayId
const Aws::String & GetDirectConnectGatewayId() const
Definition: ConfirmTransitVirtualInterfaceRequest.h:81
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(const Aws::String &value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:91
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::SetVirtualInterfaceId
void SetVirtualInterfaceId(Aws::String &&value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:55
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::VirtualInterfaceIdHasBeenSet
bool VirtualInterfaceIdHasBeenSet() const
Definition: ConfirmTransitVirtualInterfaceRequest.h:45
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(Aws::String &&value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:96
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest
Definition: ConfirmTransitVirtualInterfaceRequest.h:22
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::WithDirectConnectGatewayId
ConfirmTransitVirtualInterfaceRequest & WithDirectConnectGatewayId(Aws::String &&value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:111
AWSString.h
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::WithDirectConnectGatewayId
ConfirmTransitVirtualInterfaceRequest & WithDirectConnectGatewayId(const Aws::String &value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:106
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::GetVirtualInterfaceId
const Aws::String & GetVirtualInterfaceId() const
Definition: ConfirmTransitVirtualInterfaceRequest.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::WithVirtualInterfaceId
ConfirmTransitVirtualInterfaceRequest & WithVirtualInterfaceId(const Aws::String &value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::SetVirtualInterfaceId
void SetVirtualInterfaceId(const char *value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:60
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::WithDirectConnectGatewayId
ConfirmTransitVirtualInterfaceRequest & WithDirectConnectGatewayId(const char *value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:116
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::WithVirtualInterfaceId
ConfirmTransitVirtualInterfaceRequest & WithVirtualInterfaceId(Aws::String &&value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:70
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ConfirmTransitVirtualInterfaceRequest.h:30
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28
Aws::DirectConnect::Model::ConfirmTransitVirtualInterfaceRequest::SetDirectConnectGatewayId
void SetDirectConnectGatewayId(const char *value)
Definition: ConfirmTransitVirtualInterfaceRequest.h:101
DirectConnectRequest.h