7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/backup-gateway/model/Gateway.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace BackupGateway {
37 template <
typename GatewaysT = Aws::Vector<Gateway>>
39 m_gatewaysHasBeenSet =
true;
40 m_gateways = std::forward<GatewaysT>(value);
42 template <
typename GatewaysT = Aws::Vector<Gateway>>
47 template <
typename GatewaysT = Gateway>
49 m_gatewaysHasBeenSet =
true;
50 m_gateways.emplace_back(std::forward<GatewaysT>(value));
63 template <
typename NextTokenT = Aws::String>
65 m_nextTokenHasBeenSet =
true;
66 m_nextToken = std::forward<NextTokenT>(value);
68 template <
typename NextTokenT = Aws::String>
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
98 bool m_gatewaysHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< Gateway > & GetGateways() const
ListGatewaysResult & WithNextToken(NextTokenT &&value)
ListGatewaysResult & WithGateways(GatewaysT &&value)
void SetGateways(GatewaysT &&value)
AWS_BACKUPGATEWAY_API ListGatewaysResult()=default
ListGatewaysResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_BACKUPGATEWAY_API ListGatewaysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
AWS_BACKUPGATEWAY_API ListGatewaysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListGatewaysResult & AddGateways(GatewaysT &&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