AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBasePathMappingsResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apigateway/model/BasePathMapping.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace APIGateway
26{
27namespace Model
28{
36 {
37 public:
38 AWS_APIGATEWAY_API GetBasePathMappingsResult() = default;
41
42
44
45 inline const Aws::String& GetPosition() const { return m_position; }
46 template<typename PositionT = Aws::String>
47 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
48 template<typename PositionT = Aws::String>
49 GetBasePathMappingsResult& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
51
53
56 inline const Aws::Vector<BasePathMapping>& GetItems() const { return m_items; }
57 template<typename ItemsT = Aws::Vector<BasePathMapping>>
58 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
59 template<typename ItemsT = Aws::Vector<BasePathMapping>>
60 GetBasePathMappingsResult& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
61 template<typename ItemsT = BasePathMapping>
62 GetBasePathMappingsResult& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template<typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
70 template<typename RequestIdT = Aws::String>
71 GetBasePathMappingsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
75 Aws::String m_position;
76 bool m_positionHasBeenSet = false;
77
79 bool m_itemsHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace APIGateway
87} // namespace Aws
AWS_APIGATEWAY_API GetBasePathMappingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBasePathMappingsResult & WithPosition(PositionT &&value)
const Aws::Vector< BasePathMapping > & GetItems() const
GetBasePathMappingsResult & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAY_API GetBasePathMappingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBasePathMappingsResult & AddItems(ItemsT &&value)
AWS_APIGATEWAY_API GetBasePathMappingsResult()=default
GetBasePathMappingsResult & WithItems(ItemsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue