AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePublicVirtualInterfaceRequest.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/NewPublicVirtualInterface.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectConnect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DIRECTCONNECT_API CreatePublicVirtualInterfaceRequest();
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 "CreatePublicVirtualInterface"; }
32
33 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetConnectionId() const{ return m_connectionId; }
43 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
44 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
45 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
46 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
48 inline CreatePublicVirtualInterfaceRequest& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
49 inline CreatePublicVirtualInterfaceRequest& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
51
53
56 inline const NewPublicVirtualInterface& GetNewPublicVirtualInterface() const{ return m_newPublicVirtualInterface; }
57 inline bool NewPublicVirtualInterfaceHasBeenSet() const { return m_newPublicVirtualInterfaceHasBeenSet; }
58 inline void SetNewPublicVirtualInterface(const NewPublicVirtualInterface& value) { m_newPublicVirtualInterfaceHasBeenSet = true; m_newPublicVirtualInterface = value; }
59 inline void SetNewPublicVirtualInterface(NewPublicVirtualInterface&& value) { m_newPublicVirtualInterfaceHasBeenSet = true; m_newPublicVirtualInterface = std::move(value); }
63 private:
64
65 Aws::String m_connectionId;
66 bool m_connectionIdHasBeenSet = false;
67
68 NewPublicVirtualInterface m_newPublicVirtualInterface;
69 bool m_newPublicVirtualInterfaceHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DirectConnect
74} // namespace Aws
CreatePublicVirtualInterfaceRequest & WithNewPublicVirtualInterface(NewPublicVirtualInterface &&value)
CreatePublicVirtualInterfaceRequest & WithNewPublicVirtualInterface(const NewPublicVirtualInterface &value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
CreatePublicVirtualInterfaceRequest & WithConnectionId(const Aws::String &value)
CreatePublicVirtualInterfaceRequest & WithConnectionId(const char *value)
CreatePublicVirtualInterfaceRequest & WithConnectionId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String