AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingCloudwatchLogsExports.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace RDS
23{
24namespace Model
25{
26
35 {
36 public:
40
41 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::Vector<Aws::String>& GetLogTypesToEnable() const{ return m_logTypesToEnable; }
51 inline bool LogTypesToEnableHasBeenSet() const { return m_logTypesToEnableHasBeenSet; }
52 inline void SetLogTypesToEnable(const Aws::Vector<Aws::String>& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = value; }
53 inline void SetLogTypesToEnable(Aws::Vector<Aws::String>&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = std::move(value); }
56 inline PendingCloudwatchLogsExports& AddLogTypesToEnable(const Aws::String& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(value); return *this; }
57 inline PendingCloudwatchLogsExports& AddLogTypesToEnable(Aws::String&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(std::move(value)); return *this; }
58 inline PendingCloudwatchLogsExports& AddLogTypesToEnable(const char* value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(value); return *this; }
60
62
66 inline const Aws::Vector<Aws::String>& GetLogTypesToDisable() const{ return m_logTypesToDisable; }
67 inline bool LogTypesToDisableHasBeenSet() const { return m_logTypesToDisableHasBeenSet; }
68 inline void SetLogTypesToDisable(const Aws::Vector<Aws::String>& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = value; }
69 inline void SetLogTypesToDisable(Aws::Vector<Aws::String>&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = std::move(value); }
72 inline PendingCloudwatchLogsExports& AddLogTypesToDisable(const Aws::String& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(value); return *this; }
73 inline PendingCloudwatchLogsExports& AddLogTypesToDisable(Aws::String&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(std::move(value)); return *this; }
74 inline PendingCloudwatchLogsExports& AddLogTypesToDisable(const char* value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(value); return *this; }
76 private:
77
78 Aws::Vector<Aws::String> m_logTypesToEnable;
79 bool m_logTypesToEnableHasBeenSet = false;
80
81 Aws::Vector<Aws::String> m_logTypesToDisable;
82 bool m_logTypesToDisableHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace RDS
87} // namespace Aws
PendingCloudwatchLogsExports & AddLogTypesToDisable(const Aws::String &value)
PendingCloudwatchLogsExports & AddLogTypesToEnable(const char *value)
PendingCloudwatchLogsExports & WithLogTypesToDisable(Aws::Vector< Aws::String > &&value)
void SetLogTypesToDisable(Aws::Vector< Aws::String > &&value)
PendingCloudwatchLogsExports & AddLogTypesToDisable(const char *value)
const Aws::Vector< Aws::String > & GetLogTypesToEnable() const
void SetLogTypesToDisable(const Aws::Vector< Aws::String > &value)
AWS_RDS_API PendingCloudwatchLogsExports(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingCloudwatchLogsExports & WithLogTypesToDisable(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLogTypesToDisable() const
PendingCloudwatchLogsExports & WithLogTypesToEnable(Aws::Vector< Aws::String > &&value)
void SetLogTypesToEnable(const Aws::Vector< Aws::String > &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
PendingCloudwatchLogsExports & AddLogTypesToDisable(Aws::String &&value)
PendingCloudwatchLogsExports & AddLogTypesToEnable(const Aws::String &value)
void SetLogTypesToEnable(Aws::Vector< Aws::String > &&value)
PendingCloudwatchLogsExports & WithLogTypesToEnable(const Aws::Vector< Aws::String > &value)
PendingCloudwatchLogsExports & AddLogTypesToEnable(Aws::String &&value)
AWS_RDS_API PendingCloudwatchLogsExports & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream