AWS SDK for C++

AWS SDK for C++ Version 1.11.872

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 <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace AppStream {
21namespace Model {
22
35 public:
36 AWS_APPSTREAM_API AccessEndpoint() = default;
37 AWS_APPSTREAM_API AccessEndpoint(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_APPSTREAM_API AccessEndpoint& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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
AccessEndpoint & WithEndpointType(AccessEndpointType value)
AccessEndpoint & WithVpceId(VpceIdT &&value)
AWS_APPSTREAM_API AccessEndpoint & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetVpceId() const
AccessEndpointType GetEndpointType() const
void SetEndpointType(AccessEndpointType value)
AWS_APPSTREAM_API AccessEndpoint(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_APPSTREAM_API AccessEndpoint()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String