AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionProperties.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/CrossClusterSearchConnectionProperties.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 OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API ConnectionProperties();
37 AWS_OPENSEARCHSERVICE_API ConnectionProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API ConnectionProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
49 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
50 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
51 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
52 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
53 inline ConnectionProperties& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
54 inline ConnectionProperties& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
55 inline ConnectionProperties& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
57
59
62 inline const CrossClusterSearchConnectionProperties& GetCrossClusterSearch() const{ return m_crossClusterSearch; }
63 inline bool CrossClusterSearchHasBeenSet() const { return m_crossClusterSearchHasBeenSet; }
64 inline void SetCrossClusterSearch(const CrossClusterSearchConnectionProperties& value) { m_crossClusterSearchHasBeenSet = true; m_crossClusterSearch = value; }
65 inline void SetCrossClusterSearch(CrossClusterSearchConnectionProperties&& value) { m_crossClusterSearchHasBeenSet = true; m_crossClusterSearch = std::move(value); }
69 private:
70
71 Aws::String m_endpoint;
72 bool m_endpointHasBeenSet = false;
73
74 CrossClusterSearchConnectionProperties m_crossClusterSearch;
75 bool m_crossClusterSearchHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace OpenSearchService
80} // namespace Aws
ConnectionProperties & WithEndpoint(Aws::String &&value)
ConnectionProperties & WithCrossClusterSearch(const CrossClusterSearchConnectionProperties &value)
void SetCrossClusterSearch(CrossClusterSearchConnectionProperties &&value)
AWS_OPENSEARCHSERVICE_API ConnectionProperties(Aws::Utils::Json::JsonView jsonValue)
const CrossClusterSearchConnectionProperties & GetCrossClusterSearch() const
ConnectionProperties & WithCrossClusterSearch(CrossClusterSearchConnectionProperties &&value)
AWS_OPENSEARCHSERVICE_API ConnectionProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionProperties & WithEndpoint(const char *value)
ConnectionProperties & WithEndpoint(const Aws::String &value)
void SetCrossClusterSearch(const CrossClusterSearchConnectionProperties &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue