AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AccessEndpoint.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppStream
23{
24namespace Model
25{
26
38 {
39 public:
44
45
49 inline const AccessEndpointType& GetEndpointType() const{ return m_endpointType; }
50
54 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
55
59 inline void SetEndpointType(const AccessEndpointType& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
60
64 inline void SetEndpointType(AccessEndpointType&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
65
69 inline AccessEndpoint& WithEndpointType(const AccessEndpointType& value) { SetEndpointType(value); return *this;}
70
74 inline AccessEndpoint& WithEndpointType(AccessEndpointType&& value) { SetEndpointType(std::move(value)); return *this;}
75
76
80 inline const Aws::String& GetVpceId() const{ return m_vpceId; }
81
85 inline bool VpceIdHasBeenSet() const { return m_vpceIdHasBeenSet; }
86
90 inline void SetVpceId(const Aws::String& value) { m_vpceIdHasBeenSet = true; m_vpceId = value; }
91
95 inline void SetVpceId(Aws::String&& value) { m_vpceIdHasBeenSet = true; m_vpceId = std::move(value); }
96
100 inline void SetVpceId(const char* value) { m_vpceIdHasBeenSet = true; m_vpceId.assign(value); }
101
105 inline AccessEndpoint& WithVpceId(const Aws::String& value) { SetVpceId(value); return *this;}
106
110 inline AccessEndpoint& WithVpceId(Aws::String&& value) { SetVpceId(std::move(value)); return *this;}
111
115 inline AccessEndpoint& WithVpceId(const char* value) { SetVpceId(value); return *this;}
116
117 private:
118
119 AccessEndpointType m_endpointType;
120 bool m_endpointTypeHasBeenSet = false;
121
122 Aws::String m_vpceId;
123 bool m_vpceIdHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace AppStream
128} // namespace Aws
#define AWS_APPSTREAM_API
AccessEndpoint & WithEndpointType(AccessEndpointType &&value)
AWS_APPSTREAM_API AccessEndpoint(Aws::Utils::Json::JsonView jsonValue)
AccessEndpoint & WithVpceId(const char *value)
void SetEndpointType(const AccessEndpointType &value)
const Aws::String & GetVpceId() const
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AccessEndpoint & WithVpceId(const Aws::String &value)
void SetVpceId(Aws::String &&value)
void SetEndpointType(AccessEndpointType &&value)
AWS_APPSTREAM_API AccessEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessEndpoint & WithVpceId(Aws::String &&value)
void SetVpceId(const Aws::String &value)
const AccessEndpointType & GetEndpointType() const
AccessEndpoint & WithEndpointType(const AccessEndpointType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String