AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetApiKeysResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigateway/model/ApiKey.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace APIGateway
26{
27namespace Model
28{
36 {
37 public:
38 AWS_APIGATEWAY_API GetApiKeysResult();
41
42
44
48 inline const Aws::Vector<Aws::String>& GetWarnings() const{ return m_warnings; }
49 inline void SetWarnings(const Aws::Vector<Aws::String>& value) { m_warnings = value; }
50 inline void SetWarnings(Aws::Vector<Aws::String>&& value) { m_warnings = std::move(value); }
51 inline GetApiKeysResult& WithWarnings(const Aws::Vector<Aws::String>& value) { SetWarnings(value); return *this;}
52 inline GetApiKeysResult& WithWarnings(Aws::Vector<Aws::String>&& value) { SetWarnings(std::move(value)); return *this;}
53 inline GetApiKeysResult& AddWarnings(const Aws::String& value) { m_warnings.push_back(value); return *this; }
54 inline GetApiKeysResult& AddWarnings(Aws::String&& value) { m_warnings.push_back(std::move(value)); return *this; }
55 inline GetApiKeysResult& AddWarnings(const char* value) { m_warnings.push_back(value); return *this; }
57
59
60 inline const Aws::String& GetPosition() const{ return m_position; }
61 inline void SetPosition(const Aws::String& value) { m_position = value; }
62 inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
63 inline void SetPosition(const char* value) { m_position.assign(value); }
64 inline GetApiKeysResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
65 inline GetApiKeysResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
66 inline GetApiKeysResult& WithPosition(const char* value) { SetPosition(value); return *this;}
68
70
73 inline const Aws::Vector<ApiKey>& GetItems() const{ return m_items; }
74 inline void SetItems(const Aws::Vector<ApiKey>& value) { m_items = value; }
75 inline void SetItems(Aws::Vector<ApiKey>&& value) { m_items = std::move(value); }
76 inline GetApiKeysResult& WithItems(const Aws::Vector<ApiKey>& value) { SetItems(value); return *this;}
77 inline GetApiKeysResult& WithItems(Aws::Vector<ApiKey>&& value) { SetItems(std::move(value)); return *this;}
78 inline GetApiKeysResult& AddItems(const ApiKey& value) { m_items.push_back(value); return *this; }
79 inline GetApiKeysResult& AddItems(ApiKey&& value) { m_items.push_back(std::move(value)); return *this; }
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline GetApiKeysResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline GetApiKeysResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline GetApiKeysResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::Vector<Aws::String> m_warnings;
95
96 Aws::String m_position;
97
98 Aws::Vector<ApiKey> m_items;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace APIGateway
105} // namespace Aws
GetApiKeysResult & WithPosition(Aws::String &&value)
GetApiKeysResult & WithRequestId(const char *value)
GetApiKeysResult & WithPosition(const Aws::String &value)
GetApiKeysResult & AddItems(const ApiKey &value)
void SetRequestId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetWarnings() const
void SetWarnings(Aws::Vector< Aws::String > &&value)
GetApiKeysResult & WithRequestId(Aws::String &&value)
const Aws::Vector< ApiKey > & GetItems() const
AWS_APIGATEWAY_API GetApiKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetItems(const Aws::Vector< ApiKey > &value)
GetApiKeysResult & AddWarnings(const char *value)
GetApiKeysResult & WithItems(Aws::Vector< ApiKey > &&value)
void SetWarnings(const Aws::Vector< Aws::String > &value)
AWS_APIGATEWAY_API GetApiKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPosition(const Aws::String &value)
GetApiKeysResult & AddWarnings(Aws::String &&value)
GetApiKeysResult & WithPosition(const char *value)
const Aws::String & GetPosition() const
void SetItems(Aws::Vector< ApiKey > &&value)
GetApiKeysResult & WithWarnings(Aws::Vector< Aws::String > &&value)
const Aws::String & GetRequestId() const
GetApiKeysResult & WithItems(const Aws::Vector< ApiKey > &value)
GetApiKeysResult & WithRequestId(const Aws::String &value)
GetApiKeysResult & WithWarnings(const Aws::Vector< Aws::String > &value)
GetApiKeysResult & AddItems(ApiKey &&value)
GetApiKeysResult & AddWarnings(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue