AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListGraphqlApisRequest.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/GraphQLApiType.h>
11#include <aws/appsync/model/Ownership.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace AppSync
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_APPSYNC_API ListGraphqlApisRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListGraphqlApis"; }
37
38 AWS_APPSYNC_API Aws::String SerializePayload() const override;
39
40 AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const Aws::String& GetNextToken() const { return m_nextToken; }
49 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
50 template<typename NextTokenT = Aws::String>
51 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
52 template<typename NextTokenT = Aws::String>
53 ListGraphqlApisRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
55
57
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline ListGraphqlApisRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
71 inline GraphQLApiType GetApiType() const { return m_apiType; }
72 inline bool ApiTypeHasBeenSet() const { return m_apiTypeHasBeenSet; }
73 inline void SetApiType(GraphQLApiType value) { m_apiTypeHasBeenSet = true; m_apiType = value; }
74 inline ListGraphqlApisRequest& WithApiType(GraphQLApiType value) { SetApiType(value); return *this;}
76
78
81 inline Ownership GetOwner() const { return m_owner; }
82 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
83 inline void SetOwner(Ownership value) { m_ownerHasBeenSet = true; m_owner = value; }
84 inline ListGraphqlApisRequest& WithOwner(Ownership value) { SetOwner(value); return *this;}
86 private:
87
88 Aws::String m_nextToken;
89 bool m_nextTokenHasBeenSet = false;
90
91 int m_maxResults{0};
92 bool m_maxResultsHasBeenSet = false;
93
95 bool m_apiTypeHasBeenSet = false;
96
98 bool m_ownerHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace AppSync
103} // namespace Aws
AWS_APPSYNC_API ListGraphqlApisRequest()=default
ListGraphqlApisRequest & WithNextToken(NextTokenT &&value)
ListGraphqlApisRequest & WithMaxResults(int value)
AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListGraphqlApisRequest & WithApiType(GraphQLApiType value)
virtual const char * GetServiceRequestName() const override
ListGraphqlApisRequest & WithOwner(Ownership value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String