AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExperienceEndpoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9#include <aws/kendra/model/EndpointType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace kendra {
21namespace Model {
22
30 public:
31 AWS_KENDRA_API ExperienceEndpoint() = default;
34 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline EndpointType GetEndpointType() const { return m_endpointType; }
43 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
44 inline void SetEndpointType(EndpointType value) {
45 m_endpointTypeHasBeenSet = true;
46 m_endpointType = value;
47 }
49 SetEndpointType(value);
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
59 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
60 template <typename EndpointT = Aws::String>
61 void SetEndpoint(EndpointT&& value) {
62 m_endpointHasBeenSet = true;
63 m_endpoint = std::forward<EndpointT>(value);
64 }
65 template <typename EndpointT = Aws::String>
66 ExperienceEndpoint& WithEndpoint(EndpointT&& value) {
67 SetEndpoint(std::forward<EndpointT>(value));
68 return *this;
69 }
71 private:
72 EndpointType m_endpointType{EndpointType::NOT_SET};
73
74 Aws::String m_endpoint;
75 bool m_endpointTypeHasBeenSet = false;
76 bool m_endpointHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace kendra
81} // namespace Aws
ExperienceEndpoint & WithEndpoint(EndpointT &&value)
const Aws::String & GetEndpoint() const
ExperienceEndpoint & WithEndpointType(EndpointType value)
AWS_KENDRA_API ExperienceEndpoint()=default
AWS_KENDRA_API ExperienceEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API ExperienceEndpoint(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue