AWS SDK for C++  1.9.108
AWS SDK for C++
OutboundCrossClusterSearchConnectionStatus.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
54  inline const OutboundCrossClusterSearchConnectionStatusCode& GetStatusCode() const{ return m_statusCode; }
55 
68  inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
69 
82  inline void SetStatusCode(const OutboundCrossClusterSearchConnectionStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
83 
96  inline void SetStatusCode(OutboundCrossClusterSearchConnectionStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
97 
111 
124  inline OutboundCrossClusterSearchConnectionStatus& WithStatusCode(OutboundCrossClusterSearchConnectionStatusCode&& value) { SetStatusCode(std::move(value)); return *this;}
125 
126 
130  inline const Aws::String& GetMessage() const{ return m_message; }
131 
135  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
136 
140  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
141 
145  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
146 
150  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
151 
155  inline OutboundCrossClusterSearchConnectionStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
156 
160  inline OutboundCrossClusterSearchConnectionStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
161 
165  inline OutboundCrossClusterSearchConnectionStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
166 
167  private:
168 
170  bool m_statusCodeHasBeenSet;
171 
172  Aws::String m_message;
173  bool m_messageHasBeenSet;
174  };
175 
176 } // namespace Model
177 } // namespace ElasticsearchService
178 } // namespace Aws
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::SetMessage
void SetMessage(const char *value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:150
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::GetStatusCode
const OutboundCrossClusterSearchConnectionStatusCode & GetStatusCode() const
Definition: OutboundCrossClusterSearchConnectionStatus.h:54
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::SetMessage
void SetMessage(Aws::String &&value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:145
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: OutboundCrossClusterSearchConnectionStatus.h:135
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::operator=
OutboundCrossClusterSearchConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::WithMessage
OutboundCrossClusterSearchConnectionStatus & WithMessage(const Aws::String &value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:155
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::OutboundCrossClusterSearchConnectionStatus
OutboundCrossClusterSearchConnectionStatus()
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatusCode
OutboundCrossClusterSearchConnectionStatusCode
Definition: OutboundCrossClusterSearchConnectionStatusCode.h:17
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::SetMessage
void SetMessage(const Aws::String &value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:140
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus
Definition: OutboundCrossClusterSearchConnectionStatus.h:34
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::WithStatusCode
OutboundCrossClusterSearchConnectionStatus & WithStatusCode(OutboundCrossClusterSearchConnectionStatusCode &&value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:124
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::WithStatusCode
OutboundCrossClusterSearchConnectionStatus & WithStatusCode(const OutboundCrossClusterSearchConnectionStatusCode &value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:110
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::SetStatusCode
void SetStatusCode(OutboundCrossClusterSearchConnectionStatusCode &&value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:96
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::WithMessage
OutboundCrossClusterSearchConnectionStatus & WithMessage(const char *value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:165
OutboundCrossClusterSearchConnectionStatusCode.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::StatusCodeHasBeenSet
bool StatusCodeHasBeenSet() const
Definition: OutboundCrossClusterSearchConnectionStatus.h:68
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::OutboundCrossClusterSearchConnectionStatus
OutboundCrossClusterSearchConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::SetStatusCode
void SetStatusCode(const OutboundCrossClusterSearchConnectionStatusCode &value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::GetMessage
const Aws::String & GetMessage() const
Definition: OutboundCrossClusterSearchConnectionStatus.h:130
Aws::ElasticsearchService::Model::OutboundCrossClusterSearchConnectionStatus::WithMessage
OutboundCrossClusterSearchConnectionStatus & WithMessage(Aws::String &&value)
Definition: OutboundCrossClusterSearchConnectionStatus.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97