AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InboundCrossClusterSearchConnectionStatus.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/InboundCrossClusterSearchConnectionStatusCode.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 ElasticsearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICSEARCHSERVICE_API InboundCrossClusterSearchConnectionStatus();
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline const InboundCrossClusterSearchConnectionStatusCode& GetStatusCode() const{ return m_statusCode; }
53 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
54 inline void SetStatusCode(const InboundCrossClusterSearchConnectionStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
55 inline void SetStatusCode(InboundCrossClusterSearchConnectionStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
59
61
64 inline const Aws::String& GetMessage() const{ return m_message; }
65 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
66 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
67 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
68 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
69 inline InboundCrossClusterSearchConnectionStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
70 inline InboundCrossClusterSearchConnectionStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
71 inline InboundCrossClusterSearchConnectionStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
73 private:
74
76 bool m_statusCodeHasBeenSet = false;
77
78 Aws::String m_message;
79 bool m_messageHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ElasticsearchService
84} // namespace Aws
InboundCrossClusterSearchConnectionStatus & WithMessage(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
InboundCrossClusterSearchConnectionStatus & WithStatusCode(const InboundCrossClusterSearchConnectionStatusCode &value)
AWS_ELASTICSEARCHSERVICE_API InboundCrossClusterSearchConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API InboundCrossClusterSearchConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
InboundCrossClusterSearchConnectionStatus & WithStatusCode(InboundCrossClusterSearchConnectionStatusCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue