AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListResolversRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AppSync
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APPSYNC_API ListResolversRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListResolvers"; }
35
36 AWS_APPSYNC_API Aws::String SerializePayload() const override;
37
38 AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetApiId() const{ return m_apiId; }
46 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
47 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
48 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
49 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
50 inline ListResolversRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
51 inline ListResolversRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
52 inline ListResolversRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
54
56
59 inline const Aws::String& GetTypeName() const{ return m_typeName; }
60 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
61 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
62 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
63 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
64 inline ListResolversRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
65 inline ListResolversRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
66 inline ListResolversRequest& WithTypeName(const char* value) { SetTypeName(value); return *this;}
68
70
74 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 inline ListResolversRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline ListResolversRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline ListResolversRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83
85
88 inline int GetMaxResults() const{ return m_maxResults; }
89 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
90 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
91 inline ListResolversRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
93 private:
94
95 Aws::String m_apiId;
96 bool m_apiIdHasBeenSet = false;
97
98 Aws::String m_typeName;
99 bool m_typeNameHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103
104 int m_maxResults;
105 bool m_maxResultsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace AppSync
110} // namespace Aws
ListResolversRequest & WithApiId(const Aws::String &value)
ListResolversRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListResolversRequest & WithNextToken(const char *value)
ListResolversRequest & WithTypeName(Aws::String &&value)
AWS_APPSYNC_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetTypeName(const Aws::String &value)
ListResolversRequest & WithTypeName(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListResolversRequest & WithTypeName(const char *value)
ListResolversRequest & WithApiId(const char *value)
ListResolversRequest & WithNextToken(const Aws::String &value)
ListResolversRequest & WithMaxResults(int value)
ListResolversRequest & WithApiId(Aws::String &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String