AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ApiConfiguration.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/model/GraphQLRenderConfig.h>
9#include <aws/amplifyuibuilder/model/DataStoreRenderConfig.h>
10#include <aws/amplifyuibuilder/model/NoApiRenderConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyUIBuilder
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_AMPLIFYUIBUILDER_API ApiConfiguration() = default;
38 AWS_AMPLIFYUIBUILDER_API ApiConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AMPLIFYUIBUILDER_API ApiConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const GraphQLRenderConfig& GetGraphQLConfig() const { return m_graphQLConfig; }
48 inline bool GraphQLConfigHasBeenSet() const { return m_graphQLConfigHasBeenSet; }
49 template<typename GraphQLConfigT = GraphQLRenderConfig>
50 void SetGraphQLConfig(GraphQLConfigT&& value) { m_graphQLConfigHasBeenSet = true; m_graphQLConfig = std::forward<GraphQLConfigT>(value); }
51 template<typename GraphQLConfigT = GraphQLRenderConfig>
52 ApiConfiguration& WithGraphQLConfig(GraphQLConfigT&& value) { SetGraphQLConfig(std::forward<GraphQLConfigT>(value)); return *this;}
54
56
59 inline const DataStoreRenderConfig& GetDataStoreConfig() const { return m_dataStoreConfig; }
60 inline bool DataStoreConfigHasBeenSet() const { return m_dataStoreConfigHasBeenSet; }
61 template<typename DataStoreConfigT = DataStoreRenderConfig>
62 void SetDataStoreConfig(DataStoreConfigT&& value) { m_dataStoreConfigHasBeenSet = true; m_dataStoreConfig = std::forward<DataStoreConfigT>(value); }
63 template<typename DataStoreConfigT = DataStoreRenderConfig>
64 ApiConfiguration& WithDataStoreConfig(DataStoreConfigT&& value) { SetDataStoreConfig(std::forward<DataStoreConfigT>(value)); return *this;}
66
68
71 inline const NoApiRenderConfig& GetNoApiConfig() const { return m_noApiConfig; }
72 inline bool NoApiConfigHasBeenSet() const { return m_noApiConfigHasBeenSet; }
73 template<typename NoApiConfigT = NoApiRenderConfig>
74 void SetNoApiConfig(NoApiConfigT&& value) { m_noApiConfigHasBeenSet = true; m_noApiConfig = std::forward<NoApiConfigT>(value); }
75 template<typename NoApiConfigT = NoApiRenderConfig>
76 ApiConfiguration& WithNoApiConfig(NoApiConfigT&& value) { SetNoApiConfig(std::forward<NoApiConfigT>(value)); return *this;}
78 private:
79
80 GraphQLRenderConfig m_graphQLConfig;
81 bool m_graphQLConfigHasBeenSet = false;
82
83 DataStoreRenderConfig m_dataStoreConfig;
84 bool m_dataStoreConfigHasBeenSet = false;
85
86 NoApiRenderConfig m_noApiConfig;
87 bool m_noApiConfigHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace AmplifyUIBuilder
92} // namespace Aws
AWS_AMPLIFYUIBUILDER_API ApiConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ApiConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYUIBUILDER_API ApiConfiguration()=default
ApiConfiguration & WithGraphQLConfig(GraphQLConfigT &&value)
const NoApiRenderConfig & GetNoApiConfig() const
ApiConfiguration & WithNoApiConfig(NoApiConfigT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
ApiConfiguration & WithDataStoreConfig(DataStoreConfigT &&value)
const GraphQLRenderConfig & GetGraphQLConfig() const
const DataStoreRenderConfig & GetDataStoreConfig() const
void SetDataStoreConfig(DataStoreConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue