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