AWS SDK for C++  1.9.18
AWS SDK for C++
GetApiKeysResult.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 {
38  {
39  public:
43 
44 
49  inline const Aws::Vector<Aws::String>& GetWarnings() const{ return m_warnings; }
50 
55  inline void SetWarnings(const Aws::Vector<Aws::String>& value) { m_warnings = value; }
56 
61  inline void SetWarnings(Aws::Vector<Aws::String>&& value) { m_warnings = std::move(value); }
62 
67  inline GetApiKeysResult& WithWarnings(const Aws::Vector<Aws::String>& value) { SetWarnings(value); return *this;}
68 
73  inline GetApiKeysResult& WithWarnings(Aws::Vector<Aws::String>&& value) { SetWarnings(std::move(value)); return *this;}
74 
79  inline GetApiKeysResult& AddWarnings(const Aws::String& value) { m_warnings.push_back(value); return *this; }
80 
85  inline GetApiKeysResult& AddWarnings(Aws::String&& value) { m_warnings.push_back(std::move(value)); return *this; }
86 
91  inline GetApiKeysResult& AddWarnings(const char* value) { m_warnings.push_back(value); return *this; }
92 
93 
94 
95  inline const Aws::String& GetPosition() const{ return m_position; }
96 
97 
98  inline void SetPosition(const Aws::String& value) { m_position = value; }
99 
100 
101  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
102 
103 
104  inline void SetPosition(const char* value) { m_position.assign(value); }
105 
106 
107  inline GetApiKeysResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
108 
109 
110  inline GetApiKeysResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
111 
112 
113  inline GetApiKeysResult& WithPosition(const char* value) { SetPosition(value); return *this;}
114 
115 
119  inline const Aws::Vector<ApiKey>& GetItems() const{ return m_items; }
120 
124  inline void SetItems(const Aws::Vector<ApiKey>& value) { m_items = value; }
125 
129  inline void SetItems(Aws::Vector<ApiKey>&& value) { m_items = std::move(value); }
130 
134  inline GetApiKeysResult& WithItems(const Aws::Vector<ApiKey>& value) { SetItems(value); return *this;}
135 
139  inline GetApiKeysResult& WithItems(Aws::Vector<ApiKey>&& value) { SetItems(std::move(value)); return *this;}
140 
144  inline GetApiKeysResult& AddItems(const ApiKey& value) { m_items.push_back(value); return *this; }
145 
149  inline GetApiKeysResult& AddItems(ApiKey&& value) { m_items.push_back(std::move(value)); return *this; }
150 
151  private:
152 
153  Aws::Vector<Aws::String> m_warnings;
154 
155  Aws::String m_position;
156 
157  Aws::Vector<ApiKey> m_items;
158  };
159 
160 } // namespace Model
161 } // namespace APIGateway
162 } // namespace Aws
Aws::APIGateway::Model::GetApiKeysResult::WithPosition
GetApiKeysResult & WithPosition(const Aws::String &value)
Definition: GetApiKeysResult.h:107
Aws::APIGateway::Model::GetApiKeysResult::GetApiKeysResult
GetApiKeysResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::GetApiKeysResult::SetPosition
void SetPosition(const char *value)
Definition: GetApiKeysResult.h:104
Aws::APIGateway::Model::GetApiKeysResult::SetWarnings
void SetWarnings(const Aws::Vector< Aws::String > &value)
Definition: GetApiKeysResult.h:55
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetApiKeysResult::AddItems
GetApiKeysResult & AddItems(const ApiKey &value)
Definition: GetApiKeysResult.h:144
Aws::APIGateway::Model::GetApiKeysResult::SetWarnings
void SetWarnings(Aws::Vector< Aws::String > &&value)
Definition: GetApiKeysResult.h:61
Aws::APIGateway::Model::GetApiKeysResult::AddWarnings
GetApiKeysResult & AddWarnings(Aws::String &&value)
Definition: GetApiKeysResult.h:85
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetApiKeysResult::GetWarnings
const Aws::Vector< Aws::String > & GetWarnings() const
Definition: GetApiKeysResult.h:49
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::APIGateway::Model::GetApiKeysResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetApiKeysResult.h:101
Aws::APIGateway::Model::GetApiKeysResult::WithPosition
GetApiKeysResult & WithPosition(const char *value)
Definition: GetApiKeysResult.h:113
Aws::APIGateway::Model::GetApiKeysResult::operator=
GetApiKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ApiKey.h
Aws::APIGateway::Model::GetApiKeysResult::SetItems
void SetItems(Aws::Vector< ApiKey > &&value)
Definition: GetApiKeysResult.h:129
Aws::APIGateway::Model::GetApiKeysResult::AddItems
GetApiKeysResult & AddItems(ApiKey &&value)
Definition: GetApiKeysResult.h:149
AWSString.h
Aws::APIGateway::Model::GetApiKeysResult::GetPosition
const Aws::String & GetPosition() const
Definition: GetApiKeysResult.h:95
Aws::APIGateway::Model::GetApiKeysResult::GetApiKeysResult
GetApiKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetApiKeysResult::SetItems
void SetItems(const Aws::Vector< ApiKey > &value)
Definition: GetApiKeysResult.h:124
Aws::APIGateway::Model::GetApiKeysResult::WithPosition
GetApiKeysResult & WithPosition(Aws::String &&value)
Definition: GetApiKeysResult.h:110
Aws::APIGateway::Model::ApiKey
Definition: ApiKey.h:40
Aws::APIGateway::Model::GetApiKeysResult::GetItems
const Aws::Vector< ApiKey > & GetItems() const
Definition: GetApiKeysResult.h:119
Aws::APIGateway::Model::GetApiKeysResult::WithItems
GetApiKeysResult & WithItems(const Aws::Vector< ApiKey > &value)
Definition: GetApiKeysResult.h:134
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetApiKeysResult::AddWarnings
GetApiKeysResult & AddWarnings(const char *value)
Definition: GetApiKeysResult.h:91
Aws::APIGateway::Model::GetApiKeysResult::WithItems
GetApiKeysResult & WithItems(Aws::Vector< ApiKey > &&value)
Definition: GetApiKeysResult.h:139
Aws::APIGateway::Model::GetApiKeysResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetApiKeysResult.h:98
Aws::APIGateway::Model::GetApiKeysResult::WithWarnings
GetApiKeysResult & WithWarnings(Aws::Vector< Aws::String > &&value)
Definition: GetApiKeysResult.h:73
Aws::APIGateway::Model::GetApiKeysResult::WithWarnings
GetApiKeysResult & WithWarnings(const Aws::Vector< Aws::String > &value)
Definition: GetApiKeysResult.h:67
Aws::APIGateway::Model::GetApiKeysResult
Definition: GetApiKeysResult.h:38
Aws::APIGateway::Model::GetApiKeysResult::AddWarnings
GetApiKeysResult & AddWarnings(const Aws::String &value)
Definition: GetApiKeysResult.h:79