AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AllocatePrivateVirtualInterfaceRequest.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/directconnect/model/NewPrivateVirtualInterfaceAllocation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectConnect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DIRECTCONNECT_API AllocatePrivateVirtualInterfaceRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AllocatePrivateVirtualInterface"; }
32
33 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
44 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
45 template<typename ConnectionIdT = Aws::String>
46 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::forward<ConnectionIdT>(value); }
47 template<typename ConnectionIdT = Aws::String>
48 AllocatePrivateVirtualInterfaceRequest& WithConnectionId(ConnectionIdT&& value) { SetConnectionId(std::forward<ConnectionIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
57 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
58 template<typename OwnerAccountT = Aws::String>
59 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
60 template<typename OwnerAccountT = Aws::String>
61 AllocatePrivateVirtualInterfaceRequest& WithOwnerAccount(OwnerAccountT&& value) { SetOwnerAccount(std::forward<OwnerAccountT>(value)); return *this;}
63
65
68 inline const NewPrivateVirtualInterfaceAllocation& GetNewPrivateVirtualInterfaceAllocation() const { return m_newPrivateVirtualInterfaceAllocation; }
69 inline bool NewPrivateVirtualInterfaceAllocationHasBeenSet() const { return m_newPrivateVirtualInterfaceAllocationHasBeenSet; }
70 template<typename NewPrivateVirtualInterfaceAllocationT = NewPrivateVirtualInterfaceAllocation>
71 void SetNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocationT&& value) { m_newPrivateVirtualInterfaceAllocationHasBeenSet = true; m_newPrivateVirtualInterfaceAllocation = std::forward<NewPrivateVirtualInterfaceAllocationT>(value); }
72 template<typename NewPrivateVirtualInterfaceAllocationT = NewPrivateVirtualInterfaceAllocation>
73 AllocatePrivateVirtualInterfaceRequest& WithNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocationT&& value) { SetNewPrivateVirtualInterfaceAllocation(std::forward<NewPrivateVirtualInterfaceAllocationT>(value)); return *this;}
75 private:
76
77 Aws::String m_connectionId;
78 bool m_connectionIdHasBeenSet = false;
79
80 Aws::String m_ownerAccount;
81 bool m_ownerAccountHasBeenSet = false;
82
83 NewPrivateVirtualInterfaceAllocation m_newPrivateVirtualInterfaceAllocation;
84 bool m_newPrivateVirtualInterfaceAllocationHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DirectConnect
89} // namespace Aws
const NewPrivateVirtualInterfaceAllocation & GetNewPrivateVirtualInterfaceAllocation() const
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocationT &&value)
AllocatePrivateVirtualInterfaceRequest & WithNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocationT &&value)
AllocatePrivateVirtualInterfaceRequest & WithConnectionId(ConnectionIdT &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
AllocatePrivateVirtualInterfaceRequest & WithOwnerAccount(OwnerAccountT &&value)
AWS_DIRECTCONNECT_API AllocatePrivateVirtualInterfaceRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String