AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AllocateTransitVirtualInterfaceRequest.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/NewTransitVirtualInterfaceAllocation.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 "AllocateTransitVirtualInterface"; }
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 AllocateTransitVirtualInterfaceRequest& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
50 inline AllocateTransitVirtualInterfaceRequest& 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 AllocateTransitVirtualInterfaceRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
65 inline AllocateTransitVirtualInterfaceRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
67
69
72 inline const NewTransitVirtualInterfaceAllocation& GetNewTransitVirtualInterfaceAllocation() const{ return m_newTransitVirtualInterfaceAllocation; }
73 inline bool NewTransitVirtualInterfaceAllocationHasBeenSet() const { return m_newTransitVirtualInterfaceAllocationHasBeenSet; }
74 inline void SetNewTransitVirtualInterfaceAllocation(const NewTransitVirtualInterfaceAllocation& value) { m_newTransitVirtualInterfaceAllocationHasBeenSet = true; m_newTransitVirtualInterfaceAllocation = value; }
75 inline void SetNewTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocation&& value) { m_newTransitVirtualInterfaceAllocationHasBeenSet = true; m_newTransitVirtualInterfaceAllocation = 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 NewTransitVirtualInterfaceAllocation m_newTransitVirtualInterfaceAllocation;
88 bool m_newTransitVirtualInterfaceAllocationHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DirectConnect
93} // namespace Aws
AllocateTransitVirtualInterfaceRequest & WithNewTransitVirtualInterfaceAllocation(const NewTransitVirtualInterfaceAllocation &value)
const NewTransitVirtualInterfaceAllocation & GetNewTransitVirtualInterfaceAllocation() const
void SetNewTransitVirtualInterfaceAllocation(const NewTransitVirtualInterfaceAllocation &value)
AllocateTransitVirtualInterfaceRequest & WithConnectionId(const char *value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
AllocateTransitVirtualInterfaceRequest & WithOwnerAccount(const Aws::String &value)
AllocateTransitVirtualInterfaceRequest & WithConnectionId(const Aws::String &value)
AllocateTransitVirtualInterfaceRequest & WithNewTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocation &&value)
AllocateTransitVirtualInterfaceRequest & WithOwnerAccount(Aws::String &&value)
void SetNewTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocation &&value)
AllocateTransitVirtualInterfaceRequest & WithConnectionId(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AllocateTransitVirtualInterfaceRequest & WithOwnerAccount(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String