/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DatabaseMigrationService { namespace Model { class DescribeCertificatesResult { public: AWS_DATABASEMIGRATIONSERVICE_API DescribeCertificatesResult(); AWS_DATABASEMIGRATIONSERVICE_API DescribeCertificatesResult(const Aws::AmazonWebServiceResult& result); AWS_DATABASEMIGRATIONSERVICE_API DescribeCertificatesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The pagination token.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The pagination token.

*/ inline void SetMarker(const Aws::String& value) { m_marker = value; } /** *

The pagination token.

*/ inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } /** *

The pagination token.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

The pagination token.

*/ inline DescribeCertificatesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The pagination token.

*/ inline DescribeCertificatesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The pagination token.

*/ inline DescribeCertificatesResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

The Secure Sockets Layer (SSL) certificates associated with the replication * instance.

*/ inline const Aws::Vector& GetCertificates() const{ return m_certificates; } /** *

The Secure Sockets Layer (SSL) certificates associated with the replication * instance.

*/ inline void SetCertificates(const Aws::Vector& value) { m_certificates = value; } /** *

The Secure Sockets Layer (SSL) certificates associated with the replication * instance.

*/ inline void SetCertificates(Aws::Vector&& value) { m_certificates = std::move(value); } /** *

The Secure Sockets Layer (SSL) certificates associated with the replication * instance.

*/ inline DescribeCertificatesResult& WithCertificates(const Aws::Vector& value) { SetCertificates(value); return *this;} /** *

The Secure Sockets Layer (SSL) certificates associated with the replication * instance.

*/ inline DescribeCertificatesResult& WithCertificates(Aws::Vector&& value) { SetCertificates(std::move(value)); return *this;} /** *

The Secure Sockets Layer (SSL) certificates associated with the replication * instance.

*/ inline DescribeCertificatesResult& AddCertificates(const Certificate& value) { m_certificates.push_back(value); return *this; } /** *

The Secure Sockets Layer (SSL) certificates associated with the replication * instance.

*/ inline DescribeCertificatesResult& AddCertificates(Certificate&& value) { m_certificates.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeCertificatesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCertificatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCertificatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_marker; Aws::Vector m_certificates; Aws::String m_requestId; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws