AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeMigrationProjectsResult.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dms/model/MigrationProject.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 DatabaseMigrationService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DATABASEMIGRATIONSERVICE_API DescribeMigrationProjectsResult() = default;
35
36
38
48 inline const Aws::String& GetMarker() const { return m_marker; }
49 template<typename MarkerT = Aws::String>
50 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
51 template<typename MarkerT = Aws::String>
52 DescribeMigrationProjectsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
54
56
59 inline const Aws::Vector<MigrationProject>& GetMigrationProjects() const { return m_migrationProjects; }
60 template<typename MigrationProjectsT = Aws::Vector<MigrationProject>>
61 void SetMigrationProjects(MigrationProjectsT&& value) { m_migrationProjectsHasBeenSet = true; m_migrationProjects = std::forward<MigrationProjectsT>(value); }
62 template<typename MigrationProjectsT = Aws::Vector<MigrationProject>>
63 DescribeMigrationProjectsResult& WithMigrationProjects(MigrationProjectsT&& value) { SetMigrationProjects(std::forward<MigrationProjectsT>(value)); return *this;}
64 template<typename MigrationProjectsT = MigrationProject>
65 DescribeMigrationProjectsResult& AddMigrationProjects(MigrationProjectsT&& value) { m_migrationProjectsHasBeenSet = true; m_migrationProjects.emplace_back(std::forward<MigrationProjectsT>(value)); return *this; }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 DescribeMigrationProjectsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_marker;
79 bool m_markerHasBeenSet = false;
80
81 Aws::Vector<MigrationProject> m_migrationProjects;
82 bool m_migrationProjectsHasBeenSet = false;
83
84 Aws::String m_requestId;
85 bool m_requestIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DatabaseMigrationService
90} // namespace Aws
DescribeMigrationProjectsResult & AddMigrationProjects(MigrationProjectsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeMigrationProjectsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeMigrationProjectsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeMigrationProjectsResult()=default
DescribeMigrationProjectsResult & WithMigrationProjects(MigrationProjectsT &&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