AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
51 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
52 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
53 inline ListGraphqlApisRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
54 inline ListGraphqlApisRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
55 inline ListGraphqlApisRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
57
59
62 inline int GetMaxResults() const{ return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
65 inline ListGraphqlApisRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
67
69
73 inline const GraphQLApiType& GetApiType() const{ return m_apiType; }
74 inline bool ApiTypeHasBeenSet() const { return m_apiTypeHasBeenSet; }
75 inline void SetApiType(const GraphQLApiType& value) { m_apiTypeHasBeenSet = true; m_apiType = value; }
76 inline void SetApiType(GraphQLApiType&& value) { m_apiTypeHasBeenSet = true; m_apiType = std::move(value); }
77 inline ListGraphqlApisRequest& WithApiType(const GraphQLApiType& value) { SetApiType(value); return *this;}
78 inline ListGraphqlApisRequest& WithApiType(GraphQLApiType&& value) { SetApiType(std::move(value)); return *this;}
80
82
85 inline const Ownership& GetOwner() const{ return m_owner; }
86 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
87 inline void SetOwner(const Ownership& value) { m_ownerHasBeenSet = true; m_owner = value; }
88 inline void SetOwner(Ownership&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
89 inline ListGraphqlApisRequest& WithOwner(const Ownership& value) { SetOwner(value); return *this;}
90 inline ListGraphqlApisRequest& WithOwner(Ownership&& value) { SetOwner(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_nextToken;
95 bool m_nextTokenHasBeenSet = false;
96
97 int m_maxResults;
98 bool m_maxResultsHasBeenSet = false;
99
100 GraphQLApiType m_apiType;
101 bool m_apiTypeHasBeenSet = false;
102
103 Ownership m_owner;
104 bool m_ownerHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace AppSync
109} // namespace Aws
ListGraphqlApisRequest & WithNextToken(const Aws::String &value)
ListGraphqlApisRequest & WithOwner(const Ownership &value)
ListGraphqlApisRequest & WithNextToken(Aws::String &&value)
ListGraphqlApisRequest & WithMaxResults(int value)
AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetApiType(const GraphQLApiType &value)
virtual const char * GetServiceRequestName() const override
ListGraphqlApisRequest & WithNextToken(const char *value)
ListGraphqlApisRequest & WithApiType(const GraphQLApiType &value)
ListGraphqlApisRequest & WithApiType(GraphQLApiType &&value)
ListGraphqlApisRequest & WithOwner(Ownership &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String