AWS SDK for C++  1.9.155
AWS SDK for C++
GetIntrospectionSchemaRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace AppSync
20 {
21 namespace 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::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetApiId() const{ return m_apiId; }
46 
50  inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
51 
55  inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
56 
60  inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
61 
65  inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
66 
70  inline GetIntrospectionSchemaRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
71 
75  inline GetIntrospectionSchemaRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
76 
80  inline GetIntrospectionSchemaRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
81 
82 
86  inline const OutputType& GetFormat() const{ return m_format; }
87 
91  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
92 
96  inline void SetFormat(const OutputType& value) { m_formatHasBeenSet = true; m_format = value; }
97 
101  inline void SetFormat(OutputType&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
102 
106  inline GetIntrospectionSchemaRequest& WithFormat(const OutputType& value) { SetFormat(value); return *this;}
107 
111  inline GetIntrospectionSchemaRequest& WithFormat(OutputType&& value) { SetFormat(std::move(value)); return *this;}
112 
113 
118  inline bool GetIncludeDirectives() const{ return m_includeDirectives; }
119 
124  inline bool IncludeDirectivesHasBeenSet() const { return m_includeDirectivesHasBeenSet; }
125 
130  inline void SetIncludeDirectives(bool value) { m_includeDirectivesHasBeenSet = true; m_includeDirectives = value; }
131 
136  inline GetIntrospectionSchemaRequest& WithIncludeDirectives(bool value) { SetIncludeDirectives(value); return *this;}
137 
138  private:
139 
140  Aws::String m_apiId;
141  bool m_apiIdHasBeenSet;
142 
143  OutputType m_format;
144  bool m_formatHasBeenSet;
145 
146  bool m_includeDirectives;
147  bool m_includeDirectivesHasBeenSet;
148  };
149 
150 } // namespace Model
151 } // namespace AppSync
152 } // namespace Aws
Aws::AppSync::Model::GetIntrospectionSchemaRequest::SetFormat
void SetFormat(const OutputType &value)
Definition: GetIntrospectionSchemaRequest.h:96
Aws::AppSync::Model::GetIntrospectionSchemaRequest::SetApiId
void SetApiId(const char *value)
Definition: GetIntrospectionSchemaRequest.h:65
Aws::AppSync::Model::GetIntrospectionSchemaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetIntrospectionSchemaRequest.h:35
Aws::AppSync::Model::GetIntrospectionSchemaRequest::WithFormat
GetIntrospectionSchemaRequest & WithFormat(OutputType &&value)
Definition: GetIntrospectionSchemaRequest.h:111
Aws::Http::URI
Definition: URI.h:32
Aws::AppSync::AppSyncRequest
Definition: AppSyncRequest.h:17
Aws::AppSync::Model::GetIntrospectionSchemaRequest::WithFormat
GetIntrospectionSchemaRequest & WithFormat(const OutputType &value)
Definition: GetIntrospectionSchemaRequest.h:106
Aws::AppSync::Model::GetIntrospectionSchemaRequest::WithApiId
GetIntrospectionSchemaRequest & WithApiId(const Aws::String &value)
Definition: GetIntrospectionSchemaRequest.h:70
Aws::AppSync::Model::GetIntrospectionSchemaRequest::WithApiId
GetIntrospectionSchemaRequest & WithApiId(Aws::String &&value)
Definition: GetIntrospectionSchemaRequest.h:75
Aws::AppSync::Model::GetIntrospectionSchemaRequest::SetFormat
void SetFormat(OutputType &&value)
Definition: GetIntrospectionSchemaRequest.h:101
AppSync_EXPORTS.h
Aws::AppSync::Model::GetIntrospectionSchemaRequest::GetIncludeDirectives
bool GetIncludeDirectives() const
Definition: GetIntrospectionSchemaRequest.h:118
Aws::AppSync::Model::GetIntrospectionSchemaRequest::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: GetIntrospectionSchemaRequest.h:91
Aws::AppSync::Model::GetIntrospectionSchemaRequest::WithIncludeDirectives
GetIntrospectionSchemaRequest & WithIncludeDirectives(bool value)
Definition: GetIntrospectionSchemaRequest.h:136
Aws::AppSync::Model::GetIntrospectionSchemaRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
Aws::AppSync::Model::GetIntrospectionSchemaRequest::WithApiId
GetIntrospectionSchemaRequest & WithApiId(const char *value)
Definition: GetIntrospectionSchemaRequest.h:80
Aws::AppSync::Model::OutputType
OutputType
Definition: OutputType.h:17
Aws::AppSync::Model::GetIntrospectionSchemaRequest::GetIntrospectionSchemaRequest
GetIntrospectionSchemaRequest()
Aws::AppSync::Model::GetIntrospectionSchemaRequest::SerializePayload
Aws::String SerializePayload() const override
OutputType.h
Aws::AppSync::Model::GetIntrospectionSchemaRequest::SetIncludeDirectives
void SetIncludeDirectives(bool value)
Definition: GetIntrospectionSchemaRequest.h:130
AppSyncRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::GetIntrospectionSchemaRequest::SetApiId
void SetApiId(Aws::String &&value)
Definition: GetIntrospectionSchemaRequest.h:60
Aws::AppSync::Model::GetIntrospectionSchemaRequest::SetApiId
void SetApiId(const Aws::String &value)
Definition: GetIntrospectionSchemaRequest.h:55
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::GetIntrospectionSchemaRequest::ApiIdHasBeenSet
bool ApiIdHasBeenSet() const
Definition: GetIntrospectionSchemaRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::GetIntrospectionSchemaRequest::GetFormat
const OutputType & GetFormat() const
Definition: GetIntrospectionSchemaRequest.h:86
Aws::AppSync::Model::GetIntrospectionSchemaRequest::GetApiId
const Aws::String & GetApiId() const
Definition: GetIntrospectionSchemaRequest.h:45
Aws::AppSync::Model::GetIntrospectionSchemaRequest
Definition: GetIntrospectionSchemaRequest.h:27
Aws::AppSync::Model::GetIntrospectionSchemaRequest::IncludeDirectivesHasBeenSet
bool IncludeDirectivesHasBeenSet() const
Definition: GetIntrospectionSchemaRequest.h:124