AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InboundConnectionStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/InboundConnectionStatusCode.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 OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API InboundConnectionStatus();
37 AWS_OPENSEARCHSERVICE_API InboundConnectionStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API InboundConnectionStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
56 inline const InboundConnectionStatusCode& GetStatusCode() const{ return m_statusCode; }
57 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
58 inline void SetStatusCode(const InboundConnectionStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
59 inline void SetStatusCode(InboundConnectionStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
61 inline InboundConnectionStatus& WithStatusCode(InboundConnectionStatusCode&& value) { SetStatusCode(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetMessage() const{ return m_message; }
69 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
70 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
71 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
72 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
73 inline InboundConnectionStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
74 inline InboundConnectionStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
75 inline InboundConnectionStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
77 private:
78
79 InboundConnectionStatusCode m_statusCode;
80 bool m_statusCodeHasBeenSet = false;
81
82 Aws::String m_message;
83 bool m_messageHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace OpenSearchService
88} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
InboundConnectionStatus & WithMessage(const Aws::String &value)
InboundConnectionStatus & WithMessage(const char *value)
void SetStatusCode(InboundConnectionStatusCode &&value)
InboundConnectionStatus & WithStatusCode(InboundConnectionStatusCode &&value)
AWS_OPENSEARCHSERVICE_API InboundConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
InboundConnectionStatus & WithStatusCode(const InboundConnectionStatusCode &value)
AWS_OPENSEARCHSERVICE_API InboundConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
InboundConnectionStatus & WithMessage(Aws::String &&value)
void SetStatusCode(const InboundConnectionStatusCode &value)
const InboundConnectionStatusCode & GetStatusCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue