AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeMigrationProjectsResult.h
1
6#pragma once
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/dms/DatabaseMigrationService_EXPORTS.h>
11#include <aws/dms/model/MigrationProject.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DatabaseMigrationService {
25namespace Model {
27 public:
28 AWS_DATABASEMIGRATIONSERVICE_API DescribeMigrationProjectsResult() = default;
30 AWS_DATABASEMIGRATIONSERVICE_API DescribeMigrationProjectsResult& operator=(
32
34
44 inline const Aws::String& GetMarker() const { return m_marker; }
45 template <typename MarkerT = Aws::String>
46 void SetMarker(MarkerT&& value) {
47 m_markerHasBeenSet = true;
48 m_marker = std::forward<MarkerT>(value);
49 }
50 template <typename MarkerT = Aws::String>
52 SetMarker(std::forward<MarkerT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<MigrationProject>& GetMigrationProjects() const { return m_migrationProjects; }
62 template <typename MigrationProjectsT = Aws::Vector<MigrationProject>>
63 void SetMigrationProjects(MigrationProjectsT&& value) {
64 m_migrationProjectsHasBeenSet = true;
65 m_migrationProjects = std::forward<MigrationProjectsT>(value);
66 }
67 template <typename MigrationProjectsT = Aws::Vector<MigrationProject>>
69 SetMigrationProjects(std::forward<MigrationProjectsT>(value));
70 return *this;
71 }
72 template <typename MigrationProjectsT = MigrationProject>
74 m_migrationProjectsHasBeenSet = true;
75 m_migrationProjects.emplace_back(std::forward<MigrationProjectsT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 Aws::String m_marker;
98
99 Aws::Vector<MigrationProject> m_migrationProjects;
100
101 Aws::String m_requestId;
102 Aws::Http::HttpResponseCode m_HttpResponseCode;
103 bool m_markerHasBeenSet = false;
104 bool m_migrationProjectsHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace DatabaseMigrationService
110} // 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