AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppStream {
21namespace Model {
22
35 public:
36 AWS_APPSTREAM_API AccessEndpoint() = default;
37 AWS_APPSTREAM_API AccessEndpoint(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline AccessEndpointType GetEndpointType() const { return m_endpointType; }
46 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
48 m_endpointTypeHasBeenSet = true;
49 m_endpointType = value;
50 }
52 SetEndpointType(value);
53 return *this;
54 }
56
58
61 inline const Aws::String& GetVpceId() const { return m_vpceId; }
62 inline bool VpceIdHasBeenSet() const { return m_vpceIdHasBeenSet; }
63 template <typename VpceIdT = Aws::String>
64 void SetVpceId(VpceIdT&& value) {
65 m_vpceIdHasBeenSet = true;
66 m_vpceId = std::forward<VpceIdT>(value);
67 }
68 template <typename VpceIdT = Aws::String>
69 AccessEndpoint& WithVpceId(VpceIdT&& value) {
70 SetVpceId(std::forward<VpceIdT>(value));
71 return *this;
72 }
74 private:
76
77 Aws::String m_vpceId;
78 bool m_endpointTypeHasBeenSet = false;
79 bool m_vpceIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace AppStream
84} // 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