7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/DirectConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace DirectConnect
30 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateVirtualInterfaceAttributes"; }
45 inline void SetVirtualInterfaceId(
const char* value) { m_virtualInterfaceIdHasBeenSet =
true; m_virtualInterfaceId.assign(value); }
56 inline int GetMtu()
const{
return m_mtu; }
58 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
68 inline void SetEnableSiteLink(
bool value) { m_enableSiteLinkHasBeenSet =
true; m_enableSiteLink = value; }
80 inline void SetVirtualInterfaceName(
const char* value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName.assign(value); }
88 bool m_virtualInterfaceIdHasBeenSet =
false;
91 bool m_mtuHasBeenSet =
false;
93 bool m_enableSiteLink;
94 bool m_enableSiteLinkHasBeenSet =
false;
97 bool m_virtualInterfaceNameHasBeenSet =
false;
AWS_DIRECTCONNECT_API Aws::String SerializePayload() const override
bool EnableSiteLinkHasBeenSet() const
void SetVirtualInterfaceId(Aws::String &&value)
bool GetEnableSiteLink() const
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceName(Aws::String &&value)
UpdateVirtualInterfaceAttributesRequest & WithEnableSiteLink(bool value)
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceName(const Aws::String &value)
void SetVirtualInterfaceId(const Aws::String &value)
bool MtuHasBeenSet() const
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool VirtualInterfaceIdHasBeenSet() const
void SetVirtualInterfaceName(const char *value)
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceId(const char *value)
void SetVirtualInterfaceName(Aws::String &&value)
void SetEnableSiteLink(bool value)
AWS_DIRECTCONNECT_API UpdateVirtualInterfaceAttributesRequest()
UpdateVirtualInterfaceAttributesRequest & WithVirtualInterfaceName(const char *value)
AWS_DIRECTCONNECT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetVirtualInterfaceName(const Aws::String &value)
void SetVirtualInterfaceId(const char *value)
UpdateVirtualInterfaceAttributesRequest & WithMtu(int value)
const Aws::String & GetVirtualInterfaceName() const
const Aws::String & GetVirtualInterfaceId() const
bool VirtualInterfaceNameHasBeenSet() const
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