AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBLogFilesRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace 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_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
50 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
51 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
52 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
53 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
54 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
57 inline DescribeDBLogFilesRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
59
61
65 inline const Aws::String& GetFilenameContains() const{ return m_filenameContains; }
66 inline bool FilenameContainsHasBeenSet() const { return m_filenameContainsHasBeenSet; }
67 inline void SetFilenameContains(const Aws::String& value) { m_filenameContainsHasBeenSet = true; m_filenameContains = value; }
68 inline void SetFilenameContains(Aws::String&& value) { m_filenameContainsHasBeenSet = true; m_filenameContains = std::move(value); }
69 inline void SetFilenameContains(const char* value) { m_filenameContainsHasBeenSet = true; m_filenameContains.assign(value); }
71 inline DescribeDBLogFilesRequest& WithFilenameContains(Aws::String&& value) { SetFilenameContains(std::move(value)); return *this;}
72 inline DescribeDBLogFilesRequest& WithFilenameContains(const char* value) { SetFilenameContains(value); return *this;}
74
76
80 inline long long GetFileLastWritten() const{ return m_fileLastWritten; }
81 inline bool FileLastWrittenHasBeenSet() const { return m_fileLastWrittenHasBeenSet; }
82 inline void SetFileLastWritten(long long value) { m_fileLastWrittenHasBeenSet = true; m_fileLastWritten = value; }
83 inline DescribeDBLogFilesRequest& WithFileLastWritten(long long value) { SetFileLastWritten(value); return *this;}
85
87
90 inline long long GetFileSize() const{ return m_fileSize; }
91 inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; }
92 inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; }
93 inline DescribeDBLogFilesRequest& WithFileSize(long long value) { SetFileSize(value); return *this;}
95
97
100 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
101 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
102 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
103 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
104 inline DescribeDBLogFilesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
105 inline DescribeDBLogFilesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
106 inline DescribeDBLogFilesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
107 inline DescribeDBLogFilesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
109
111
116 inline int GetMaxRecords() const{ return m_maxRecords; }
117 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
118 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
119 inline DescribeDBLogFilesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
121
123
128 inline const Aws::String& GetMarker() const{ return m_marker; }
129 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
130 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
131 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
132 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
133 inline DescribeDBLogFilesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
134 inline DescribeDBLogFilesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
135 inline DescribeDBLogFilesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
137 private:
138
139 Aws::String m_dBInstanceIdentifier;
140 bool m_dBInstanceIdentifierHasBeenSet = false;
141
142 Aws::String m_filenameContains;
143 bool m_filenameContainsHasBeenSet = false;
144
145 long long m_fileLastWritten;
146 bool m_fileLastWrittenHasBeenSet = false;
147
148 long long m_fileSize;
149 bool m_fileSizeHasBeenSet = false;
150
151 Aws::Vector<Filter> m_filters;
152 bool m_filtersHasBeenSet = false;
153
154 int m_maxRecords;
155 bool m_maxRecordsHasBeenSet = false;
156
157 Aws::String m_marker;
158 bool m_markerHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace RDS
163} // namespace Aws
DescribeDBLogFilesRequest & WithMarker(const char *value)
DescribeDBLogFilesRequest & WithFilenameContains(const char *value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBLogFilesRequest & WithDBInstanceIdentifier(const char *value)
const Aws::Vector< Filter > & GetFilters() const
DescribeDBLogFilesRequest & WithFilenameContains(const Aws::String &value)
DescribeDBLogFilesRequest & WithMarker(Aws::String &&value)
DescribeDBLogFilesRequest & WithMaxRecords(int value)
DescribeDBLogFilesRequest & WithFileLastWritten(long long value)
void SetFilters(Aws::Vector< Filter > &&value)
DescribeDBLogFilesRequest & WithDBInstanceIdentifier(const Aws::String &value)
DescribeDBLogFilesRequest & WithFileSize(long long value)
void SetDBInstanceIdentifier(const Aws::String &value)
DescribeDBLogFilesRequest & WithFilters(const Aws::Vector< Filter > &value)
AWS_RDS_API Aws::String SerializePayload() const override
DescribeDBLogFilesRequest & WithFilenameContains(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeDBLogFilesRequest & WithDBInstanceIdentifier(Aws::String &&value)
DescribeDBLogFilesRequest & WithMarker(const Aws::String &value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBLogFilesRequest & AddFilters(const Filter &value)
DescribeDBLogFilesRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBLogFilesRequest & AddFilters(Filter &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector