AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PendingCloudwatchLogsExports.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/RDS_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace RDS {
21namespace Model {
22
31 public:
32 AWS_RDS_API PendingCloudwatchLogsExports() = default;
35
36 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
44 inline const Aws::Vector<Aws::String>& GetLogTypesToEnable() const { return m_logTypesToEnable; }
45 inline bool LogTypesToEnableHasBeenSet() const { return m_logTypesToEnableHasBeenSet; }
46 template <typename LogTypesToEnableT = Aws::Vector<Aws::String>>
47 void SetLogTypesToEnable(LogTypesToEnableT&& value) {
48 m_logTypesToEnableHasBeenSet = true;
49 m_logTypesToEnable = std::forward<LogTypesToEnableT>(value);
50 }
51 template <typename LogTypesToEnableT = Aws::Vector<Aws::String>>
53 SetLogTypesToEnable(std::forward<LogTypesToEnableT>(value));
54 return *this;
55 }
56 template <typename LogTypesToEnableT = Aws::String>
58 m_logTypesToEnableHasBeenSet = true;
59 m_logTypesToEnable.emplace_back(std::forward<LogTypesToEnableT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::Vector<Aws::String>& GetLogTypesToDisable() const { return m_logTypesToDisable; }
70 inline bool LogTypesToDisableHasBeenSet() const { return m_logTypesToDisableHasBeenSet; }
71 template <typename LogTypesToDisableT = Aws::Vector<Aws::String>>
72 void SetLogTypesToDisable(LogTypesToDisableT&& value) {
73 m_logTypesToDisableHasBeenSet = true;
74 m_logTypesToDisable = std::forward<LogTypesToDisableT>(value);
75 }
76 template <typename LogTypesToDisableT = Aws::Vector<Aws::String>>
78 SetLogTypesToDisable(std::forward<LogTypesToDisableT>(value));
79 return *this;
80 }
81 template <typename LogTypesToDisableT = Aws::String>
83 m_logTypesToDisableHasBeenSet = true;
84 m_logTypesToDisable.emplace_back(std::forward<LogTypesToDisableT>(value));
85 return *this;
86 }
88 private:
89 Aws::Vector<Aws::String> m_logTypesToEnable;
90
91 Aws::Vector<Aws::String> m_logTypesToDisable;
92 bool m_logTypesToEnableHasBeenSet = false;
93 bool m_logTypesToDisableHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace RDS
98} // namespace Aws
const Aws::Vector< Aws::String > & GetLogTypesToEnable() const
AWS_RDS_API PendingCloudwatchLogsExports(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Aws::String > & GetLogTypesToDisable() const
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
PendingCloudwatchLogsExports & WithLogTypesToDisable(LogTypesToDisableT &&value)
PendingCloudwatchLogsExports & WithLogTypesToEnable(LogTypesToEnableT &&value)
PendingCloudwatchLogsExports & AddLogTypesToDisable(LogTypesToDisableT &&value)
PendingCloudwatchLogsExports & AddLogTypesToEnable(LogTypesToEnableT &&value)
AWS_RDS_API PendingCloudwatchLogsExports()=default
AWS_RDS_API PendingCloudwatchLogsExports & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream