AWS SDK for C++  1.9.14
AWS SDK for C++
ImportApiKeysResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace APIGateway
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<Aws::String>& GetIds() const{ return m_ids; }
46 
50  inline void SetIds(const Aws::Vector<Aws::String>& value) { m_ids = value; }
51 
55  inline void SetIds(Aws::Vector<Aws::String>&& value) { m_ids = std::move(value); }
56 
60  inline ImportApiKeysResult& WithIds(const Aws::Vector<Aws::String>& value) { SetIds(value); return *this;}
61 
65  inline ImportApiKeysResult& WithIds(Aws::Vector<Aws::String>&& value) { SetIds(std::move(value)); return *this;}
66 
70  inline ImportApiKeysResult& AddIds(const Aws::String& value) { m_ids.push_back(value); return *this; }
71 
75  inline ImportApiKeysResult& AddIds(Aws::String&& value) { m_ids.push_back(std::move(value)); return *this; }
76 
80  inline ImportApiKeysResult& AddIds(const char* value) { m_ids.push_back(value); return *this; }
81 
82 
86  inline const Aws::Vector<Aws::String>& GetWarnings() const{ return m_warnings; }
87 
91  inline void SetWarnings(const Aws::Vector<Aws::String>& value) { m_warnings = value; }
92 
96  inline void SetWarnings(Aws::Vector<Aws::String>&& value) { m_warnings = std::move(value); }
97 
101  inline ImportApiKeysResult& WithWarnings(const Aws::Vector<Aws::String>& value) { SetWarnings(value); return *this;}
102 
106  inline ImportApiKeysResult& WithWarnings(Aws::Vector<Aws::String>&& value) { SetWarnings(std::move(value)); return *this;}
107 
111  inline ImportApiKeysResult& AddWarnings(const Aws::String& value) { m_warnings.push_back(value); return *this; }
112 
116  inline ImportApiKeysResult& AddWarnings(Aws::String&& value) { m_warnings.push_back(std::move(value)); return *this; }
117 
121  inline ImportApiKeysResult& AddWarnings(const char* value) { m_warnings.push_back(value); return *this; }
122 
123  private:
124 
126 
127  Aws::Vector<Aws::String> m_warnings;
128  };
129 
130 } // namespace Model
131 } // namespace APIGateway
132 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::ImportApiKeysResult::AddWarnings
ImportApiKeysResult & AddWarnings(const Aws::String &value)
Definition: ImportApiKeysResult.h:111
Aws::APIGateway::Model::ImportApiKeysResult::AddWarnings
ImportApiKeysResult & AddWarnings(const char *value)
Definition: ImportApiKeysResult.h:121
Aws::APIGateway::Model::ImportApiKeysResult::SetWarnings
void SetWarnings(Aws::Vector< Aws::String > &&value)
Definition: ImportApiKeysResult.h:96
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::ImportApiKeysResult::AddWarnings
ImportApiKeysResult & AddWarnings(Aws::String &&value)
Definition: ImportApiKeysResult.h:116
Aws::APIGateway::Model::ImportApiKeysResult::SetIds
void SetIds(Aws::Vector< Aws::String > &&value)
Definition: ImportApiKeysResult.h:55
Aws::APIGateway::Model::ImportApiKeysResult::SetWarnings
void SetWarnings(const Aws::Vector< Aws::String > &value)
Definition: ImportApiKeysResult.h:91
Aws::APIGateway::Model::ImportApiKeysResult
Definition: ImportApiKeysResult.h:35
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::APIGateway::Model::ImportApiKeysResult::AddIds
ImportApiKeysResult & AddIds(Aws::String &&value)
Definition: ImportApiKeysResult.h:75
Aws::APIGateway::Model::ImportApiKeysResult::operator=
ImportApiKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::ImportApiKeysResult::ImportApiKeysResult
ImportApiKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::ImportApiKeysResult::ImportApiKeysResult
ImportApiKeysResult()
Aws::APIGateway::Model::ImportApiKeysResult::AddIds
ImportApiKeysResult & AddIds(const char *value)
Definition: ImportApiKeysResult.h:80
Aws::APIGateway::Model::ImportApiKeysResult::GetWarnings
const Aws::Vector< Aws::String > & GetWarnings() const
Definition: ImportApiKeysResult.h:86
AWSString.h
Aws::APIGateway::Model::ImportApiKeysResult::WithWarnings
ImportApiKeysResult & WithWarnings(const Aws::Vector< Aws::String > &value)
Definition: ImportApiKeysResult.h:101
Aws::APIGateway::Model::ImportApiKeysResult::AddIds
ImportApiKeysResult & AddIds(const Aws::String &value)
Definition: ImportApiKeysResult.h:70
Aws::APIGateway::Model::ImportApiKeysResult::WithIds
ImportApiKeysResult & WithIds(const Aws::Vector< Aws::String > &value)
Definition: ImportApiKeysResult.h:60
Aws::APIGateway::Model::ImportApiKeysResult::GetIds
const Aws::Vector< Aws::String > & GetIds() const
Definition: ImportApiKeysResult.h:45
Aws::APIGateway::Model::ImportApiKeysResult::WithIds
ImportApiKeysResult & WithIds(Aws::Vector< Aws::String > &&value)
Definition: ImportApiKeysResult.h:65
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::ImportApiKeysResult::WithWarnings
ImportApiKeysResult & WithWarnings(Aws::Vector< Aws::String > &&value)
Definition: ImportApiKeysResult.h:106
Aws::APIGateway::Model::ImportApiKeysResult::SetIds
void SetIds(const Aws::Vector< Aws::String > &value)
Definition: ImportApiKeysResult.h:50