AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessEndpoint.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AccessEndpointType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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:
40 AWS_APPSTREAM_API AccessEndpoint();
41 AWS_APPSTREAM_API AccessEndpoint(Aws::Utils::Json::JsonView jsonValue);
43 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const AccessEndpointType& GetEndpointType() const{ return m_endpointType; }
51 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
52 inline void SetEndpointType(const AccessEndpointType& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
53 inline void SetEndpointType(AccessEndpointType&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
54 inline AccessEndpoint& WithEndpointType(const AccessEndpointType& value) { SetEndpointType(value); return *this;}
55 inline AccessEndpoint& WithEndpointType(AccessEndpointType&& value) { SetEndpointType(std::move(value)); return *this;}
57
59
62 inline const Aws::String& GetVpceId() const{ return m_vpceId; }
63 inline bool VpceIdHasBeenSet() const { return m_vpceIdHasBeenSet; }
64 inline void SetVpceId(const Aws::String& value) { m_vpceIdHasBeenSet = true; m_vpceId = value; }
65 inline void SetVpceId(Aws::String&& value) { m_vpceIdHasBeenSet = true; m_vpceId = std::move(value); }
66 inline void SetVpceId(const char* value) { m_vpceIdHasBeenSet = true; m_vpceId.assign(value); }
67 inline AccessEndpoint& WithVpceId(const Aws::String& value) { SetVpceId(value); return *this;}
68 inline AccessEndpoint& WithVpceId(Aws::String&& value) { SetVpceId(std::move(value)); return *this;}
69 inline AccessEndpoint& WithVpceId(const char* value) { SetVpceId(value); return *this;}
71 private:
72
73 AccessEndpointType m_endpointType;
74 bool m_endpointTypeHasBeenSet = false;
75
76 Aws::String m_vpceId;
77 bool m_vpceIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AppStream
82} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue