AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutboundCrossClusterSearchConnection.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/DomainInformation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/es/model/OutboundCrossClusterSearchConnectionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ElasticsearchService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ELASTICSEARCHSERVICE_API OutboundCrossClusterSearchConnection();
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const DomainInformation& GetSourceDomainInfo() const{ return m_sourceDomainInfo; }
48 inline bool SourceDomainInfoHasBeenSet() const { return m_sourceDomainInfoHasBeenSet; }
49 inline void SetSourceDomainInfo(const DomainInformation& value) { m_sourceDomainInfoHasBeenSet = true; m_sourceDomainInfo = value; }
50 inline void SetSourceDomainInfo(DomainInformation&& value) { m_sourceDomainInfoHasBeenSet = true; m_sourceDomainInfo = std::move(value); }
54
56
60 inline const DomainInformation& GetDestinationDomainInfo() const{ return m_destinationDomainInfo; }
61 inline bool DestinationDomainInfoHasBeenSet() const { return m_destinationDomainInfoHasBeenSet; }
62 inline void SetDestinationDomainInfo(const DomainInformation& value) { m_destinationDomainInfoHasBeenSet = true; m_destinationDomainInfo = value; }
63 inline void SetDestinationDomainInfo(DomainInformation&& value) { m_destinationDomainInfoHasBeenSet = true; m_destinationDomainInfo = std::move(value); }
67
69
73 inline const Aws::String& GetCrossClusterSearchConnectionId() const{ return m_crossClusterSearchConnectionId; }
74 inline bool CrossClusterSearchConnectionIdHasBeenSet() const { return m_crossClusterSearchConnectionIdHasBeenSet; }
75 inline void SetCrossClusterSearchConnectionId(const Aws::String& value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId = value; }
76 inline void SetCrossClusterSearchConnectionId(Aws::String&& value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId = std::move(value); }
77 inline void SetCrossClusterSearchConnectionId(const char* value) { m_crossClusterSearchConnectionIdHasBeenSet = true; m_crossClusterSearchConnectionId.assign(value); }
82
84
88 inline const Aws::String& GetConnectionAlias() const{ return m_connectionAlias; }
89 inline bool ConnectionAliasHasBeenSet() const { return m_connectionAliasHasBeenSet; }
90 inline void SetConnectionAlias(const Aws::String& value) { m_connectionAliasHasBeenSet = true; m_connectionAlias = value; }
91 inline void SetConnectionAlias(Aws::String&& value) { m_connectionAliasHasBeenSet = true; m_connectionAlias = std::move(value); }
92 inline void SetConnectionAlias(const char* value) { m_connectionAliasHasBeenSet = true; m_connectionAlias.assign(value); }
95 inline OutboundCrossClusterSearchConnection& WithConnectionAlias(const char* value) { SetConnectionAlias(value); return *this;}
97
99
103 inline const OutboundCrossClusterSearchConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
104 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
105 inline void SetConnectionStatus(const OutboundCrossClusterSearchConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
106 inline void SetConnectionStatus(OutboundCrossClusterSearchConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
110 private:
111
112 DomainInformation m_sourceDomainInfo;
113 bool m_sourceDomainInfoHasBeenSet = false;
114
115 DomainInformation m_destinationDomainInfo;
116 bool m_destinationDomainInfoHasBeenSet = false;
117
118 Aws::String m_crossClusterSearchConnectionId;
119 bool m_crossClusterSearchConnectionIdHasBeenSet = false;
120
121 Aws::String m_connectionAlias;
122 bool m_connectionAliasHasBeenSet = false;
123
125 bool m_connectionStatusHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace ElasticsearchService
130} // namespace Aws
OutboundCrossClusterSearchConnection & WithSourceDomainInfo(const DomainInformation &value)
OutboundCrossClusterSearchConnection & WithConnectionAlias(Aws::String &&value)
OutboundCrossClusterSearchConnection & WithDestinationDomainInfo(const DomainInformation &value)
OutboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(const char *value)
OutboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API OutboundCrossClusterSearchConnection(Aws::Utils::Json::JsonView jsonValue)
OutboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(const Aws::String &value)
OutboundCrossClusterSearchConnection & WithDestinationDomainInfo(DomainInformation &&value)
OutboundCrossClusterSearchConnection & WithSourceDomainInfo(DomainInformation &&value)
OutboundCrossClusterSearchConnection & WithConnectionAlias(const char *value)
AWS_ELASTICSEARCHSERVICE_API OutboundCrossClusterSearchConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
const OutboundCrossClusterSearchConnectionStatus & GetConnectionStatus() const
OutboundCrossClusterSearchConnection & WithConnectionStatus(OutboundCrossClusterSearchConnectionStatus &&value)
void SetConnectionStatus(const OutboundCrossClusterSearchConnectionStatus &value)
OutboundCrossClusterSearchConnection & WithConnectionStatus(const OutboundCrossClusterSearchConnectionStatus &value)
OutboundCrossClusterSearchConnection & WithConnectionAlias(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue