AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeMigrationProjectsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
10#include <aws/dms/model/MigrationProject.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService {
24namespace Model {
26 public:
27 AWS_DATABASEMIGRATIONSERVICE_API DescribeMigrationProjectsResult() = default;
29 AWS_DATABASEMIGRATIONSERVICE_API DescribeMigrationProjectsResult& operator=(
31
33
43 inline const Aws::String& GetMarker() const { return m_marker; }
44 template <typename MarkerT = Aws::String>
45 void SetMarker(MarkerT&& value) {
46 m_markerHasBeenSet = true;
47 m_marker = std::forward<MarkerT>(value);
48 }
49 template <typename MarkerT = Aws::String>
51 SetMarker(std::forward<MarkerT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<MigrationProject>& GetMigrationProjects() const { return m_migrationProjects; }
61 template <typename MigrationProjectsT = Aws::Vector<MigrationProject>>
62 void SetMigrationProjects(MigrationProjectsT&& value) {
63 m_migrationProjectsHasBeenSet = true;
64 m_migrationProjects = std::forward<MigrationProjectsT>(value);
65 }
66 template <typename MigrationProjectsT = Aws::Vector<MigrationProject>>
68 SetMigrationProjects(std::forward<MigrationProjectsT>(value));
69 return *this;
70 }
71 template <typename MigrationProjectsT = MigrationProject>
73 m_migrationProjectsHasBeenSet = true;
74 m_migrationProjects.emplace_back(std::forward<MigrationProjectsT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_marker;
95
96 Aws::Vector<MigrationProject> m_migrationProjects;
97
98 Aws::String m_requestId;
99 bool m_markerHasBeenSet = false;
100 bool m_migrationProjectsHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace DatabaseMigrationService
106} // 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