AWS SDK for C++  1.9.160
AWS SDK for C++
GetUsagePlanKeysResult.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 {
39  {
40  public:
44 
45 
46 
47  inline const Aws::String& GetPosition() const{ return m_position; }
48 
49 
50  inline void SetPosition(const Aws::String& value) { m_position = value; }
51 
52 
53  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
54 
55 
56  inline void SetPosition(const char* value) { m_position.assign(value); }
57 
58 
59  inline GetUsagePlanKeysResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
60 
61 
62  inline GetUsagePlanKeysResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
63 
64 
65  inline GetUsagePlanKeysResult& WithPosition(const char* value) { SetPosition(value); return *this;}
66 
67 
71  inline const Aws::Vector<UsagePlanKey>& GetItems() const{ return m_items; }
72 
76  inline void SetItems(const Aws::Vector<UsagePlanKey>& value) { m_items = value; }
77 
81  inline void SetItems(Aws::Vector<UsagePlanKey>&& value) { m_items = std::move(value); }
82 
86  inline GetUsagePlanKeysResult& WithItems(const Aws::Vector<UsagePlanKey>& value) { SetItems(value); return *this;}
87 
91  inline GetUsagePlanKeysResult& WithItems(Aws::Vector<UsagePlanKey>&& value) { SetItems(std::move(value)); return *this;}
92 
96  inline GetUsagePlanKeysResult& AddItems(const UsagePlanKey& value) { m_items.push_back(value); return *this; }
97 
101  inline GetUsagePlanKeysResult& AddItems(UsagePlanKey&& value) { m_items.push_back(std::move(value)); return *this; }
102 
103  private:
104 
105  Aws::String m_position;
106 
108  };
109 
110 } // namespace Model
111 } // namespace APIGateway
112 } // namespace Aws
Aws::APIGateway::Model::GetUsagePlanKeysResult::WithPosition
GetUsagePlanKeysResult & WithPosition(Aws::String &&value)
Definition: GetUsagePlanKeysResult.h:62
Aws::APIGateway::Model::GetUsagePlanKeysResult::WithItems
GetUsagePlanKeysResult & WithItems(Aws::Vector< UsagePlanKey > &&value)
Definition: GetUsagePlanKeysResult.h:91
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetUsagePlanKeysResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetUsagePlanKeysResult.h:53
Aws::APIGateway::Model::GetUsagePlanKeysResult::GetPosition
const Aws::String & GetPosition() const
Definition: GetUsagePlanKeysResult.h:47
Aws::APIGateway::Model::GetUsagePlanKeysResult::GetItems
const Aws::Vector< UsagePlanKey > & GetItems() const
Definition: GetUsagePlanKeysResult.h:71
UsagePlanKey.h
Aws::APIGateway::Model::UsagePlanKey
Definition: UsagePlanKey.h:37
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::GetUsagePlanKeysResult::WithItems
GetUsagePlanKeysResult & WithItems(const Aws::Vector< UsagePlanKey > &value)
Definition: GetUsagePlanKeysResult.h:86
AWSVector.h
Aws::APIGateway::Model::GetUsagePlanKeysResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetUsagePlanKeysResult.h:50
Aws::APIGateway::Model::GetUsagePlanKeysResult::AddItems
GetUsagePlanKeysResult & AddItems(UsagePlanKey &&value)
Definition: GetUsagePlanKeysResult.h:101
Aws::APIGateway::Model::GetUsagePlanKeysResult::WithPosition
GetUsagePlanKeysResult & WithPosition(const char *value)
Definition: GetUsagePlanKeysResult.h:65
Aws::APIGateway::Model::GetUsagePlanKeysResult::GetUsagePlanKeysResult
GetUsagePlanKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetUsagePlanKeysResult::SetItems
void SetItems(const Aws::Vector< UsagePlanKey > &value)
Definition: GetUsagePlanKeysResult.h:76
AWSString.h
Aws::APIGateway::Model::GetUsagePlanKeysResult
Definition: GetUsagePlanKeysResult.h:39
Aws::APIGateway::Model::GetUsagePlanKeysResult::operator=
GetUsagePlanKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetUsagePlanKeysResult::GetUsagePlanKeysResult
GetUsagePlanKeysResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::APIGateway::Model::GetUsagePlanKeysResult::SetItems
void SetItems(Aws::Vector< UsagePlanKey > &&value)
Definition: GetUsagePlanKeysResult.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetUsagePlanKeysResult::WithPosition
GetUsagePlanKeysResult & WithPosition(const Aws::String &value)
Definition: GetUsagePlanKeysResult.h:59
Aws::APIGateway::Model::GetUsagePlanKeysResult::AddItems
GetUsagePlanKeysResult & AddItems(const UsagePlanKey &value)
Definition: GetUsagePlanKeysResult.h:96
Aws::APIGateway::Model::GetUsagePlanKeysResult::SetPosition
void SetPosition(const char *value)
Definition: GetUsagePlanKeysResult.h:56