AWS SDK for C++  1.9.109
AWS SDK for C++
PendingCloudwatchLogsExports.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace RDS
23 {
24 namespace Model
25 {
26 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
49  inline const Aws::Vector<Aws::String>& GetLogTypesToEnable() const{ return m_logTypesToEnable; }
50 
55  inline bool LogTypesToEnableHasBeenSet() const { return m_logTypesToEnableHasBeenSet; }
56 
61  inline void SetLogTypesToEnable(const Aws::Vector<Aws::String>& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = value; }
62 
67  inline void SetLogTypesToEnable(Aws::Vector<Aws::String>&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = std::move(value); }
68 
73  inline PendingCloudwatchLogsExports& WithLogTypesToEnable(const Aws::Vector<Aws::String>& value) { SetLogTypesToEnable(value); return *this;}
74 
79  inline PendingCloudwatchLogsExports& WithLogTypesToEnable(Aws::Vector<Aws::String>&& value) { SetLogTypesToEnable(std::move(value)); return *this;}
80 
85  inline PendingCloudwatchLogsExports& AddLogTypesToEnable(const Aws::String& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(value); return *this; }
86 
91  inline PendingCloudwatchLogsExports& AddLogTypesToEnable(Aws::String&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(std::move(value)); return *this; }
92 
97  inline PendingCloudwatchLogsExports& AddLogTypesToEnable(const char* value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(value); return *this; }
98 
99 
104  inline const Aws::Vector<Aws::String>& GetLogTypesToDisable() const{ return m_logTypesToDisable; }
105 
110  inline bool LogTypesToDisableHasBeenSet() const { return m_logTypesToDisableHasBeenSet; }
111 
116  inline void SetLogTypesToDisable(const Aws::Vector<Aws::String>& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = value; }
117 
122  inline void SetLogTypesToDisable(Aws::Vector<Aws::String>&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = std::move(value); }
123 
128  inline PendingCloudwatchLogsExports& WithLogTypesToDisable(const Aws::Vector<Aws::String>& value) { SetLogTypesToDisable(value); return *this;}
129 
134  inline PendingCloudwatchLogsExports& WithLogTypesToDisable(Aws::Vector<Aws::String>&& value) { SetLogTypesToDisable(std::move(value)); return *this;}
135 
140  inline PendingCloudwatchLogsExports& AddLogTypesToDisable(const Aws::String& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(value); return *this; }
141 
146  inline PendingCloudwatchLogsExports& AddLogTypesToDisable(Aws::String&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(std::move(value)); return *this; }
147 
152  inline PendingCloudwatchLogsExports& AddLogTypesToDisable(const char* value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(value); return *this; }
153 
154  private:
155 
156  Aws::Vector<Aws::String> m_logTypesToEnable;
157  bool m_logTypesToEnableHasBeenSet;
158 
159  Aws::Vector<Aws::String> m_logTypesToDisable;
160  bool m_logTypesToDisableHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace RDS
165 } // namespace Aws
Aws::RDS::Model::PendingCloudwatchLogsExports::SetLogTypesToEnable
void SetLogTypesToEnable(const Aws::Vector< Aws::String > &value)
Definition: PendingCloudwatchLogsExports.h:61
Aws::RDS::Model::PendingCloudwatchLogsExports::AddLogTypesToEnable
PendingCloudwatchLogsExports & AddLogTypesToEnable(Aws::String &&value)
Definition: PendingCloudwatchLogsExports.h:91
Aws::RDS::Model::PendingCloudwatchLogsExports::AddLogTypesToDisable
PendingCloudwatchLogsExports & AddLogTypesToDisable(Aws::String &&value)
Definition: PendingCloudwatchLogsExports.h:146
Aws::RDS::Model::PendingCloudwatchLogsExports::SetLogTypesToDisable
void SetLogTypesToDisable(Aws::Vector< Aws::String > &&value)
Definition: PendingCloudwatchLogsExports.h:122
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::PendingCloudwatchLogsExports::operator=
PendingCloudwatchLogsExports & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::PendingCloudwatchLogsExports::WithLogTypesToEnable
PendingCloudwatchLogsExports & WithLogTypesToEnable(const Aws::Vector< Aws::String > &value)
Definition: PendingCloudwatchLogsExports.h:73
Aws::RDS::Model::PendingCloudwatchLogsExports::AddLogTypesToEnable
PendingCloudwatchLogsExports & AddLogTypesToEnable(const char *value)
Definition: PendingCloudwatchLogsExports.h:97
AWSStreamFwd.h
Aws::RDS::Model::PendingCloudwatchLogsExports::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSVector.h
Aws::RDS::Model::PendingCloudwatchLogsExports::LogTypesToDisableHasBeenSet
bool LogTypesToDisableHasBeenSet() const
Definition: PendingCloudwatchLogsExports.h:110
Aws::RDS::Model::PendingCloudwatchLogsExports::GetLogTypesToEnable
const Aws::Vector< Aws::String > & GetLogTypesToEnable() const
Definition: PendingCloudwatchLogsExports.h:49
Aws::RDS::Model::PendingCloudwatchLogsExports::GetLogTypesToDisable
const Aws::Vector< Aws::String > & GetLogTypesToDisable() const
Definition: PendingCloudwatchLogsExports.h:104
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::PendingCloudwatchLogsExports
Definition: PendingCloudwatchLogsExports.h:35
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::PendingCloudwatchLogsExports::WithLogTypesToDisable
PendingCloudwatchLogsExports & WithLogTypesToDisable(Aws::Vector< Aws::String > &&value)
Definition: PendingCloudwatchLogsExports.h:134
Aws::RDS::Model::PendingCloudwatchLogsExports::SetLogTypesToEnable
void SetLogTypesToEnable(Aws::Vector< Aws::String > &&value)
Definition: PendingCloudwatchLogsExports.h:67
AWSString.h
Aws::RDS::Model::PendingCloudwatchLogsExports::SetLogTypesToDisable
void SetLogTypesToDisable(const Aws::Vector< Aws::String > &value)
Definition: PendingCloudwatchLogsExports.h:116
Aws::RDS::Model::PendingCloudwatchLogsExports::AddLogTypesToDisable
PendingCloudwatchLogsExports & AddLogTypesToDisable(const Aws::String &value)
Definition: PendingCloudwatchLogsExports.h:140
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::PendingCloudwatchLogsExports::AddLogTypesToEnable
PendingCloudwatchLogsExports & AddLogTypesToEnable(const Aws::String &value)
Definition: PendingCloudwatchLogsExports.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::PendingCloudwatchLogsExports::WithLogTypesToEnable
PendingCloudwatchLogsExports & WithLogTypesToEnable(Aws::Vector< Aws::String > &&value)
Definition: PendingCloudwatchLogsExports.h:79
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::PendingCloudwatchLogsExports::WithLogTypesToDisable
PendingCloudwatchLogsExports & WithLogTypesToDisable(const Aws::Vector< Aws::String > &value)
Definition: PendingCloudwatchLogsExports.h:128
Aws::RDS::Model::PendingCloudwatchLogsExports::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::PendingCloudwatchLogsExports::PendingCloudwatchLogsExports
PendingCloudwatchLogsExports(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::PendingCloudwatchLogsExports::LogTypesToEnableHasBeenSet
bool LogTypesToEnableHasBeenSet() const
Definition: PendingCloudwatchLogsExports.h:55
Aws::RDS::Model::PendingCloudwatchLogsExports::PendingCloudwatchLogsExports
PendingCloudwatchLogsExports()
Aws::RDS::Model::PendingCloudwatchLogsExports::AddLogTypesToDisable
PendingCloudwatchLogsExports & AddLogTypesToDisable(const char *value)
Definition: PendingCloudwatchLogsExports.h:152