AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
25 AWS_DIRECTCONNECT_API AllocateTransitVirtualInterfaceRequest() = 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 "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 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 AllocateTransitVirtualInterfaceRequest& 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 AllocateTransitVirtualInterfaceRequest& WithOwnerAccount(OwnerAccountT&& value) { SetOwnerAccount(std::forward<OwnerAccountT>(value)); return *this;}
63
65
68 inline const NewTransitVirtualInterfaceAllocation& GetNewTransitVirtualInterfaceAllocation() const { return m_newTransitVirtualInterfaceAllocation; }
69 inline bool NewTransitVirtualInterfaceAllocationHasBeenSet() const { return m_newTransitVirtualInterfaceAllocationHasBeenSet; }
70 template<typename NewTransitVirtualInterfaceAllocationT = NewTransitVirtualInterfaceAllocation>
71 void SetNewTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocationT&& value) { m_newTransitVirtualInterfaceAllocationHasBeenSet = true; m_newTransitVirtualInterfaceAllocation = std::forward<NewTransitVirtualInterfaceAllocationT>(value); }
72 template<typename NewTransitVirtualInterfaceAllocationT = NewTransitVirtualInterfaceAllocation>
73 AllocateTransitVirtualInterfaceRequest& WithNewTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocationT&& value) { SetNewTransitVirtualInterfaceAllocation(std::forward<NewTransitVirtualInterfaceAllocationT>(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 NewTransitVirtualInterfaceAllocation m_newTransitVirtualInterfaceAllocation;
84 bool m_newTransitVirtualInterfaceAllocationHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DirectConnect
89} // namespace Aws
const NewTransitVirtualInterfaceAllocation & GetNewTransitVirtualInterfaceAllocation() const
AllocateTransitVirtualInterfaceRequest & WithOwnerAccount(OwnerAccountT &&value)
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
void SetNewTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocationT &&value)
AllocateTransitVirtualInterfaceRequest & WithNewTransitVirtualInterfaceAllocation(NewTransitVirtualInterfaceAllocationT &&value)
AWS_DIRECTCONNECT_API AllocateTransitVirtualInterfaceRequest()=default
AllocateTransitVirtualInterfaceRequest & WithConnectionId(ConnectionIdT &&value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String