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