AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ExperienceEndpoint.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/model/EndpointType.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 kendra
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KENDRA_API ExperienceEndpoint() = default;
39 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline EndpointType GetEndpointType() const { return m_endpointType; }
49 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
50 inline void SetEndpointType(EndpointType value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
51 inline ExperienceEndpoint& WithEndpointType(EndpointType value) { SetEndpointType(value); return *this;}
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) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
62 template<typename EndpointT = Aws::String>
63 ExperienceEndpoint& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
65 private:
66
67 EndpointType m_endpointType{EndpointType::NOT_SET};
68 bool m_endpointTypeHasBeenSet = false;
69
70 Aws::String m_endpoint;
71 bool m_endpointHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace kendra
76} // 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