AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
46 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
47 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
49 inline AllocatePrivateVirtualInterfaceRequest& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
50 inline AllocatePrivateVirtualInterfaceRequest& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
52
54
58 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
59 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
60 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
61 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
62 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
64 inline AllocatePrivateVirtualInterfaceRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
65 inline AllocatePrivateVirtualInterfaceRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
67
69
72 inline const NewPrivateVirtualInterfaceAllocation& GetNewPrivateVirtualInterfaceAllocation() const{ return m_newPrivateVirtualInterfaceAllocation; }
73 inline bool NewPrivateVirtualInterfaceAllocationHasBeenSet() const { return m_newPrivateVirtualInterfaceAllocationHasBeenSet; }
74 inline void SetNewPrivateVirtualInterfaceAllocation(const NewPrivateVirtualInterfaceAllocation& value) { m_newPrivateVirtualInterfaceAllocationHasBeenSet = true; m_newPrivateVirtualInterfaceAllocation = value; }
75 inline void SetNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation&& value) { m_newPrivateVirtualInterfaceAllocationHasBeenSet = true; m_newPrivateVirtualInterfaceAllocation = std::move(value); }
79 private:
80
81 Aws::String m_connectionId;
82 bool m_connectionIdHasBeenSet = false;
83
84 Aws::String m_ownerAccount;
85 bool m_ownerAccountHasBeenSet = false;
86
87 NewPrivateVirtualInterfaceAllocation m_newPrivateVirtualInterfaceAllocation;
88 bool m_newPrivateVirtualInterfaceAllocationHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DirectConnect
93} // namespace Aws
const NewPrivateVirtualInterfaceAllocation & GetNewPrivateVirtualInterfaceAllocation() const
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AllocatePrivateVirtualInterfaceRequest & WithOwnerAccount(const char *value)
AllocatePrivateVirtualInterfaceRequest & WithNewPrivateVirtualInterfaceAllocation(const NewPrivateVirtualInterfaceAllocation &value)
AllocatePrivateVirtualInterfaceRequest & WithConnectionId(Aws::String &&value)
AllocatePrivateVirtualInterfaceRequest & WithConnectionId(const char *value)
AllocatePrivateVirtualInterfaceRequest & WithOwnerAccount(Aws::String &&value)
void SetNewPrivateVirtualInterfaceAllocation(const NewPrivateVirtualInterfaceAllocation &value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
AllocatePrivateVirtualInterfaceRequest & WithOwnerAccount(const Aws::String &value)
AllocatePrivateVirtualInterfaceRequest & WithConnectionId(const Aws::String &value)
AllocatePrivateVirtualInterfaceRequest & WithNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation &&value)
void SetNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String