AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutboundCrossClusterSearchConnectionStatus.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/OutboundCrossClusterSearchConnectionStatusCode.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 OutboundCrossClusterSearchConnectionStatus();
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
55 inline const OutboundCrossClusterSearchConnectionStatusCode& GetStatusCode() const{ return m_statusCode; }
56 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
57 inline void SetStatusCode(const OutboundCrossClusterSearchConnectionStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
58 inline void SetStatusCode(OutboundCrossClusterSearchConnectionStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
62
64
67 inline const Aws::String& GetMessage() const{ return m_message; }
68 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
69 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
70 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
71 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
73 inline OutboundCrossClusterSearchConnectionStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
74 inline OutboundCrossClusterSearchConnectionStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
76 private:
77
79 bool m_statusCodeHasBeenSet = false;
80
81 Aws::String m_message;
82 bool m_messageHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace ElasticsearchService
87} // namespace Aws
OutboundCrossClusterSearchConnectionStatus & WithMessage(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API OutboundCrossClusterSearchConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
OutboundCrossClusterSearchConnectionStatus & WithStatusCode(const OutboundCrossClusterSearchConnectionStatusCode &value)
OutboundCrossClusterSearchConnectionStatus & WithStatusCode(OutboundCrossClusterSearchConnectionStatusCode &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API OutboundCrossClusterSearchConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue