AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGraphQLConfig(const GraphQLRenderConfig& value) { m_graphQLConfigHasBeenSet = true; m_graphQLConfig = value; }
50 inline void SetGraphQLConfig(GraphQLRenderConfig&& value) { m_graphQLConfigHasBeenSet = true; m_graphQLConfig = std::move(value); }
51 inline ApiConfiguration& WithGraphQLConfig(const GraphQLRenderConfig& value) { SetGraphQLConfig(value); return *this;}
52 inline ApiConfiguration& WithGraphQLConfig(GraphQLRenderConfig&& value) { SetGraphQLConfig(std::move(value)); return *this;}
54
56
59 inline const DataStoreRenderConfig& GetDataStoreConfig() const{ return m_dataStoreConfig; }
60 inline bool DataStoreConfigHasBeenSet() const { return m_dataStoreConfigHasBeenSet; }
61 inline void SetDataStoreConfig(const DataStoreRenderConfig& value) { m_dataStoreConfigHasBeenSet = true; m_dataStoreConfig = value; }
62 inline void SetDataStoreConfig(DataStoreRenderConfig&& value) { m_dataStoreConfigHasBeenSet = true; m_dataStoreConfig = std::move(value); }
64 inline ApiConfiguration& WithDataStoreConfig(DataStoreRenderConfig&& value) { SetDataStoreConfig(std::move(value)); return *this;}
66
68
71 inline const NoApiRenderConfig& GetNoApiConfig() const{ return m_noApiConfig; }
72 inline bool NoApiConfigHasBeenSet() const { return m_noApiConfigHasBeenSet; }
73 inline void SetNoApiConfig(const NoApiRenderConfig& value) { m_noApiConfigHasBeenSet = true; m_noApiConfig = value; }
74 inline void SetNoApiConfig(NoApiRenderConfig&& value) { m_noApiConfigHasBeenSet = true; m_noApiConfig = std::move(value); }
75 inline ApiConfiguration& WithNoApiConfig(const NoApiRenderConfig& value) { SetNoApiConfig(value); return *this;}
76 inline ApiConfiguration& WithNoApiConfig(NoApiRenderConfig&& value) { SetNoApiConfig(std::move(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
ApiConfiguration & WithGraphQLConfig(GraphQLRenderConfig &&value)
AWS_AMPLIFYUIBUILDER_API ApiConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ApiConfiguration & WithNoApiConfig(NoApiRenderConfig &&value)
ApiConfiguration & WithNoApiConfig(const NoApiRenderConfig &value)
void SetGraphQLConfig(const GraphQLRenderConfig &value)
ApiConfiguration & WithDataStoreConfig(DataStoreRenderConfig &&value)
AWS_AMPLIFYUIBUILDER_API ApiConfiguration(Aws::Utils::Json::JsonView jsonValue)
ApiConfiguration & WithGraphQLConfig(const GraphQLRenderConfig &value)
const NoApiRenderConfig & GetNoApiConfig() const
void SetNoApiConfig(NoApiRenderConfig &&value)
void SetNoApiConfig(const NoApiRenderConfig &value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const GraphQLRenderConfig & GetGraphQLConfig() const
AWS_AMPLIFYUIBUILDER_API ApiConfiguration()
void SetDataStoreConfig(const DataStoreRenderConfig &value)
void SetGraphQLConfig(GraphQLRenderConfig &&value)
void SetDataStoreConfig(DataStoreRenderConfig &&value)
const DataStoreRenderConfig & GetDataStoreConfig() const
ApiConfiguration & WithDataStoreConfig(const DataStoreRenderConfig &value)
Aws::Utils::Json::JsonValue JsonValue