AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GraphQLRenderConfig.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyUIBuilder {
20namespace Model {
21
29 public:
30 AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig() = default;
31 AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetTypesFilePath() const { return m_typesFilePath; }
41 inline bool TypesFilePathHasBeenSet() const { return m_typesFilePathHasBeenSet; }
42 template <typename TypesFilePathT = Aws::String>
43 void SetTypesFilePath(TypesFilePathT&& value) {
44 m_typesFilePathHasBeenSet = true;
45 m_typesFilePath = std::forward<TypesFilePathT>(value);
46 }
47 template <typename TypesFilePathT = Aws::String>
48 GraphQLRenderConfig& WithTypesFilePath(TypesFilePathT&& value) {
49 SetTypesFilePath(std::forward<TypesFilePathT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetQueriesFilePath() const { return m_queriesFilePath; }
60 inline bool QueriesFilePathHasBeenSet() const { return m_queriesFilePathHasBeenSet; }
61 template <typename QueriesFilePathT = Aws::String>
62 void SetQueriesFilePath(QueriesFilePathT&& value) {
63 m_queriesFilePathHasBeenSet = true;
64 m_queriesFilePath = std::forward<QueriesFilePathT>(value);
65 }
66 template <typename QueriesFilePathT = Aws::String>
67 GraphQLRenderConfig& WithQueriesFilePath(QueriesFilePathT&& value) {
68 SetQueriesFilePath(std::forward<QueriesFilePathT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetMutationsFilePath() const { return m_mutationsFilePath; }
79 inline bool MutationsFilePathHasBeenSet() const { return m_mutationsFilePathHasBeenSet; }
80 template <typename MutationsFilePathT = Aws::String>
81 void SetMutationsFilePath(MutationsFilePathT&& value) {
82 m_mutationsFilePathHasBeenSet = true;
83 m_mutationsFilePath = std::forward<MutationsFilePathT>(value);
84 }
85 template <typename MutationsFilePathT = Aws::String>
86 GraphQLRenderConfig& WithMutationsFilePath(MutationsFilePathT&& value) {
87 SetMutationsFilePath(std::forward<MutationsFilePathT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetSubscriptionsFilePath() const { return m_subscriptionsFilePath; }
98 inline bool SubscriptionsFilePathHasBeenSet() const { return m_subscriptionsFilePathHasBeenSet; }
99 template <typename SubscriptionsFilePathT = Aws::String>
100 void SetSubscriptionsFilePath(SubscriptionsFilePathT&& value) {
101 m_subscriptionsFilePathHasBeenSet = true;
102 m_subscriptionsFilePath = std::forward<SubscriptionsFilePathT>(value);
103 }
104 template <typename SubscriptionsFilePathT = Aws::String>
105 GraphQLRenderConfig& WithSubscriptionsFilePath(SubscriptionsFilePathT&& value) {
106 SetSubscriptionsFilePath(std::forward<SubscriptionsFilePathT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetFragmentsFilePath() const { return m_fragmentsFilePath; }
117 inline bool FragmentsFilePathHasBeenSet() const { return m_fragmentsFilePathHasBeenSet; }
118 template <typename FragmentsFilePathT = Aws::String>
119 void SetFragmentsFilePath(FragmentsFilePathT&& value) {
120 m_fragmentsFilePathHasBeenSet = true;
121 m_fragmentsFilePath = std::forward<FragmentsFilePathT>(value);
122 }
123 template <typename FragmentsFilePathT = Aws::String>
124 GraphQLRenderConfig& WithFragmentsFilePath(FragmentsFilePathT&& value) {
125 SetFragmentsFilePath(std::forward<FragmentsFilePathT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_typesFilePath;
131
132 Aws::String m_queriesFilePath;
133
134 Aws::String m_mutationsFilePath;
135
136 Aws::String m_subscriptionsFilePath;
137
138 Aws::String m_fragmentsFilePath;
139 bool m_typesFilePathHasBeenSet = false;
140 bool m_queriesFilePathHasBeenSet = false;
141 bool m_mutationsFilePathHasBeenSet = false;
142 bool m_subscriptionsFilePathHasBeenSet = false;
143 bool m_fragmentsFilePathHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace AmplifyUIBuilder
148} // namespace Aws
GraphQLRenderConfig & WithQueriesFilePath(QueriesFilePathT &&value)
GraphQLRenderConfig & WithFragmentsFilePath(FragmentsFilePathT &&value)
GraphQLRenderConfig & WithSubscriptionsFilePath(SubscriptionsFilePathT &&value)
AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig()=default
AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig(Aws::Utils::Json::JsonView jsonValue)
GraphQLRenderConfig & WithMutationsFilePath(MutationsFilePathT &&value)
void SetFragmentsFilePath(FragmentsFilePathT &&value)
void SetMutationsFilePath(MutationsFilePathT &&value)
void SetSubscriptionsFilePath(SubscriptionsFilePathT &&value)
AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
GraphQLRenderConfig & WithTypesFilePath(TypesFilePathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue