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/ReplicationInstanceTaskLog.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 DescribeReplicationInstanceTaskLogsResult
30   {
31   public:
32     DescribeReplicationInstanceTaskLogsResult();
33     DescribeReplicationInstanceTaskLogsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34     DescribeReplicationInstanceTaskLogsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35 
36 
37     /**
38      * <p>The Amazon Resource Name (ARN) of the replication instance.</p>
39      */
GetReplicationInstanceArn()40     inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; }
41 
42     /**
43      * <p>The Amazon Resource Name (ARN) of the replication instance.</p>
44      */
SetReplicationInstanceArn(const Aws::String & value)45     inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArn = value; }
46 
47     /**
48      * <p>The Amazon Resource Name (ARN) of the replication instance.</p>
49      */
SetReplicationInstanceArn(Aws::String && value)50     inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArn = std::move(value); }
51 
52     /**
53      * <p>The Amazon Resource Name (ARN) of the replication instance.</p>
54      */
SetReplicationInstanceArn(const char * value)55     inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArn.assign(value); }
56 
57     /**
58      * <p>The Amazon Resource Name (ARN) of the replication instance.</p>
59      */
WithReplicationInstanceArn(const Aws::String & value)60     inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceArn(const Aws::String& value) { SetReplicationInstanceArn(value); return *this;}
61 
62     /**
63      * <p>The Amazon Resource Name (ARN) of the replication instance.</p>
64      */
WithReplicationInstanceArn(Aws::String && value)65     inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceArn(Aws::String&& value) { SetReplicationInstanceArn(std::move(value)); return *this;}
66 
67     /**
68      * <p>The Amazon Resource Name (ARN) of the replication instance.</p>
69      */
WithReplicationInstanceArn(const char * value)70     inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceArn(const char* value) { SetReplicationInstanceArn(value); return *this;}
71 
72 
73     /**
74      * <p>An array of replication task log metadata. Each member of the array contains
75      * the replication task name, ARN, and task log size (in bytes). </p>
76      */
GetReplicationInstanceTaskLogs()77     inline const Aws::Vector<ReplicationInstanceTaskLog>& GetReplicationInstanceTaskLogs() const{ return m_replicationInstanceTaskLogs; }
78 
79     /**
80      * <p>An array of replication task log metadata. Each member of the array contains
81      * the replication task name, ARN, and task log size (in bytes). </p>
82      */
SetReplicationInstanceTaskLogs(const Aws::Vector<ReplicationInstanceTaskLog> & value)83     inline void SetReplicationInstanceTaskLogs(const Aws::Vector<ReplicationInstanceTaskLog>& value) { m_replicationInstanceTaskLogs = value; }
84 
85     /**
86      * <p>An array of replication task log metadata. Each member of the array contains
87      * the replication task name, ARN, and task log size (in bytes). </p>
88      */
SetReplicationInstanceTaskLogs(Aws::Vector<ReplicationInstanceTaskLog> && value)89     inline void SetReplicationInstanceTaskLogs(Aws::Vector<ReplicationInstanceTaskLog>&& value) { m_replicationInstanceTaskLogs = std::move(value); }
90 
91     /**
92      * <p>An array of replication task log metadata. Each member of the array contains
93      * the replication task name, ARN, and task log size (in bytes). </p>
94      */
WithReplicationInstanceTaskLogs(const Aws::Vector<ReplicationInstanceTaskLog> & value)95     inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceTaskLogs(const Aws::Vector<ReplicationInstanceTaskLog>& value) { SetReplicationInstanceTaskLogs(value); return *this;}
96 
97     /**
98      * <p>An array of replication task log metadata. Each member of the array contains
99      * the replication task name, ARN, and task log size (in bytes). </p>
100      */
WithReplicationInstanceTaskLogs(Aws::Vector<ReplicationInstanceTaskLog> && value)101     inline DescribeReplicationInstanceTaskLogsResult& WithReplicationInstanceTaskLogs(Aws::Vector<ReplicationInstanceTaskLog>&& value) { SetReplicationInstanceTaskLogs(std::move(value)); return *this;}
102 
103     /**
104      * <p>An array of replication task log metadata. Each member of the array contains
105      * the replication task name, ARN, and task log size (in bytes). </p>
106      */
AddReplicationInstanceTaskLogs(const ReplicationInstanceTaskLog & value)107     inline DescribeReplicationInstanceTaskLogsResult& AddReplicationInstanceTaskLogs(const ReplicationInstanceTaskLog& value) { m_replicationInstanceTaskLogs.push_back(value); return *this; }
108 
109     /**
110      * <p>An array of replication task log metadata. Each member of the array contains
111      * the replication task name, ARN, and task log size (in bytes). </p>
112      */
AddReplicationInstanceTaskLogs(ReplicationInstanceTaskLog && value)113     inline DescribeReplicationInstanceTaskLogsResult& AddReplicationInstanceTaskLogs(ReplicationInstanceTaskLog&& value) { m_replicationInstanceTaskLogs.push_back(std::move(value)); return *this; }
114 
115 
116     /**
117      * <p> An optional pagination token provided by a previous request. If this
118      * parameter is specified, the response includes only records beyond the marker, up
119      * to the value specified by <code>MaxRecords</code>.</p>
120      */
GetMarker()121     inline const Aws::String& GetMarker() const{ return m_marker; }
122 
123     /**
124      * <p> An optional pagination token provided by a previous request. If this
125      * parameter is specified, the response includes only records beyond the marker, up
126      * to the value specified by <code>MaxRecords</code>.</p>
127      */
SetMarker(const Aws::String & value)128     inline void SetMarker(const Aws::String& value) { m_marker = value; }
129 
130     /**
131      * <p> An optional pagination token provided by a previous request. If this
132      * parameter is specified, the response includes only records beyond the marker, up
133      * to the value specified by <code>MaxRecords</code>.</p>
134      */
SetMarker(Aws::String && value)135     inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
136 
137     /**
138      * <p> An optional pagination token provided by a previous request. If this
139      * parameter is specified, the response includes only records beyond the marker, up
140      * to the value specified by <code>MaxRecords</code>.</p>
141      */
SetMarker(const char * value)142     inline void SetMarker(const char* value) { m_marker.assign(value); }
143 
144     /**
145      * <p> An optional pagination token provided by a previous request. If this
146      * parameter is specified, the response includes only records beyond the marker, up
147      * to the value specified by <code>MaxRecords</code>.</p>
148      */
WithMarker(const Aws::String & value)149     inline DescribeReplicationInstanceTaskLogsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
150 
151     /**
152      * <p> An optional pagination token provided by a previous request. If this
153      * parameter is specified, the response includes only records beyond the marker, up
154      * to the value specified by <code>MaxRecords</code>.</p>
155      */
WithMarker(Aws::String && value)156     inline DescribeReplicationInstanceTaskLogsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
157 
158     /**
159      * <p> An optional pagination token provided by a previous request. If this
160      * parameter is specified, the response includes only records beyond the marker, up
161      * to the value specified by <code>MaxRecords</code>.</p>
162      */
WithMarker(const char * value)163     inline DescribeReplicationInstanceTaskLogsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
164 
165   private:
166 
167     Aws::String m_replicationInstanceArn;
168 
169     Aws::Vector<ReplicationInstanceTaskLog> m_replicationInstanceTaskLogs;
170 
171     Aws::String m_marker;
172   };
173 
174 } // namespace Model
175 } // namespace DatabaseMigrationService
176 } // namespace Aws
177