AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDBLogFilesDetails.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_RDS_API DescribeDBLogFilesDetails() = default;
38
39 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetLogFileName() const { return m_logFileName; }
48 inline bool LogFileNameHasBeenSet() const { return m_logFileNameHasBeenSet; }
49 template<typename LogFileNameT = Aws::String>
50 void SetLogFileName(LogFileNameT&& value) { m_logFileNameHasBeenSet = true; m_logFileName = std::forward<LogFileNameT>(value); }
51 template<typename LogFileNameT = Aws::String>
52 DescribeDBLogFilesDetails& WithLogFileName(LogFileNameT&& value) { SetLogFileName(std::forward<LogFileNameT>(value)); return *this;}
54
56
59 inline long long GetLastWritten() const { return m_lastWritten; }
60 inline bool LastWrittenHasBeenSet() const { return m_lastWrittenHasBeenSet; }
61 inline void SetLastWritten(long long value) { m_lastWrittenHasBeenSet = true; m_lastWritten = value; }
62 inline DescribeDBLogFilesDetails& WithLastWritten(long long value) { SetLastWritten(value); return *this;}
64
66
69 inline long long GetSize() const { return m_size; }
70 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
71 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
72 inline DescribeDBLogFilesDetails& WithSize(long long value) { SetSize(value); return *this;}
74 private:
75
76 Aws::String m_logFileName;
77 bool m_logFileNameHasBeenSet = false;
78
79 long long m_lastWritten{0};
80 bool m_lastWrittenHasBeenSet = false;
81
82 long long m_size{0};
83 bool m_sizeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace RDS
88} // namespace Aws
AWS_RDS_API DescribeDBLogFilesDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API DescribeDBLogFilesDetails()=default
DescribeDBLogFilesDetails & WithSize(long long value)
DescribeDBLogFilesDetails & WithLogFileName(LogFileNameT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API DescribeDBLogFilesDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DescribeDBLogFilesDetails & WithLastWritten(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream