AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetIntrospectionSchemaRequest.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appsync/model/OutputType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace AppSync
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_APPSYNC_API GetIntrospectionSchemaRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetIntrospectionSchema"; }
36
37 AWS_APPSYNC_API Aws::String SerializePayload() const override;
38
39 AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetApiId() const { return m_apiId; }
47 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
48 template<typename ApiIdT = Aws::String>
49 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
50 template<typename ApiIdT = Aws::String>
51 GetIntrospectionSchemaRequest& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
53
55
58 inline OutputType GetFormat() const { return m_format; }
59 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
60 inline void SetFormat(OutputType value) { m_formatHasBeenSet = true; m_format = value; }
61 inline GetIntrospectionSchemaRequest& WithFormat(OutputType value) { SetFormat(value); return *this;}
63
65
69 inline bool GetIncludeDirectives() const { return m_includeDirectives; }
70 inline bool IncludeDirectivesHasBeenSet() const { return m_includeDirectivesHasBeenSet; }
71 inline void SetIncludeDirectives(bool value) { m_includeDirectivesHasBeenSet = true; m_includeDirectives = value; }
74 private:
75
76 Aws::String m_apiId;
77 bool m_apiIdHasBeenSet = false;
78
80 bool m_formatHasBeenSet = false;
81
82 bool m_includeDirectives{false};
83 bool m_includeDirectivesHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace AppSync
88} // 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