AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutboundConnectionStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/OutboundConnectionStatusCode.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 OutboundConnectionStatus();
37 AWS_OPENSEARCHSERVICE_API OutboundConnectionStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API OutboundConnectionStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
59 inline const OutboundConnectionStatusCode& GetStatusCode() const{ return m_statusCode; }
60 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
61 inline void SetStatusCode(const OutboundConnectionStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
62 inline void SetStatusCode(OutboundConnectionStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
64 inline OutboundConnectionStatus& WithStatusCode(OutboundConnectionStatusCode&& value) { SetStatusCode(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetMessage() const{ return m_message; }
72 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
73 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
74 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
75 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
76 inline OutboundConnectionStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
77 inline OutboundConnectionStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
78 inline OutboundConnectionStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
80 private:
81
83 bool m_statusCodeHasBeenSet = false;
84
85 Aws::String m_message;
86 bool m_messageHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace OpenSearchService
91} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OutboundConnectionStatus & WithMessage(const Aws::String &value)
OutboundConnectionStatus & WithMessage(const char *value)
const OutboundConnectionStatusCode & GetStatusCode() const
AWS_OPENSEARCHSERVICE_API OutboundConnectionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
OutboundConnectionStatus & WithMessage(Aws::String &&value)
void SetStatusCode(OutboundConnectionStatusCode &&value)
OutboundConnectionStatus & WithStatusCode(OutboundConnectionStatusCode &&value)
OutboundConnectionStatus & WithStatusCode(const OutboundConnectionStatusCode &value)
void SetStatusCode(const OutboundConnectionStatusCode &value)
AWS_OPENSEARCHSERVICE_API OutboundConnectionStatus(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue