AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename OptionsT = AIMLOptionsOutput>
49 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
50 template<typename OptionsT = AIMLOptionsOutput>
51 AIMLOptionsStatus& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
53
55
56 inline const OptionStatus& GetStatus() const { return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 template<typename StatusT = OptionStatus>
59 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
60 template<typename StatusT = OptionStatus>
61 AIMLOptionsStatus& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(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
AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus()=default
AIMLOptionsStatus & WithOptions(OptionsT &&value)
AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AIMLOptionsStatus & WithStatus(StatusT &&value)
const AIMLOptionsOutput & GetOptions() const
Aws::Utils::Json::JsonValue JsonValue