AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NaturalLanguageQueryGenerationOptionsOutput.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/NaturalLanguageQueryGenerationDesiredState.h>
9#include <aws/opensearch/model/NaturalLanguageQueryGenerationCurrentState.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 NaturalLanguageQueryGenerationOptionsOutput() = default;
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline NaturalLanguageQueryGenerationDesiredState GetDesiredState() const { return m_desiredState; }
48 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
49 inline void SetDesiredState(NaturalLanguageQueryGenerationDesiredState value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
52
54
58 inline NaturalLanguageQueryGenerationCurrentState GetCurrentState() const { return m_currentState; }
59 inline bool CurrentStateHasBeenSet() const { return m_currentStateHasBeenSet; }
60 inline void SetCurrentState(NaturalLanguageQueryGenerationCurrentState value) { m_currentStateHasBeenSet = true; m_currentState = value; }
63 private:
64
66 bool m_desiredStateHasBeenSet = false;
67
69 bool m_currentStateHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace OpenSearchService
74} // namespace Aws
NaturalLanguageQueryGenerationOptionsOutput & WithDesiredState(NaturalLanguageQueryGenerationDesiredState value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsOutput(Aws::Utils::Json::JsonView jsonValue)
NaturalLanguageQueryGenerationOptionsOutput & WithCurrentState(NaturalLanguageQueryGenerationCurrentState value)
Aws::Utils::Json::JsonValue JsonValue