AWS SDK for C++  1.9.108
AWS SDK for C++
CloudwatchLogsExportConfiguration.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 
45  {
46  public:
50 
51  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
52  void OutputToStream(Aws::OStream& oStream, const char* location) const;
53 
54 
58  inline const Aws::Vector<Aws::String>& GetEnableLogTypes() const{ return m_enableLogTypes; }
59 
63  inline bool EnableLogTypesHasBeenSet() const { return m_enableLogTypesHasBeenSet; }
64 
68  inline void SetEnableLogTypes(const Aws::Vector<Aws::String>& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes = value; }
69 
73  inline void SetEnableLogTypes(Aws::Vector<Aws::String>&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes = std::move(value); }
74 
78  inline CloudwatchLogsExportConfiguration& WithEnableLogTypes(const Aws::Vector<Aws::String>& value) { SetEnableLogTypes(value); return *this;}
79 
83  inline CloudwatchLogsExportConfiguration& WithEnableLogTypes(Aws::Vector<Aws::String>&& value) { SetEnableLogTypes(std::move(value)); return *this;}
84 
88  inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const Aws::String& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; }
89 
93  inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(Aws::String&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(std::move(value)); return *this; }
94 
98  inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const char* value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; }
99 
100 
104  inline const Aws::Vector<Aws::String>& GetDisableLogTypes() const{ return m_disableLogTypes; }
105 
109  inline bool DisableLogTypesHasBeenSet() const { return m_disableLogTypesHasBeenSet; }
110 
114  inline void SetDisableLogTypes(const Aws::Vector<Aws::String>& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes = value; }
115 
119  inline void SetDisableLogTypes(Aws::Vector<Aws::String>&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes = std::move(value); }
120 
124  inline CloudwatchLogsExportConfiguration& WithDisableLogTypes(const Aws::Vector<Aws::String>& value) { SetDisableLogTypes(value); return *this;}
125 
129  inline CloudwatchLogsExportConfiguration& WithDisableLogTypes(Aws::Vector<Aws::String>&& value) { SetDisableLogTypes(std::move(value)); return *this;}
130 
134  inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const Aws::String& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; }
135 
139  inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(Aws::String&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(std::move(value)); return *this; }
140 
144  inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const char* value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; }
145 
146  private:
147 
148  Aws::Vector<Aws::String> m_enableLogTypes;
149  bool m_enableLogTypesHasBeenSet;
150 
151  Aws::Vector<Aws::String> m_disableLogTypes;
152  bool m_disableLogTypesHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace RDS
157 } // namespace Aws
Aws::RDS::Model::CloudwatchLogsExportConfiguration::SetDisableLogTypes
void SetDisableLogTypes(const Aws::Vector< Aws::String > &value)
Definition: CloudwatchLogsExportConfiguration.h:114
Aws::RDS::Model::CloudwatchLogsExportConfiguration::AddDisableLogTypes
CloudwatchLogsExportConfiguration & AddDisableLogTypes(const Aws::String &value)
Definition: CloudwatchLogsExportConfiguration.h:134
Aws::RDS::Model::CloudwatchLogsExportConfiguration::DisableLogTypesHasBeenSet
bool DisableLogTypesHasBeenSet() const
Definition: CloudwatchLogsExportConfiguration.h:109
Aws::RDS::Model::CloudwatchLogsExportConfiguration::operator=
CloudwatchLogsExportConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::CloudwatchLogsExportConfiguration::AddDisableLogTypes
CloudwatchLogsExportConfiguration & AddDisableLogTypes(const char *value)
Definition: CloudwatchLogsExportConfiguration.h:144
Aws::RDS::Model::CloudwatchLogsExportConfiguration::CloudwatchLogsExportConfiguration
CloudwatchLogsExportConfiguration()
Aws::RDS::Model::CloudwatchLogsExportConfiguration::CloudwatchLogsExportConfiguration
CloudwatchLogsExportConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::CloudwatchLogsExportConfiguration::AddEnableLogTypes
CloudwatchLogsExportConfiguration & AddEnableLogTypes(Aws::String &&value)
Definition: CloudwatchLogsExportConfiguration.h:93
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::CloudwatchLogsExportConfiguration::GetEnableLogTypes
const Aws::Vector< Aws::String > & GetEnableLogTypes() const
Definition: CloudwatchLogsExportConfiguration.h:58
AWSStreamFwd.h
Aws::RDS::Model::CloudwatchLogsExportConfiguration::SetEnableLogTypes
void SetEnableLogTypes(const Aws::Vector< Aws::String > &value)
Definition: CloudwatchLogsExportConfiguration.h:68
Aws::RDS::Model::CloudwatchLogsExportConfiguration::AddDisableLogTypes
CloudwatchLogsExportConfiguration & AddDisableLogTypes(Aws::String &&value)
Definition: CloudwatchLogsExportConfiguration.h:139
Aws::RDS::Model::CloudwatchLogsExportConfiguration::WithDisableLogTypes
CloudwatchLogsExportConfiguration & WithDisableLogTypes(Aws::Vector< Aws::String > &&value)
Definition: CloudwatchLogsExportConfiguration.h:129
AWSVector.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::CloudwatchLogsExportConfiguration
Definition: CloudwatchLogsExportConfiguration.h:45
Aws::RDS::Model::CloudwatchLogsExportConfiguration::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::CloudwatchLogsExportConfiguration::WithEnableLogTypes
CloudwatchLogsExportConfiguration & WithEnableLogTypes(Aws::Vector< Aws::String > &&value)
Definition: CloudwatchLogsExportConfiguration.h:83
Aws::RDS::Model::CloudwatchLogsExportConfiguration::SetEnableLogTypes
void SetEnableLogTypes(Aws::Vector< Aws::String > &&value)
Definition: CloudwatchLogsExportConfiguration.h:73
AWSString.h
Aws::RDS::Model::CloudwatchLogsExportConfiguration::EnableLogTypesHasBeenSet
bool EnableLogTypesHasBeenSet() const
Definition: CloudwatchLogsExportConfiguration.h:63
Aws::RDS::Model::CloudwatchLogsExportConfiguration::WithEnableLogTypes
CloudwatchLogsExportConfiguration & WithEnableLogTypes(const Aws::Vector< Aws::String > &value)
Definition: CloudwatchLogsExportConfiguration.h:78
Aws::RDS::Model::CloudwatchLogsExportConfiguration::WithDisableLogTypes
CloudwatchLogsExportConfiguration & WithDisableLogTypes(const Aws::Vector< Aws::String > &value)
Definition: CloudwatchLogsExportConfiguration.h:124
Aws::RDS::Model::CloudwatchLogsExportConfiguration::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::CloudwatchLogsExportConfiguration::SetDisableLogTypes
void SetDisableLogTypes(Aws::Vector< Aws::String > &&value)
Definition: CloudwatchLogsExportConfiguration.h:119
Aws::RDS::Model::CloudwatchLogsExportConfiguration::GetDisableLogTypes
const Aws::Vector< Aws::String > & GetDisableLogTypes() const
Definition: CloudwatchLogsExportConfiguration.h:104
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CloudwatchLogsExportConfiguration::AddEnableLogTypes
CloudwatchLogsExportConfiguration & AddEnableLogTypes(const char *value)
Definition: CloudwatchLogsExportConfiguration.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::CloudwatchLogsExportConfiguration::AddEnableLogTypes
CloudwatchLogsExportConfiguration & AddEnableLogTypes(const Aws::String &value)
Definition: CloudwatchLogsExportConfiguration.h:88