1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <aws/core/utils/memory/stl/AWSVector.h>
10 #include <aws/dms/model/Certificate.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22   class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace DatabaseMigrationService
26 {
27 namespace Model
28 {
29   class AWS_DATABASEMIGRATIONSERVICE_API DescribeCertificatesResult
30   {
31   public:
32     DescribeCertificatesResult();
33     DescribeCertificatesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34     DescribeCertificatesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35 
36 
37     /**
38      * <p>The pagination token.</p>
39      */
GetMarker()40     inline const Aws::String& GetMarker() const{ return m_marker; }
41 
42     /**
43      * <p>The pagination token.</p>
44      */
SetMarker(const Aws::String & value)45     inline void SetMarker(const Aws::String& value) { m_marker = value; }
46 
47     /**
48      * <p>The pagination token.</p>
49      */
SetMarker(Aws::String && value)50     inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
51 
52     /**
53      * <p>The pagination token.</p>
54      */
SetMarker(const char * value)55     inline void SetMarker(const char* value) { m_marker.assign(value); }
56 
57     /**
58      * <p>The pagination token.</p>
59      */
WithMarker(const Aws::String & value)60     inline DescribeCertificatesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
61 
62     /**
63      * <p>The pagination token.</p>
64      */
WithMarker(Aws::String && value)65     inline DescribeCertificatesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
66 
67     /**
68      * <p>The pagination token.</p>
69      */
WithMarker(const char * value)70     inline DescribeCertificatesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
71 
72 
73     /**
74      * <p>The Secure Sockets Layer (SSL) certificates associated with the replication
75      * instance.</p>
76      */
GetCertificates()77     inline const Aws::Vector<Certificate>& GetCertificates() const{ return m_certificates; }
78 
79     /**
80      * <p>The Secure Sockets Layer (SSL) certificates associated with the replication
81      * instance.</p>
82      */
SetCertificates(const Aws::Vector<Certificate> & value)83     inline void SetCertificates(const Aws::Vector<Certificate>& value) { m_certificates = value; }
84 
85     /**
86      * <p>The Secure Sockets Layer (SSL) certificates associated with the replication
87      * instance.</p>
88      */
SetCertificates(Aws::Vector<Certificate> && value)89     inline void SetCertificates(Aws::Vector<Certificate>&& value) { m_certificates = std::move(value); }
90 
91     /**
92      * <p>The Secure Sockets Layer (SSL) certificates associated with the replication
93      * instance.</p>
94      */
WithCertificates(const Aws::Vector<Certificate> & value)95     inline DescribeCertificatesResult& WithCertificates(const Aws::Vector<Certificate>& value) { SetCertificates(value); return *this;}
96 
97     /**
98      * <p>The Secure Sockets Layer (SSL) certificates associated with the replication
99      * instance.</p>
100      */
WithCertificates(Aws::Vector<Certificate> && value)101     inline DescribeCertificatesResult& WithCertificates(Aws::Vector<Certificate>&& value) { SetCertificates(std::move(value)); return *this;}
102 
103     /**
104      * <p>The Secure Sockets Layer (SSL) certificates associated with the replication
105      * instance.</p>
106      */
AddCertificates(const Certificate & value)107     inline DescribeCertificatesResult& AddCertificates(const Certificate& value) { m_certificates.push_back(value); return *this; }
108 
109     /**
110      * <p>The Secure Sockets Layer (SSL) certificates associated with the replication
111      * instance.</p>
112      */
AddCertificates(Certificate && value)113     inline DescribeCertificatesResult& AddCertificates(Certificate&& value) { m_certificates.push_back(std::move(value)); return *this; }
114 
115   private:
116 
117     Aws::String m_marker;
118 
119     Aws::Vector<Certificate> m_certificates;
120   };
121 
122 } // namespace Model
123 } // namespace DatabaseMigrationService
124 } // namespace Aws
125