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