AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDeploymentsResult.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/Deployment.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{
38 {
39 public:
40 AWS_APIGATEWAY_API GetDeploymentsResult() = default;
43
44
46
47 inline const Aws::String& GetPosition() const { return m_position; }
48 template<typename PositionT = Aws::String>
49 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
50 template<typename PositionT = Aws::String>
51 GetDeploymentsResult& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Deployment>& GetItems() const { return m_items; }
59 template<typename ItemsT = Aws::Vector<Deployment>>
60 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
61 template<typename ItemsT = Aws::Vector<Deployment>>
62 GetDeploymentsResult& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
63 template<typename ItemsT = Deployment>
64 GetDeploymentsResult& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 GetDeploymentsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_position;
78 bool m_positionHasBeenSet = false;
79
81 bool m_itemsHasBeenSet = false;
82
83 Aws::String m_requestId;
84 bool m_requestIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace APIGateway
89} // namespace Aws
GetDeploymentsResult & WithItems(ItemsT &&value)
GetDeploymentsResult & AddItems(ItemsT &&value)
const Aws::Vector< Deployment > & GetItems() const
AWS_APIGATEWAY_API GetDeploymentsResult()=default
GetDeploymentsResult & WithPosition(PositionT &&value)
AWS_APIGATEWAY_API GetDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAY_API GetDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentsResult & WithRequestId(RequestIdT &&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