137 lines
4.8 KiB
C
137 lines
4.8 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/Connection.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/DescribeConnectionsResponse">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_DATABASEMIGRATIONSERVICE_API DescribeConnectionsResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DescribeConnectionsResult();
|
|||
|
|
DescribeConnectionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DescribeConnectionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <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 DescribeConnectionsResult& 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 DescribeConnectionsResult& 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 DescribeConnectionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A description of the connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<Connection>& GetConnections() const{ return m_connections; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A description of the connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetConnections(const Aws::Vector<Connection>& value) { m_connections = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A description of the connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetConnections(Aws::Vector<Connection>&& value) { m_connections = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A description of the connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeConnectionsResult& WithConnections(const Aws::Vector<Connection>& value) { SetConnections(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A description of the connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeConnectionsResult& WithConnections(Aws::Vector<Connection>&& value) { SetConnections(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A description of the connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeConnectionsResult& AddConnections(const Connection& value) { m_connections.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A description of the connections.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeConnectionsResult& AddConnections(Connection&& value) { m_connections.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_marker;
|
|||
|
|
|
|||
|
|
Aws::Vector<Connection> m_connections;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace DatabaseMigrationService
|
|||
|
|
} // namespace Aws
|