AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourcesRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace APIGateway
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APIGATEWAY_API GetResourcesRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "GetResources"; }
40
41 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
42
43 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
50 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
51 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
52 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
53 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
54 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
55 inline GetResourcesRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
56 inline GetResourcesRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
57 inline GetResourcesRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
59
61
64 inline const Aws::String& GetPosition() const{ return m_position; }
65 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
66 inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
67 inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
68 inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
69 inline GetResourcesRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
70 inline GetResourcesRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
71 inline GetResourcesRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
73
75
79 inline int GetLimit() const{ return m_limit; }
80 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
81 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
82 inline GetResourcesRequest& WithLimit(int value) { SetLimit(value); return *this;}
84
86
94 inline const Aws::Vector<Aws::String>& GetEmbed() const{ return m_embed; }
95 inline bool EmbedHasBeenSet() const { return m_embedHasBeenSet; }
96 inline void SetEmbed(const Aws::Vector<Aws::String>& value) { m_embedHasBeenSet = true; m_embed = value; }
97 inline void SetEmbed(Aws::Vector<Aws::String>&& value) { m_embedHasBeenSet = true; m_embed = std::move(value); }
98 inline GetResourcesRequest& WithEmbed(const Aws::Vector<Aws::String>& value) { SetEmbed(value); return *this;}
99 inline GetResourcesRequest& WithEmbed(Aws::Vector<Aws::String>&& value) { SetEmbed(std::move(value)); return *this;}
100 inline GetResourcesRequest& AddEmbed(const Aws::String& value) { m_embedHasBeenSet = true; m_embed.push_back(value); return *this; }
101 inline GetResourcesRequest& AddEmbed(Aws::String&& value) { m_embedHasBeenSet = true; m_embed.push_back(std::move(value)); return *this; }
102 inline GetResourcesRequest& AddEmbed(const char* value) { m_embedHasBeenSet = true; m_embed.push_back(value); return *this; }
104 private:
105
106 Aws::String m_restApiId;
107 bool m_restApiIdHasBeenSet = false;
108
109 Aws::String m_position;
110 bool m_positionHasBeenSet = false;
111
112 int m_limit;
113 bool m_limitHasBeenSet = false;
114
116 bool m_embedHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace APIGateway
121} // namespace Aws
GetResourcesRequest & WithLimit(int value)
GetResourcesRequest & AddEmbed(const Aws::String &value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
void SetEmbed(const Aws::Vector< Aws::String > &value)
GetResourcesRequest & WithEmbed(const Aws::Vector< Aws::String > &value)
void SetRestApiId(const Aws::String &value)
GetResourcesRequest & AddEmbed(Aws::String &&value)
GetResourcesRequest & WithRestApiId(const char *value)
GetResourcesRequest & WithEmbed(Aws::Vector< Aws::String > &&value)
GetResourcesRequest & AddEmbed(const char *value)
GetResourcesRequest & WithPosition(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEmbed() const
GetResourcesRequest & WithRestApiId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetResourcesRequest & WithPosition(Aws::String &&value)
GetResourcesRequest & WithRestApiId(Aws::String &&value)
GetResourcesRequest & WithPosition(const char *value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetEmbed(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector