7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/MigrationSummary.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace OpenSearchService {
37 template <
typename MigrationsT = Aws::Vector<MigrationSummary>>
39 m_migrationsHasBeenSet =
true;
40 m_migrations = std::forward<MigrationsT>(value);
42 template <
typename MigrationsT = Aws::Vector<MigrationSummary>>
47 template <
typename MigrationsT = MigrationSummary>
49 m_migrationsHasBeenSet =
true;
50 m_migrations.emplace_back(std::forward<MigrationsT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
96 bool m_migrationsHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListMigrationsResult & WithRequestId(RequestIdT &&value)
ListMigrationsResult & WithMigrations(MigrationsT &&value)
AWS_OPENSEARCHSERVICE_API ListMigrationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< MigrationSummary > & GetMigrations() const
ListMigrationsResult & WithNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API ListMigrationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListMigrationsResult & AddMigrations(MigrationsT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API ListMigrationsResult()=default
void SetMigrations(MigrationsT &&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