AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetDataSourceIntrospectionRequest.h
1
6#pragma once
7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AppSync {
18namespace Model {
19
23 public:
24 AWS_APPSYNC_API GetDataSourceIntrospectionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetDataSourceIntrospection"; }
31
32 AWS_APPSYNC_API Aws::String SerializePayload() const override;
33
34 AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetIntrospectionId() const { return m_introspectionId; }
42 inline bool IntrospectionIdHasBeenSet() const { return m_introspectionIdHasBeenSet; }
43 template <typename IntrospectionIdT = Aws::String>
44 void SetIntrospectionId(IntrospectionIdT&& value) {
45 m_introspectionIdHasBeenSet = true;
46 m_introspectionId = std::forward<IntrospectionIdT>(value);
47 }
48 template <typename IntrospectionIdT = Aws::String>
50 SetIntrospectionId(std::forward<IntrospectionIdT>(value));
51 return *this;
52 }
54
56
62 inline bool GetIncludeModelsSDL() const { return m_includeModelsSDL; }
63 inline bool IncludeModelsSDLHasBeenSet() const { return m_includeModelsSDLHasBeenSet; }
64 inline void SetIncludeModelsSDL(bool value) {
65 m_includeModelsSDLHasBeenSet = true;
66 m_includeModelsSDL = value;
67 }
70 return *this;
71 }
73
75
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template <typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) {
84 m_nextTokenHasBeenSet = true;
85 m_nextToken = std::forward<NextTokenT>(value);
86 }
87 template <typename NextTokenT = Aws::String>
89 SetNextToken(std::forward<NextTokenT>(value));
90 return *this;
91 }
93
95
99 inline int GetMaxResults() const { return m_maxResults; }
100 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
101 inline void SetMaxResults(int value) {
102 m_maxResultsHasBeenSet = true;
103 m_maxResults = value;
104 }
106 SetMaxResults(value);
107 return *this;
108 }
110 private:
111 Aws::String m_introspectionId;
112
113 bool m_includeModelsSDL{false};
114
115 Aws::String m_nextToken;
116
117 int m_maxResults{0};
118 bool m_introspectionIdHasBeenSet = false;
119 bool m_includeModelsSDLHasBeenSet = false;
120 bool m_nextTokenHasBeenSet = false;
121 bool m_maxResultsHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace AppSync
126} // namespace Aws
AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetDataSourceIntrospectionRequest & WithIncludeModelsSDL(bool value)
GetDataSourceIntrospectionRequest & WithIntrospectionId(IntrospectionIdT &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
GetDataSourceIntrospectionRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String