AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 InboundConnectionStatusCode GetStatusCode() const { return m_statusCode; }
57 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
58 inline void SetStatusCode(InboundConnectionStatusCode value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
61
63
66 inline const Aws::String& GetMessage() const { return m_message; }
67 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
68 template<typename MessageT = Aws::String>
69 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
70 template<typename MessageT = Aws::String>
71 InboundConnectionStatus& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(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 OpenSearchService
84} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
InboundConnectionStatus & WithStatusCode(InboundConnectionStatusCode value)
InboundConnectionStatus & WithMessage(MessageT &&value)
AWS_OPENSEARCHSERVICE_API InboundConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API InboundConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API InboundConnectionStatus()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue