7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/backup-gateway/model/Gateway.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace BackupGateway {
36 template <
typename GatewaysT = Aws::Vector<Gateway>>
38 m_gatewaysHasBeenSet =
true;
39 m_gateways = std::forward<GatewaysT>(value);
41 template <
typename GatewaysT = Aws::Vector<Gateway>>
46 template <
typename GatewaysT = Gateway>
48 m_gatewaysHasBeenSet =
true;
49 m_gateways.emplace_back(std::forward<GatewaysT>(value));
62 template <
typename NextTokenT = Aws::String>
64 m_nextTokenHasBeenSet =
true;
65 m_nextToken = std::forward<NextTokenT>(value);
67 template <
typename NextTokenT = Aws::String>
77 template <
typename RequestIdT = Aws::String>
79 m_requestIdHasBeenSet =
true;
80 m_requestId = std::forward<RequestIdT>(value);
82 template <
typename RequestIdT = Aws::String>
94 bool m_gatewaysHasBeenSet =
false;
95 bool m_nextTokenHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
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