AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InboundCrossClusterSearchConnection.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/InboundCrossClusterSearchConnectionStatus.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 InboundCrossClusterSearchConnection();
37 AWS_ELASTICSEARCHSERVICE_API InboundCrossClusterSearchConnection(Aws::Utils::Json::JsonView jsonValue);
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 InboundCrossClusterSearchConnectionStatus& GetConnectionStatus() const{ return m_connectionStatus; }
89 inline bool ConnectionStatusHasBeenSet() const { return m_connectionStatusHasBeenSet; }
90 inline void SetConnectionStatus(const InboundCrossClusterSearchConnectionStatus& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = value; }
91 inline void SetConnectionStatus(InboundCrossClusterSearchConnectionStatus&& value) { m_connectionStatusHasBeenSet = true; m_connectionStatus = std::move(value); }
95 private:
96
97 DomainInformation m_sourceDomainInfo;
98 bool m_sourceDomainInfoHasBeenSet = false;
99
100 DomainInformation m_destinationDomainInfo;
101 bool m_destinationDomainInfoHasBeenSet = false;
102
103 Aws::String m_crossClusterSearchConnectionId;
104 bool m_crossClusterSearchConnectionIdHasBeenSet = false;
105
107 bool m_connectionStatusHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ElasticsearchService
112} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API InboundCrossClusterSearchConnection(Aws::Utils::Json::JsonView jsonValue)
InboundCrossClusterSearchConnection & WithConnectionStatus(InboundCrossClusterSearchConnectionStatus &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
InboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(const Aws::String &value)
const InboundCrossClusterSearchConnectionStatus & GetConnectionStatus() const
InboundCrossClusterSearchConnection & WithDestinationDomainInfo(DomainInformation &&value)
void SetConnectionStatus(const InboundCrossClusterSearchConnectionStatus &value)
InboundCrossClusterSearchConnection & WithDestinationDomainInfo(const DomainInformation &value)
AWS_ELASTICSEARCHSERVICE_API InboundCrossClusterSearchConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
InboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(const char *value)
InboundCrossClusterSearchConnection & WithCrossClusterSearchConnectionId(Aws::String &&value)
InboundCrossClusterSearchConnection & WithConnectionStatus(const InboundCrossClusterSearchConnectionStatus &value)
InboundCrossClusterSearchConnection & WithSourceDomainInfo(DomainInformation &&value)
InboundCrossClusterSearchConnection & WithSourceDomainInfo(const DomainInformation &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue