AWS SDK for C++  1.9.16
AWS SDK for C++
GetDocumentationPartsResult.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 {
38  {
39  public:
43 
44 
45 
46  inline const Aws::String& GetPosition() const{ return m_position; }
47 
48 
49  inline void SetPosition(const Aws::String& value) { m_position = value; }
50 
51 
52  inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
53 
54 
55  inline void SetPosition(const char* value) { m_position.assign(value); }
56 
57 
58  inline GetDocumentationPartsResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
59 
60 
61  inline GetDocumentationPartsResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
62 
63 
64  inline GetDocumentationPartsResult& WithPosition(const char* value) { SetPosition(value); return *this;}
65 
66 
70  inline const Aws::Vector<DocumentationPart>& GetItems() const{ return m_items; }
71 
75  inline void SetItems(const Aws::Vector<DocumentationPart>& value) { m_items = value; }
76 
80  inline void SetItems(Aws::Vector<DocumentationPart>&& value) { m_items = std::move(value); }
81 
85  inline GetDocumentationPartsResult& WithItems(const Aws::Vector<DocumentationPart>& value) { SetItems(value); return *this;}
86 
90  inline GetDocumentationPartsResult& WithItems(Aws::Vector<DocumentationPart>&& value) { SetItems(std::move(value)); return *this;}
91 
95  inline GetDocumentationPartsResult& AddItems(const DocumentationPart& value) { m_items.push_back(value); return *this; }
96 
100  inline GetDocumentationPartsResult& AddItems(DocumentationPart&& value) { m_items.push_back(std::move(value)); return *this; }
101 
102  private:
103 
104  Aws::String m_position;
105 
107  };
108 
109 } // namespace Model
110 } // namespace APIGateway
111 } // namespace Aws
Aws::APIGateway::Model::GetDocumentationPartsResult::operator=
GetDocumentationPartsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::GetDocumentationPartsResult::GetPosition
const Aws::String & GetPosition() const
Definition: GetDocumentationPartsResult.h:46
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetDocumentationPartsResult::AddItems
GetDocumentationPartsResult & AddItems(const DocumentationPart &value)
Definition: GetDocumentationPartsResult.h:95
Aws::APIGateway::Model::GetDocumentationPartsResult::WithPosition
GetDocumentationPartsResult & WithPosition(const Aws::String &value)
Definition: GetDocumentationPartsResult.h:58
Aws::APIGateway::Model::GetDocumentationPartsResult::WithItems
GetDocumentationPartsResult & WithItems(const Aws::Vector< DocumentationPart > &value)
Definition: GetDocumentationPartsResult.h:85
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::GetDocumentationPartsResult::SetItems
void SetItems(Aws::Vector< DocumentationPart > &&value)
Definition: GetDocumentationPartsResult.h:80
AWSVector.h
Aws::APIGateway::Model::GetDocumentationPartsResult
Definition: GetDocumentationPartsResult.h:38
Aws::APIGateway::Model::GetDocumentationPartsResult::WithPosition
GetDocumentationPartsResult & WithPosition(Aws::String &&value)
Definition: GetDocumentationPartsResult.h:61
Aws::APIGateway::Model::GetDocumentationPartsResult::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetDocumentationPartsResult.h:52
AWSString.h
Aws::APIGateway::Model::GetDocumentationPartsResult::WithPosition
GetDocumentationPartsResult & WithPosition(const char *value)
Definition: GetDocumentationPartsResult.h:64
Aws::APIGateway::Model::GetDocumentationPartsResult::WithItems
GetDocumentationPartsResult & WithItems(Aws::Vector< DocumentationPart > &&value)
Definition: GetDocumentationPartsResult.h:90
Aws::APIGateway::Model::DocumentationPart
Definition: DocumentationPart.h:48
Aws::APIGateway::Model::GetDocumentationPartsResult::AddItems
GetDocumentationPartsResult & AddItems(DocumentationPart &&value)
Definition: GetDocumentationPartsResult.h:100
Aws::APIGateway::Model::GetDocumentationPartsResult::SetItems
void SetItems(const Aws::Vector< DocumentationPart > &value)
Definition: GetDocumentationPartsResult.h:75
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::GetDocumentationPartsResult::GetItems
const Aws::Vector< DocumentationPart > & GetItems() const
Definition: GetDocumentationPartsResult.h:70
Aws::APIGateway::Model::GetDocumentationPartsResult::GetDocumentationPartsResult
GetDocumentationPartsResult()
Aws::APIGateway::Model::GetDocumentationPartsResult::SetPosition
void SetPosition(const char *value)
Definition: GetDocumentationPartsResult.h:55
Aws::APIGateway::Model::GetDocumentationPartsResult::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetDocumentationPartsResult.h:49
Aws::APIGateway::Model::GetDocumentationPartsResult::GetDocumentationPartsResult
GetDocumentationPartsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DocumentationPart.h