AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
49 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
50 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
51 inline GetIntrospectionSchemaRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
52 inline GetIntrospectionSchemaRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
53 inline GetIntrospectionSchemaRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
55
57
60 inline const OutputType& GetFormat() const{ return m_format; }
61 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
62 inline void SetFormat(const OutputType& value) { m_formatHasBeenSet = true; m_format = value; }
63 inline void SetFormat(OutputType&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
64 inline GetIntrospectionSchemaRequest& WithFormat(const OutputType& value) { SetFormat(value); return *this;}
65 inline GetIntrospectionSchemaRequest& WithFormat(OutputType&& value) { SetFormat(std::move(value)); return *this;}
67
69
73 inline bool GetIncludeDirectives() const{ return m_includeDirectives; }
74 inline bool IncludeDirectivesHasBeenSet() const { return m_includeDirectivesHasBeenSet; }
75 inline void SetIncludeDirectives(bool value) { m_includeDirectivesHasBeenSet = true; m_includeDirectives = value; }
78 private:
79
80 Aws::String m_apiId;
81 bool m_apiIdHasBeenSet = false;
82
83 OutputType m_format;
84 bool m_formatHasBeenSet = false;
85
86 bool m_includeDirectives;
87 bool m_includeDirectivesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace AppSync
92} // namespace Aws
GetIntrospectionSchemaRequest & WithIncludeDirectives(bool value)
GetIntrospectionSchemaRequest & WithApiId(Aws::String &&value)
GetIntrospectionSchemaRequest & WithApiId(const char *value)
GetIntrospectionSchemaRequest & WithApiId(const Aws::String &value)
AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetIntrospectionSchemaRequest & WithFormat(OutputType &&value)
GetIntrospectionSchemaRequest & WithFormat(const OutputType &value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String