AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVirtualInterfaceAttributesRequest.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 <utility>
11
12namespace Aws
13{
14namespace DirectConnect
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateVirtualInterfaceAttributes"; }
31
32 AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override;
33
34 AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; }
42 inline bool VirtualInterfaceIdHasBeenSet() const { return m_virtualInterfaceIdHasBeenSet; }
43 inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = value; }
44 inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId = std::move(value); }
45 inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceIdHasBeenSet = true; m_virtualInterfaceId.assign(value); }
50
52
56 inline int GetMtu() const{ return m_mtu; }
57 inline bool MtuHasBeenSet() const { return m_mtuHasBeenSet; }
58 inline void SetMtu(int value) { m_mtuHasBeenSet = true; m_mtu = value; }
59 inline UpdateVirtualInterfaceAttributesRequest& WithMtu(int value) { SetMtu(value); return *this;}
61
63
66 inline bool GetEnableSiteLink() const{ return m_enableSiteLink; }
67 inline bool EnableSiteLinkHasBeenSet() const { return m_enableSiteLinkHasBeenSet; }
68 inline void SetEnableSiteLink(bool value) { m_enableSiteLinkHasBeenSet = true; m_enableSiteLink = value; }
71
73
76 inline const Aws::String& GetVirtualInterfaceName() const{ return m_virtualInterfaceName; }
77 inline bool VirtualInterfaceNameHasBeenSet() const { return m_virtualInterfaceNameHasBeenSet; }
78 inline void SetVirtualInterfaceName(const Aws::String& value) { m_virtualInterfaceNameHasBeenSet = true; m_virtualInterfaceName = value; }
79 inline void SetVirtualInterfaceName(Aws::String&& value) { m_virtualInterfaceNameHasBeenSet = true; m_virtualInterfaceName = std::move(value); }
80 inline void SetVirtualInterfaceName(const char* value) { m_virtualInterfaceNameHasBeenSet = true; m_virtualInterfaceName.assign(value); }
85 private:
86
87 Aws::String m_virtualInterfaceId;
88 bool m_virtualInterfaceIdHasBeenSet = false;
89
90 int m_mtu;
91 bool m_mtuHasBeenSet = false;
92
93 bool m_enableSiteLink;
94 bool m_enableSiteLinkHasBeenSet = false;
95
96 Aws::String m_virtualInterfaceName;
97 bool m_virtualInterfaceNameHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace DirectConnect
102} // namespace Aws
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceName(Aws::String &&value)
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceName(const Aws::String &value)
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceId(Aws::String &&value)
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceId(const char *value)
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceName(const char *value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String