AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const NaturalLanguageQueryGenerationDesiredState& GetDesiredState() const{ return m_desiredState; }
48 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
49 inline void SetDesiredState(const NaturalLanguageQueryGenerationDesiredState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
50 inline void SetDesiredState(NaturalLanguageQueryGenerationDesiredState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
54
56
60 inline const NaturalLanguageQueryGenerationCurrentState& GetCurrentState() const{ return m_currentState; }
61 inline bool CurrentStateHasBeenSet() const { return m_currentStateHasBeenSet; }
62 inline void SetCurrentState(const NaturalLanguageQueryGenerationCurrentState& value) { m_currentStateHasBeenSet = true; m_currentState = value; }
63 inline void SetCurrentState(NaturalLanguageQueryGenerationCurrentState&& value) { m_currentStateHasBeenSet = true; m_currentState = std::move(value); }
67 private:
68
70 bool m_desiredStateHasBeenSet = false;
71
73 bool m_currentStateHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace OpenSearchService
78} // namespace Aws
NaturalLanguageQueryGenerationOptionsOutput & WithDesiredState(const NaturalLanguageQueryGenerationDesiredState &value)
NaturalLanguageQueryGenerationOptionsOutput & WithCurrentState(const NaturalLanguageQueryGenerationCurrentState &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
NaturalLanguageQueryGenerationOptionsOutput & WithCurrentState(NaturalLanguageQueryGenerationCurrentState &&value)
AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsOutput(Aws::Utils::Json::JsonView jsonValue)
NaturalLanguageQueryGenerationOptionsOutput & WithDesiredState(NaturalLanguageQueryGenerationDesiredState &&value)
Aws::Utils::Json::JsonValue JsonValue