AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeDBLogFilesDetails.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetLogFileName() const{ return m_logFileName; }
47 
51  inline bool LogFileNameHasBeenSet() const { return m_logFileNameHasBeenSet; }
52 
56  inline void SetLogFileName(const Aws::String& value) { m_logFileNameHasBeenSet = true; m_logFileName = value; }
57 
61  inline void SetLogFileName(Aws::String&& value) { m_logFileNameHasBeenSet = true; m_logFileName = std::move(value); }
62 
66  inline void SetLogFileName(const char* value) { m_logFileNameHasBeenSet = true; m_logFileName.assign(value); }
67 
71  inline DescribeDBLogFilesDetails& WithLogFileName(const Aws::String& value) { SetLogFileName(value); return *this;}
72 
76  inline DescribeDBLogFilesDetails& WithLogFileName(Aws::String&& value) { SetLogFileName(std::move(value)); return *this;}
77 
81  inline DescribeDBLogFilesDetails& WithLogFileName(const char* value) { SetLogFileName(value); return *this;}
82 
83 
87  inline long long GetLastWritten() const{ return m_lastWritten; }
88 
92  inline bool LastWrittenHasBeenSet() const { return m_lastWrittenHasBeenSet; }
93 
97  inline void SetLastWritten(long long value) { m_lastWrittenHasBeenSet = true; m_lastWritten = value; }
98 
102  inline DescribeDBLogFilesDetails& WithLastWritten(long long value) { SetLastWritten(value); return *this;}
103 
104 
108  inline long long GetSize() const{ return m_size; }
109 
113  inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
114 
118  inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
119 
123  inline DescribeDBLogFilesDetails& WithSize(long long value) { SetSize(value); return *this;}
124 
125  private:
126 
127  Aws::String m_logFileName;
128  bool m_logFileNameHasBeenSet;
129 
130  long long m_lastWritten;
131  bool m_lastWrittenHasBeenSet;
132 
133  long long m_size;
134  bool m_sizeHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace RDS
139 } // namespace Aws
Aws::RDS::Model::DescribeDBLogFilesDetails::SetLogFileName
void SetLogFileName(const char *value)
Definition: DescribeDBLogFilesDetails.h:66
Aws::RDS::Model::DescribeDBLogFilesDetails::WithLogFileName
DescribeDBLogFilesDetails & WithLogFileName(const Aws::String &value)
Definition: DescribeDBLogFilesDetails.h:71
Aws::RDS::Model::DescribeDBLogFilesDetails::LastWrittenHasBeenSet
bool LastWrittenHasBeenSet() const
Definition: DescribeDBLogFilesDetails.h:92
Aws::RDS::Model::DescribeDBLogFilesDetails::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::DescribeDBLogFilesDetails::DescribeDBLogFilesDetails
DescribeDBLogFilesDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DescribeDBLogFilesDetails::SetLogFileName
void SetLogFileName(const Aws::String &value)
Definition: DescribeDBLogFilesDetails.h:56
Aws::RDS::Model::DescribeDBLogFilesDetails::GetLogFileName
const Aws::String & GetLogFileName() const
Definition: DescribeDBLogFilesDetails.h:46
Aws::RDS::Model::DescribeDBLogFilesDetails::WithLastWritten
DescribeDBLogFilesDetails & WithLastWritten(long long value)
Definition: DescribeDBLogFilesDetails.h:102
Aws::RDS::Model::DescribeDBLogFilesDetails::SetLastWritten
void SetLastWritten(long long value)
Definition: DescribeDBLogFilesDetails.h:97
Aws::RDS::Model::DescribeDBLogFilesDetails::LogFileNameHasBeenSet
bool LogFileNameHasBeenSet() const
Definition: DescribeDBLogFilesDetails.h:51
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBLogFilesDetails::WithLogFileName
DescribeDBLogFilesDetails & WithLogFileName(const char *value)
Definition: DescribeDBLogFilesDetails.h:81
Aws::RDS::Model::DescribeDBLogFilesDetails
Definition: DescribeDBLogFilesDetails.h:33
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DescribeDBLogFilesDetails::DescribeDBLogFilesDetails
DescribeDBLogFilesDetails()
Aws::RDS::Model::DescribeDBLogFilesDetails::WithSize
DescribeDBLogFilesDetails & WithSize(long long value)
Definition: DescribeDBLogFilesDetails.h:123
AWSString.h
Aws::RDS::Model::DescribeDBLogFilesDetails::GetSize
long long GetSize() const
Definition: DescribeDBLogFilesDetails.h:108
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBLogFilesDetails::WithLogFileName
DescribeDBLogFilesDetails & WithLogFileName(Aws::String &&value)
Definition: DescribeDBLogFilesDetails.h:76
Aws::RDS::Model::DescribeDBLogFilesDetails::GetLastWritten
long long GetLastWritten() const
Definition: DescribeDBLogFilesDetails.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DescribeDBLogFilesDetails::SizeHasBeenSet
bool SizeHasBeenSet() const
Definition: DescribeDBLogFilesDetails.h:113
Aws::RDS::Model::DescribeDBLogFilesDetails::SetSize
void SetSize(long long value)
Definition: DescribeDBLogFilesDetails.h:118
Aws::RDS::Model::DescribeDBLogFilesDetails::operator=
DescribeDBLogFilesDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DescribeDBLogFilesDetails::SetLogFileName
void SetLogFileName(Aws::String &&value)
Definition: DescribeDBLogFilesDetails.h:61
Aws::RDS::Model::DescribeDBLogFilesDetails::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const