7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fsx/FSx_EXPORTS.h>
10#include <aws/fsx/model/Backup.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template <
typename BackupsT = Aws::Vector<Backup>>
44 m_backupsHasBeenSet =
true;
45 m_backups = std::forward<BackupsT>(value);
47 template <
typename BackupsT = Aws::Vector<Backup>>
52 template <
typename BackupsT = Backup>
54 m_backupsHasBeenSet =
true;
55 m_backups.emplace_back(std::forward<BackupsT>(value));
67 template <
typename NextTokenT = Aws::String>
69 m_nextTokenHasBeenSet =
true;
70 m_nextToken = std::forward<NextTokenT>(value);
72 template <
typename NextTokenT = Aws::String>
82 template <
typename RequestIdT = Aws::String>
84 m_requestIdHasBeenSet =
true;
85 m_requestId = std::forward<RequestIdT>(value);
87 template <
typename RequestIdT = Aws::String>
99 bool m_backupsHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
101 bool m_requestIdHasBeenSet =
false;
DescribeBackupsResult & WithRequestId(RequestIdT &&value)
AWS_FSX_API DescribeBackupsResult()=default
const Aws::String & GetNextToken() const
DescribeBackupsResult & AddBackups(BackupsT &&value)
const Aws::Vector< Backup > & GetBackups() const
const Aws::String & GetRequestId() const
DescribeBackupsResult & WithBackups(BackupsT &&value)
void SetBackups(BackupsT &&value)
void SetRequestId(RequestIdT &&value)
DescribeBackupsResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
AWS_FSX_API DescribeBackupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FSX_API DescribeBackupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue