AWS SDK for C++  1.9.161
AWS SDK for C++
GetGatewayResponsesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
241  {
242  public:
246 
247 
248 
249  inline const Aws::String& GetPosition() const{ return m_position; }
250 
251 
252  inline void SetPosition(const Aws::String& value) { m_position = value; }
253 
254 
255  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
256 
257 
258  inline void SetPosition(const char* value) { m_position.assign(value); }
259 
260 
261  inline GetGatewayResponsesResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
262 
263 
264  inline GetGatewayResponsesResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
265 
266 
267  inline GetGatewayResponsesResult& WithPosition(const char* value) { SetPosition(value); return *this;}
268 
269 
273  inline const Aws::Vector<GatewayResponse>& GetItems() const{ return m_items; }
274 
278  inline void SetItems(const Aws::Vector<GatewayResponse>& value) { m_items = value; }
279 
283  inline void SetItems(Aws::Vector<GatewayResponse>&& value) { m_items = std::move(value); }
284 
288  inline GetGatewayResponsesResult& WithItems(const Aws::Vector<GatewayResponse>& value) { SetItems(value); return *this;}
289 
293  inline GetGatewayResponsesResult& WithItems(Aws::Vector<GatewayResponse>&& value) { SetItems(std::move(value)); return *this;}
294 
298  inline GetGatewayResponsesResult& AddItems(const GatewayResponse& value) { m_items.push_back(value); return *this; }
299 
303  inline GetGatewayResponsesResult& AddItems(GatewayResponse&& value) { m_items.push_back(std::move(value)); return *this; }
304 
305  private:
306 
307  Aws::String m_position;
308 
310  };
311 
312 } // namespace Model
313 } // namespace APIGateway
314 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetGatewayResponsesResult::WithItems
GetGatewayResponsesResult & WithItems(const Aws::Vector< GatewayResponse > &value)
Definition: GetGatewayResponsesResult.h:288
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetGatewayResponsesResult::SetPosition
void SetPosition(const char *value)
Definition: GetGatewayResponsesResult.h:258
Aws::APIGateway::Model::GatewayResponse
Definition: GatewayResponse.h:74
GatewayResponse.h
Aws::APIGateway::Model::GetGatewayResponsesResult::AddItems
GetGatewayResponsesResult & AddItems(const GatewayResponse &value)
Definition: GetGatewayResponsesResult.h:298
Aws::APIGateway::Model::GetGatewayResponsesResult::AddItems
GetGatewayResponsesResult & AddItems(GatewayResponse &&value)
Definition: GetGatewayResponsesResult.h:303
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::APIGateway::Model::GetGatewayResponsesResult::GetPosition
const Aws::String & GetPosition() const
Definition: GetGatewayResponsesResult.h:249
Aws::APIGateway::Model::GetGatewayResponsesResult::WithPosition
GetGatewayResponsesResult & WithPosition(const char *value)
Definition: GetGatewayResponsesResult.h:267
Aws::APIGateway::Model::GetGatewayResponsesResult::operator=
GetGatewayResponsesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetGatewayResponsesResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetGatewayResponsesResult.h:252
Aws::APIGateway::Model::GetGatewayResponsesResult::SetItems
void SetItems(Aws::Vector< GatewayResponse > &&value)
Definition: GetGatewayResponsesResult.h:283
AWSString.h
Aws::APIGateway::Model::GetGatewayResponsesResult::GetGatewayResponsesResult
GetGatewayResponsesResult()
Aws::APIGateway::Model::GetGatewayResponsesResult::WithItems
GetGatewayResponsesResult & WithItems(Aws::Vector< GatewayResponse > &&value)
Definition: GetGatewayResponsesResult.h:293
Aws::APIGateway::Model::GetGatewayResponsesResult::WithPosition
GetGatewayResponsesResult & WithPosition(const Aws::String &value)
Definition: GetGatewayResponsesResult.h:261
Aws::APIGateway::Model::GetGatewayResponsesResult::GetGatewayResponsesResult
GetGatewayResponsesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetGatewayResponsesResult
Definition: GetGatewayResponsesResult.h:241
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetGatewayResponsesResult::GetItems
const Aws::Vector< GatewayResponse > & GetItems() const
Definition: GetGatewayResponsesResult.h:273
Aws::APIGateway::Model::GetGatewayResponsesResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetGatewayResponsesResult.h:255
Aws::APIGateway::Model::GetGatewayResponsesResult::WithPosition
GetGatewayResponsesResult & WithPosition(Aws::String &&value)
Definition: GetGatewayResponsesResult.h:264
Aws::APIGateway::Model::GetGatewayResponsesResult::SetItems
void SetItems(const Aws::Vector< GatewayResponse > &value)
Definition: GetGatewayResponsesResult.h:278