AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetIntrospectionSchemaRequest.h
1
6#pragma once
7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/appsync/model/OutputType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace AppSync {
19namespace Model {
20
24 public:
25 AWS_APPSYNC_API GetIntrospectionSchemaRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetIntrospectionSchema"; }
32
33 AWS_APPSYNC_API Aws::String SerializePayload() const override;
34
35 AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetApiId() const { return m_apiId; }
42 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
43 template <typename ApiIdT = Aws::String>
44 void SetApiId(ApiIdT&& value) {
45 m_apiIdHasBeenSet = true;
46 m_apiId = std::forward<ApiIdT>(value);
47 }
48 template <typename ApiIdT = Aws::String>
50 SetApiId(std::forward<ApiIdT>(value));
51 return *this;
52 }
54
56
59 inline OutputType GetFormat() const { return m_format; }
60 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
61 inline void SetFormat(OutputType value) {
62 m_formatHasBeenSet = true;
63 m_format = value;
64 }
66 SetFormat(value);
67 return *this;
68 }
70
72
76 inline bool GetIncludeDirectives() const { return m_includeDirectives; }
77 inline bool IncludeDirectivesHasBeenSet() const { return m_includeDirectivesHasBeenSet; }
78 inline void SetIncludeDirectives(bool value) {
79 m_includeDirectivesHasBeenSet = true;
80 m_includeDirectives = value;
81 }
84 return *this;
85 }
87 private:
88 Aws::String m_apiId;
89
91
92 bool m_includeDirectives{false};
93 bool m_apiIdHasBeenSet = false;
94 bool m_formatHasBeenSet = false;
95 bool m_includeDirectivesHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace AppSync
100} // namespace Aws
GetIntrospectionSchemaRequest & WithIncludeDirectives(bool value)
GetIntrospectionSchemaRequest & WithFormat(OutputType value)
AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetIntrospectionSchemaRequest & WithApiId(ApiIdT &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
AWS_APPSYNC_API GetIntrospectionSchemaRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String