AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AIMLOptionsStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/AIMLOptionsOutput.h>
9#include <aws/opensearch/model/OptionStatus.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 AIMLOptionsStatus();
37 AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AIMLOptionsOutput& GetOptions() const{ return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 inline void SetOptions(const AIMLOptionsOutput& value) { m_optionsHasBeenSet = true; m_options = value; }
49 inline void SetOptions(AIMLOptionsOutput&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
50 inline AIMLOptionsStatus& WithOptions(const AIMLOptionsOutput& value) { SetOptions(value); return *this;}
51 inline AIMLOptionsStatus& WithOptions(AIMLOptionsOutput&& value) { SetOptions(std::move(value)); return *this;}
53
55
56 inline const OptionStatus& GetStatus() const{ return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
59 inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
60 inline AIMLOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
61 inline AIMLOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
63 private:
64
65 AIMLOptionsOutput m_options;
66 bool m_optionsHasBeenSet = false;
67
68 OptionStatus m_status;
69 bool m_statusHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace OpenSearchService
74} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AIMLOptionsStatus & WithOptions(const AIMLOptionsOutput &value)
void SetOptions(const AIMLOptionsOutput &value)
AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus()
AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AIMLOptionsStatus & WithStatus(OptionStatus &&value)
AIMLOptionsStatus & WithStatus(const OptionStatus &value)
const AIMLOptionsOutput & GetOptions() const
AIMLOptionsStatus & WithOptions(AIMLOptionsOutput &&value)
Aws::Utils::Json::JsonValue JsonValue