AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeDBLogFilesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DescribeDBLogFiles"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
49  inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
50 
56  inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
57 
63  inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
64 
70  inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
71 
77  inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
78 
84  inline DescribeDBLogFilesRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
85 
91  inline DescribeDBLogFilesRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
92 
98  inline DescribeDBLogFilesRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
99 
100 
105  inline const Aws::String& GetFilenameContains() const{ return m_filenameContains; }
106 
111  inline bool FilenameContainsHasBeenSet() const { return m_filenameContainsHasBeenSet; }
112 
117  inline void SetFilenameContains(const Aws::String& value) { m_filenameContainsHasBeenSet = true; m_filenameContains = value; }
118 
123  inline void SetFilenameContains(Aws::String&& value) { m_filenameContainsHasBeenSet = true; m_filenameContains = std::move(value); }
124 
129  inline void SetFilenameContains(const char* value) { m_filenameContainsHasBeenSet = true; m_filenameContains.assign(value); }
130 
135  inline DescribeDBLogFilesRequest& WithFilenameContains(const Aws::String& value) { SetFilenameContains(value); return *this;}
136 
141  inline DescribeDBLogFilesRequest& WithFilenameContains(Aws::String&& value) { SetFilenameContains(std::move(value)); return *this;}
142 
147  inline DescribeDBLogFilesRequest& WithFilenameContains(const char* value) { SetFilenameContains(value); return *this;}
148 
149 
154  inline long long GetFileLastWritten() const{ return m_fileLastWritten; }
155 
160  inline bool FileLastWrittenHasBeenSet() const { return m_fileLastWrittenHasBeenSet; }
161 
166  inline void SetFileLastWritten(long long value) { m_fileLastWrittenHasBeenSet = true; m_fileLastWritten = value; }
167 
172  inline DescribeDBLogFilesRequest& WithFileLastWritten(long long value) { SetFileLastWritten(value); return *this;}
173 
174 
178  inline long long GetFileSize() const{ return m_fileSize; }
179 
183  inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; }
184 
188  inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; }
189 
193  inline DescribeDBLogFilesRequest& WithFileSize(long long value) { SetFileSize(value); return *this;}
194 
195 
199  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
200 
204  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
205 
209  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
210 
214  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
215 
219  inline DescribeDBLogFilesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
220 
224  inline DescribeDBLogFilesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
225 
229  inline DescribeDBLogFilesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
230 
234  inline DescribeDBLogFilesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
235 
236 
242  inline int GetMaxRecords() const{ return m_maxRecords; }
243 
249  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
250 
256  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
257 
263  inline DescribeDBLogFilesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
264 
265 
271  inline const Aws::String& GetMarker() const{ return m_marker; }
272 
278  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
279 
285  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
286 
292  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
293 
299  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
300 
306  inline DescribeDBLogFilesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
307 
313  inline DescribeDBLogFilesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
314 
320  inline DescribeDBLogFilesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
321 
322  private:
323 
324  Aws::String m_dBInstanceIdentifier;
325  bool m_dBInstanceIdentifierHasBeenSet;
326 
327  Aws::String m_filenameContains;
328  bool m_filenameContainsHasBeenSet;
329 
330  long long m_fileLastWritten;
331  bool m_fileLastWrittenHasBeenSet;
332 
333  long long m_fileSize;
334  bool m_fileSizeHasBeenSet;
335 
336  Aws::Vector<Filter> m_filters;
337  bool m_filtersHasBeenSet;
338 
339  int m_maxRecords;
340  bool m_maxRecordsHasBeenSet;
341 
342  Aws::String m_marker;
343  bool m_markerHasBeenSet;
344  };
345 
346 } // namespace Model
347 } // namespace RDS
348 } // namespace Aws
void SetFilters(const Aws::Vector< Filter > &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
DescribeDBLogFilesRequest & AddFilters(const Filter &value)
DescribeDBLogFilesRequest & AddFilters(Filter &&value)
DescribeDBLogFilesRequest & WithFilters(const Aws::Vector< Filter > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeDBLogFilesRequest & WithMaxRecords(int value)
DescribeDBLogFilesRequest & WithFilenameContains(Aws::String &&value)
DescribeDBLogFilesRequest & WithFilters(Aws::Vector< Filter > &&value)
void SetDBInstanceIdentifier(const Aws::String &value)
const Aws::Vector< Filter > & GetFilters() const
virtual const char * GetServiceRequestName() const override
void SetFilters(Aws::Vector< Filter > &&value)
DescribeDBLogFilesRequest & WithMarker(const char *value)
DescribeDBLogFilesRequest & WithDBInstanceIdentifier(Aws::String &&value)
DescribeDBLogFilesRequest & WithMarker(Aws::String &&value)
DescribeDBLogFilesRequest & WithDBInstanceIdentifier(const Aws::String &value)
DescribeDBLogFilesRequest & WithFilenameContains(const Aws::String &value)
DescribeDBLogFilesRequest & WithDBInstanceIdentifier(const char *value)
DescribeDBLogFilesRequest & WithMarker(const Aws::String &value)
DescribeDBLogFilesRequest & WithFileSize(long long value)
DescribeDBLogFilesRequest & WithFileLastWritten(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDBLogFilesRequest & WithFilenameContains(const char *value)