AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AmplifyUIBuilder
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig() = default;
36 AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AMPLIFYUIBUILDER_API GraphQLRenderConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AMPLIFYUIBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetTypesFilePath() const { return m_typesFilePath; }
47 inline bool TypesFilePathHasBeenSet() const { return m_typesFilePathHasBeenSet; }
48 template<typename TypesFilePathT = Aws::String>
49 void SetTypesFilePath(TypesFilePathT&& value) { m_typesFilePathHasBeenSet = true; m_typesFilePath = std::forward<TypesFilePathT>(value); }
50 template<typename TypesFilePathT = Aws::String>
51 GraphQLRenderConfig& WithTypesFilePath(TypesFilePathT&& value) { SetTypesFilePath(std::forward<TypesFilePathT>(value)); return *this;}
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) { m_queriesFilePathHasBeenSet = true; m_queriesFilePath = std::forward<QueriesFilePathT>(value); }
63 template<typename QueriesFilePathT = Aws::String>
64 GraphQLRenderConfig& WithQueriesFilePath(QueriesFilePathT&& value) { SetQueriesFilePath(std::forward<QueriesFilePathT>(value)); return *this;}
66
68
72 inline const Aws::String& GetMutationsFilePath() const { return m_mutationsFilePath; }
73 inline bool MutationsFilePathHasBeenSet() const { return m_mutationsFilePathHasBeenSet; }
74 template<typename MutationsFilePathT = Aws::String>
75 void SetMutationsFilePath(MutationsFilePathT&& value) { m_mutationsFilePathHasBeenSet = true; m_mutationsFilePath = std::forward<MutationsFilePathT>(value); }
76 template<typename MutationsFilePathT = Aws::String>
77 GraphQLRenderConfig& WithMutationsFilePath(MutationsFilePathT&& value) { SetMutationsFilePath(std::forward<MutationsFilePathT>(value)); return *this;}
79
81
85 inline const Aws::String& GetSubscriptionsFilePath() const { return m_subscriptionsFilePath; }
86 inline bool SubscriptionsFilePathHasBeenSet() const { return m_subscriptionsFilePathHasBeenSet; }
87 template<typename SubscriptionsFilePathT = Aws::String>
88 void SetSubscriptionsFilePath(SubscriptionsFilePathT&& value) { m_subscriptionsFilePathHasBeenSet = true; m_subscriptionsFilePath = std::forward<SubscriptionsFilePathT>(value); }
89 template<typename SubscriptionsFilePathT = Aws::String>
90 GraphQLRenderConfig& WithSubscriptionsFilePath(SubscriptionsFilePathT&& value) { SetSubscriptionsFilePath(std::forward<SubscriptionsFilePathT>(value)); return *this;}
92
94
98 inline const Aws::String& GetFragmentsFilePath() const { return m_fragmentsFilePath; }
99 inline bool FragmentsFilePathHasBeenSet() const { return m_fragmentsFilePathHasBeenSet; }
100 template<typename FragmentsFilePathT = Aws::String>
101 void SetFragmentsFilePath(FragmentsFilePathT&& value) { m_fragmentsFilePathHasBeenSet = true; m_fragmentsFilePath = std::forward<FragmentsFilePathT>(value); }
102 template<typename FragmentsFilePathT = Aws::String>
103 GraphQLRenderConfig& WithFragmentsFilePath(FragmentsFilePathT&& value) { SetFragmentsFilePath(std::forward<FragmentsFilePathT>(value)); return *this;}
105 private:
106
107 Aws::String m_typesFilePath;
108 bool m_typesFilePathHasBeenSet = false;
109
110 Aws::String m_queriesFilePath;
111 bool m_queriesFilePathHasBeenSet = false;
112
113 Aws::String m_mutationsFilePath;
114 bool m_mutationsFilePathHasBeenSet = false;
115
116 Aws::String m_subscriptionsFilePath;
117 bool m_subscriptionsFilePathHasBeenSet = false;
118
119 Aws::String m_fragmentsFilePath;
120 bool m_fragmentsFilePathHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace AmplifyUIBuilder
125} // 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