AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 AccessEndpointType GetEndpointType() const { return m_endpointType; }
51 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
52 inline void SetEndpointType(AccessEndpointType value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
53 inline AccessEndpoint& WithEndpointType(AccessEndpointType value) { SetEndpointType(value); return *this;}
55
57
60 inline const Aws::String& GetVpceId() const { return m_vpceId; }
61 inline bool VpceIdHasBeenSet() const { return m_vpceIdHasBeenSet; }
62 template<typename VpceIdT = Aws::String>
63 void SetVpceId(VpceIdT&& value) { m_vpceIdHasBeenSet = true; m_vpceId = std::forward<VpceIdT>(value); }
64 template<typename VpceIdT = Aws::String>
65 AccessEndpoint& WithVpceId(VpceIdT&& value) { SetVpceId(std::forward<VpceIdT>(value)); return *this;}
67 private:
68
70 bool m_endpointTypeHasBeenSet = false;
71
72 Aws::String m_vpceId;
73 bool m_vpceIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace AppStream
78} // namespace Aws
AWS_APPSTREAM_API AccessEndpoint(Aws::Utils::Json::JsonView jsonValue)
AccessEndpoint & WithEndpointType(AccessEndpointType value)
AccessEndpoint & WithVpceId(VpceIdT &&value)
const Aws::String & GetVpceId() const
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AccessEndpointType GetEndpointType() const
void SetEndpointType(AccessEndpointType value)
AWS_APPSTREAM_API AccessEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API AccessEndpoint()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue