AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
CapabilityExtendedResponseConfig.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/AIConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace OpenSearchService {
20namespace Model {
21
29 public:
30 AWS_OPENSEARCHSERVICE_API CapabilityExtendedResponseConfig() = default;
33 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const AIConfig& GetAiConfig() const { return m_aiConfig; }
40 inline bool AiConfigHasBeenSet() const { return m_aiConfigHasBeenSet; }
41 template <typename AiConfigT = AIConfig>
42 void SetAiConfig(AiConfigT&& value) {
43 m_aiConfigHasBeenSet = true;
44 m_aiConfig = std::forward<AiConfigT>(value);
45 }
46 template <typename AiConfigT = AIConfig>
48 SetAiConfig(std::forward<AiConfigT>(value));
49 return *this;
50 }
52 private:
53 AIConfig m_aiConfig;
54 bool m_aiConfigHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace OpenSearchService
59} // namespace Aws
AWS_OPENSEARCHSERVICE_API CapabilityExtendedResponseConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API CapabilityExtendedResponseConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CapabilityExtendedResponseConfig & WithAiConfig(AiConfigT &&value)
AWS_OPENSEARCHSERVICE_API CapabilityExtendedResponseConfig()=default
Aws::Utils::Json::JsonValue JsonValue