AWS SDK for C++  1.9.108
AWS SDK for C++
DownloadDBLogFilePortionRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DownloadDBLogFilePortion"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
47  inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
48 
54  inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
55 
61  inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
62 
68  inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
69 
75  inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
76 
82  inline DownloadDBLogFilePortionRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
83 
89  inline DownloadDBLogFilePortionRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
90 
96  inline DownloadDBLogFilePortionRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
97 
98 
102  inline const Aws::String& GetLogFileName() const{ return m_logFileName; }
103 
107  inline bool LogFileNameHasBeenSet() const { return m_logFileNameHasBeenSet; }
108 
112  inline void SetLogFileName(const Aws::String& value) { m_logFileNameHasBeenSet = true; m_logFileName = value; }
113 
117  inline void SetLogFileName(Aws::String&& value) { m_logFileNameHasBeenSet = true; m_logFileName = std::move(value); }
118 
122  inline void SetLogFileName(const char* value) { m_logFileNameHasBeenSet = true; m_logFileName.assign(value); }
123 
127  inline DownloadDBLogFilePortionRequest& WithLogFileName(const Aws::String& value) { SetLogFileName(value); return *this;}
128 
132  inline DownloadDBLogFilePortionRequest& WithLogFileName(Aws::String&& value) { SetLogFileName(std::move(value)); return *this;}
133 
137  inline DownloadDBLogFilePortionRequest& WithLogFileName(const char* value) { SetLogFileName(value); return *this;}
138 
139 
145  inline const Aws::String& GetMarker() const{ return m_marker; }
146 
152  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
153 
159  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
160 
166  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
167 
173  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
174 
180  inline DownloadDBLogFilePortionRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
181 
187  inline DownloadDBLogFilePortionRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
188 
194  inline DownloadDBLogFilePortionRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
195 
196 
215  inline int GetNumberOfLines() const{ return m_numberOfLines; }
216 
235  inline bool NumberOfLinesHasBeenSet() const { return m_numberOfLinesHasBeenSet; }
236 
255  inline void SetNumberOfLines(int value) { m_numberOfLinesHasBeenSet = true; m_numberOfLines = value; }
256 
275  inline DownloadDBLogFilePortionRequest& WithNumberOfLines(int value) { SetNumberOfLines(value); return *this;}
276 
277  private:
278 
279  Aws::String m_dBInstanceIdentifier;
280  bool m_dBInstanceIdentifierHasBeenSet;
281 
282  Aws::String m_logFileName;
283  bool m_logFileNameHasBeenSet;
284 
285  Aws::String m_marker;
286  bool m_markerHasBeenSet;
287 
288  int m_numberOfLines;
289  bool m_numberOfLinesHasBeenSet;
290  };
291 
292 } // namespace Model
293 } // namespace RDS
294 } // namespace Aws
Aws::RDS::Model::DownloadDBLogFilePortionRequest::DownloadDBLogFilePortionRequest
DownloadDBLogFilePortionRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DownloadDBLogFilePortionRequest
Definition: DownloadDBLogFilePortionRequest.h:25
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DownloadDBLogFilePortionRequest.h:166
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetLogFileName
void SetLogFileName(const char *value)
Definition: DownloadDBLogFilePortionRequest.h:122
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(Aws::String &&value)
Definition: DownloadDBLogFilePortionRequest.h:68
Aws::RDS::Model::DownloadDBLogFilePortionRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithMarker
DownloadDBLogFilePortionRequest & WithMarker(const Aws::String &value)
Definition: DownloadDBLogFilePortionRequest.h:180
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DownloadDBLogFilePortionRequest.h:159
Aws::RDS::Model::DownloadDBLogFilePortionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DownloadDBLogFilePortionRequest.h:33
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetLogFileName
void SetLogFileName(const Aws::String &value)
Definition: DownloadDBLogFilePortionRequest.h:112
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithLogFileName
DownloadDBLogFilePortionRequest & WithLogFileName(Aws::String &&value)
Definition: DownloadDBLogFilePortionRequest.h:132
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithLogFileName
DownloadDBLogFilePortionRequest & WithLogFileName(const char *value)
Definition: DownloadDBLogFilePortionRequest.h:137
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithDBInstanceIdentifier
DownloadDBLogFilePortionRequest & WithDBInstanceIdentifier(const char *value)
Definition: DownloadDBLogFilePortionRequest.h:96
RDS_EXPORTS.h
Aws::RDS::Model::DownloadDBLogFilePortionRequest::DBInstanceIdentifierHasBeenSet
bool DBInstanceIdentifierHasBeenSet() const
Definition: DownloadDBLogFilePortionRequest.h:54
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithDBInstanceIdentifier
DownloadDBLogFilePortionRequest & WithDBInstanceIdentifier(const Aws::String &value)
Definition: DownloadDBLogFilePortionRequest.h:82
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetNumberOfLines
void SetNumberOfLines(int value)
Definition: DownloadDBLogFilePortionRequest.h:255
Aws::RDS::Model::DownloadDBLogFilePortionRequest::GetDBInstanceIdentifier
const Aws::String & GetDBInstanceIdentifier() const
Definition: DownloadDBLogFilePortionRequest.h:47
AWSString.h
Aws::RDS::Model::DownloadDBLogFilePortionRequest::GetLogFileName
const Aws::String & GetLogFileName() const
Definition: DownloadDBLogFilePortionRequest.h:102
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithLogFileName
DownloadDBLogFilePortionRequest & WithLogFileName(const Aws::String &value)
Definition: DownloadDBLogFilePortionRequest.h:127
Aws::RDS::Model::DownloadDBLogFilePortionRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DownloadDBLogFilePortionRequest.h:145
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetLogFileName
void SetLogFileName(Aws::String &&value)
Definition: DownloadDBLogFilePortionRequest.h:117
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const char *value)
Definition: DownloadDBLogFilePortionRequest.h:75
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithNumberOfLines
DownloadDBLogFilePortionRequest & WithNumberOfLines(int value)
Definition: DownloadDBLogFilePortionRequest.h:275
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DownloadDBLogFilePortionRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DownloadDBLogFilePortionRequest.h:152
Aws::RDS::Model::DownloadDBLogFilePortionRequest::LogFileNameHasBeenSet
bool LogFileNameHasBeenSet() const
Definition: DownloadDBLogFilePortionRequest.h:107
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithMarker
DownloadDBLogFilePortionRequest & WithMarker(const char *value)
Definition: DownloadDBLogFilePortionRequest.h:194
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const Aws::String &value)
Definition: DownloadDBLogFilePortionRequest.h:61
Aws::RDS::Model::DownloadDBLogFilePortionRequest::SetMarker
void SetMarker(const char *value)
Definition: DownloadDBLogFilePortionRequest.h:173
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithMarker
DownloadDBLogFilePortionRequest & WithMarker(Aws::String &&value)
Definition: DownloadDBLogFilePortionRequest.h:187
Aws::RDS::Model::DownloadDBLogFilePortionRequest::WithDBInstanceIdentifier
DownloadDBLogFilePortionRequest & WithDBInstanceIdentifier(Aws::String &&value)
Definition: DownloadDBLogFilePortionRequest.h:89
Aws::RDS::Model::DownloadDBLogFilePortionRequest::NumberOfLinesHasBeenSet
bool NumberOfLinesHasBeenSet() const
Definition: DownloadDBLogFilePortionRequest.h:235
Aws::RDS::Model::DownloadDBLogFilePortionRequest::GetNumberOfLines
int GetNumberOfLines() const
Definition: DownloadDBLogFilePortionRequest.h:215