AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeTableStatisticsResult.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/TableStatistics.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 {
32 public:
33 AWS_DATABASEMIGRATIONSERVICE_API DescribeTableStatisticsResult() = default;
35 AWS_DATABASEMIGRATIONSERVICE_API DescribeTableStatisticsResult& operator=(
37
39
42 inline const Aws::String& GetReplicationTaskArn() const { return m_replicationTaskArn; }
43 template <typename ReplicationTaskArnT = Aws::String>
44 void SetReplicationTaskArn(ReplicationTaskArnT&& value) {
45 m_replicationTaskArnHasBeenSet = true;
46 m_replicationTaskArn = std::forward<ReplicationTaskArnT>(value);
47 }
48 template <typename ReplicationTaskArnT = Aws::String>
50 SetReplicationTaskArn(std::forward<ReplicationTaskArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<TableStatistics>& GetTableStatistics() const { return m_tableStatistics; }
60 template <typename TableStatisticsT = Aws::Vector<TableStatistics>>
61 void SetTableStatistics(TableStatisticsT&& value) {
62 m_tableStatisticsHasBeenSet = true;
63 m_tableStatistics = std::forward<TableStatisticsT>(value);
64 }
65 template <typename TableStatisticsT = Aws::Vector<TableStatistics>>
67 SetTableStatistics(std::forward<TableStatisticsT>(value));
68 return *this;
69 }
70 template <typename TableStatisticsT = TableStatistics>
72 m_tableStatisticsHasBeenSet = true;
73 m_tableStatistics.emplace_back(std::forward<TableStatisticsT>(value));
74 return *this;
75 }
77
79
84 inline const Aws::String& GetMarker() const { return m_marker; }
85 template <typename MarkerT = Aws::String>
86 void SetMarker(MarkerT&& value) {
87 m_markerHasBeenSet = true;
88 m_marker = std::forward<MarkerT>(value);
89 }
90 template <typename MarkerT = Aws::String>
92 SetMarker(std::forward<MarkerT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
112
113 private:
114 Aws::String m_replicationTaskArn;
115
116 Aws::Vector<TableStatistics> m_tableStatistics;
117
118 Aws::String m_marker;
119
120 Aws::String m_requestId;
121 Aws::Http::HttpResponseCode m_HttpResponseCode;
122 bool m_replicationTaskArnHasBeenSet = false;
123 bool m_tableStatisticsHasBeenSet = false;
124 bool m_markerHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace DatabaseMigrationService
130} // namespace Aws
DescribeTableStatisticsResult & AddTableStatistics(TableStatisticsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeTableStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTableStatisticsResult & WithTableStatistics(TableStatisticsT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeTableStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeTableStatisticsResult()=default
DescribeTableStatisticsResult & WithReplicationTaskArn(ReplicationTaskArnT &&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