AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualGateway.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DirectConnect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DIRECTCONNECT_API VirtualGateway();
36 AWS_DIRECTCONNECT_API VirtualGateway(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DIRECTCONNECT_API VirtualGateway& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetVirtualGatewayId() const{ return m_virtualGatewayId; }
46 inline bool VirtualGatewayIdHasBeenSet() const { return m_virtualGatewayIdHasBeenSet; }
47 inline void SetVirtualGatewayId(const Aws::String& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = value; }
48 inline void SetVirtualGatewayId(Aws::String&& value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId = std::move(value); }
49 inline void SetVirtualGatewayId(const char* value) { m_virtualGatewayIdHasBeenSet = true; m_virtualGatewayId.assign(value); }
50 inline VirtualGateway& WithVirtualGatewayId(const Aws::String& value) { SetVirtualGatewayId(value); return *this;}
51 inline VirtualGateway& WithVirtualGatewayId(Aws::String&& value) { SetVirtualGatewayId(std::move(value)); return *this;}
52 inline VirtualGateway& WithVirtualGatewayId(const char* value) { SetVirtualGatewayId(value); return *this;}
54
56
65 inline const Aws::String& GetVirtualGatewayState() const{ return m_virtualGatewayState; }
66 inline bool VirtualGatewayStateHasBeenSet() const { return m_virtualGatewayStateHasBeenSet; }
67 inline void SetVirtualGatewayState(const Aws::String& value) { m_virtualGatewayStateHasBeenSet = true; m_virtualGatewayState = value; }
68 inline void SetVirtualGatewayState(Aws::String&& value) { m_virtualGatewayStateHasBeenSet = true; m_virtualGatewayState = std::move(value); }
69 inline void SetVirtualGatewayState(const char* value) { m_virtualGatewayStateHasBeenSet = true; m_virtualGatewayState.assign(value); }
70 inline VirtualGateway& WithVirtualGatewayState(const Aws::String& value) { SetVirtualGatewayState(value); return *this;}
71 inline VirtualGateway& WithVirtualGatewayState(Aws::String&& value) { SetVirtualGatewayState(std::move(value)); return *this;}
72 inline VirtualGateway& WithVirtualGatewayState(const char* value) { SetVirtualGatewayState(value); return *this;}
74 private:
75
76 Aws::String m_virtualGatewayId;
77 bool m_virtualGatewayIdHasBeenSet = false;
78
79 Aws::String m_virtualGatewayState;
80 bool m_virtualGatewayStateHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace DirectConnect
85} // namespace Aws
void SetVirtualGatewayId(const char *value)
void SetVirtualGatewayId(const Aws::String &value)
VirtualGateway & WithVirtualGatewayState(const char *value)
AWS_DIRECTCONNECT_API VirtualGateway()
const Aws::String & GetVirtualGatewayId() const
VirtualGateway & WithVirtualGatewayId(Aws::String &&value)
VirtualGateway & WithVirtualGatewayState(const Aws::String &value)
const Aws::String & GetVirtualGatewayState() const
VirtualGateway & WithVirtualGatewayId(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualGatewayId(Aws::String &&value)
AWS_DIRECTCONNECT_API VirtualGateway & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualGatewayState(Aws::String &&value)
VirtualGateway & WithVirtualGatewayState(Aws::String &&value)
void SetVirtualGatewayState(const char *value)
void SetVirtualGatewayState(const Aws::String &value)
AWS_DIRECTCONNECT_API VirtualGateway(Aws::Utils::Json::JsonView jsonValue)
VirtualGateway & WithVirtualGatewayId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue