175 lines
6.3 KiB
C
175 lines
6.3 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/dms/model/TableStatistics.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace DatabaseMigrationService
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p/><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatisticsResponse">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_DATABASEMIGRATIONSERVICE_API DescribeTableStatisticsResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DescribeTableStatisticsResult();
|
|||
|
|
DescribeTableStatisticsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DescribeTableStatisticsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the replication task.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetReplicationTaskArn() const{ return m_replicationTaskArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the replication task.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReplicationTaskArn(const Aws::String& value) { m_replicationTaskArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the replication task.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReplicationTaskArn(Aws::String&& value) { m_replicationTaskArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the replication task.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReplicationTaskArn(const char* value) { m_replicationTaskArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the replication task.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& WithReplicationTaskArn(const Aws::String& value) { SetReplicationTaskArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the replication task.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& WithReplicationTaskArn(Aws::String&& value) { SetReplicationTaskArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the replication task.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& WithReplicationTaskArn(const char* value) { SetReplicationTaskArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The table statistics.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<TableStatistics>& GetTableStatistics() const{ return m_tableStatistics; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The table statistics.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTableStatistics(const Aws::Vector<TableStatistics>& value) { m_tableStatistics = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The table statistics.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTableStatistics(Aws::Vector<TableStatistics>&& value) { m_tableStatistics = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The table statistics.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& WithTableStatistics(const Aws::Vector<TableStatistics>& value) { SetTableStatistics(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The table statistics.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& WithTableStatistics(Aws::Vector<TableStatistics>&& value) { SetTableStatistics(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The table statistics.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& AddTableStatistics(const TableStatistics& value) { m_tableStatistics.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The table statistics.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& AddTableStatistics(TableStatistics&& value) { m_tableStatistics.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> An optional pagination token provided by a previous request. If this
|
|||
|
|
* parameter is specified, the response includes only records beyond the marker, up
|
|||
|
|
* to the value specified by <code>MaxRecords</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetMarker() const{ return m_marker; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> An optional pagination token provided by a previous request. If this
|
|||
|
|
* parameter is specified, the response includes only records beyond the marker, up
|
|||
|
|
* to the value specified by <code>MaxRecords</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMarker(const Aws::String& value) { m_marker = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> An optional pagination token provided by a previous request. If this
|
|||
|
|
* parameter is specified, the response includes only records beyond the marker, up
|
|||
|
|
* to the value specified by <code>MaxRecords</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> An optional pagination token provided by a previous request. If this
|
|||
|
|
* parameter is specified, the response includes only records beyond the marker, up
|
|||
|
|
* to the value specified by <code>MaxRecords</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMarker(const char* value) { m_marker.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> An optional pagination token provided by a previous request. If this
|
|||
|
|
* parameter is specified, the response includes only records beyond the marker, up
|
|||
|
|
* to the value specified by <code>MaxRecords</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> An optional pagination token provided by a previous request. If this
|
|||
|
|
* parameter is specified, the response includes only records beyond the marker, up
|
|||
|
|
* to the value specified by <code>MaxRecords</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> An optional pagination token provided by a previous request. If this
|
|||
|
|
* parameter is specified, the response includes only records beyond the marker, up
|
|||
|
|
* to the value specified by <code>MaxRecords</code>. </p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeTableStatisticsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_replicationTaskArn;
|
|||
|
|
|
|||
|
|
Aws::Vector<TableStatistics> m_tableStatistics;
|
|||
|
|
|
|||
|
|
Aws::String m_marker;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace DatabaseMigrationService
|
|||
|
|
} // namespace Aws
|