AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetLogFileName(const Aws::String& value) { m_logFileNameHasBeenSet = true; m_logFileName = value; }
50 inline void SetLogFileName(Aws::String&& value) { m_logFileNameHasBeenSet = true; m_logFileName = std::move(value); }
51 inline void SetLogFileName(const char* value) { m_logFileNameHasBeenSet = true; m_logFileName.assign(value); }
52 inline DescribeDBLogFilesDetails& WithLogFileName(const Aws::String& value) { SetLogFileName(value); return *this;}
53 inline DescribeDBLogFilesDetails& WithLogFileName(Aws::String&& value) { SetLogFileName(std::move(value)); return *this;}
54 inline DescribeDBLogFilesDetails& WithLogFileName(const char* value) { SetLogFileName(value); return *this;}
56
58
61 inline long long GetLastWritten() const{ return m_lastWritten; }
62 inline bool LastWrittenHasBeenSet() const { return m_lastWrittenHasBeenSet; }
63 inline void SetLastWritten(long long value) { m_lastWrittenHasBeenSet = true; m_lastWritten = value; }
64 inline DescribeDBLogFilesDetails& WithLastWritten(long long value) { SetLastWritten(value); return *this;}
66
68
71 inline long long GetSize() const{ return m_size; }
72 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
73 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
74 inline DescribeDBLogFilesDetails& WithSize(long long value) { SetSize(value); return *this;}
76 private:
77
78 Aws::String m_logFileName;
79 bool m_logFileNameHasBeenSet = false;
80
81 long long m_lastWritten;
82 bool m_lastWrittenHasBeenSet = false;
83
84 long long m_size;
85 bool m_sizeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace RDS
90} // namespace Aws
DescribeDBLogFilesDetails & WithLogFileName(Aws::String &&value)
DescribeDBLogFilesDetails & WithLogFileName(const Aws::String &value)
AWS_RDS_API DescribeDBLogFilesDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
DescribeDBLogFilesDetails & WithSize(long long value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DescribeDBLogFilesDetails & WithLogFileName(const char *value)
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