AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudwatchLogsExportConfiguration.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
45 {
46 public:
50
51 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
52 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
53
54
56
59 inline const Aws::Vector<Aws::String>& GetEnableLogTypes() const{ return m_enableLogTypes; }
60 inline bool EnableLogTypesHasBeenSet() const { return m_enableLogTypesHasBeenSet; }
61 inline void SetEnableLogTypes(const Aws::Vector<Aws::String>& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes = value; }
62 inline void SetEnableLogTypes(Aws::Vector<Aws::String>&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes = std::move(value); }
65 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const Aws::String& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; }
66 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(Aws::String&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(std::move(value)); return *this; }
67 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const char* value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; }
69
71
74 inline const Aws::Vector<Aws::String>& GetDisableLogTypes() const{ return m_disableLogTypes; }
75 inline bool DisableLogTypesHasBeenSet() const { return m_disableLogTypesHasBeenSet; }
76 inline void SetDisableLogTypes(const Aws::Vector<Aws::String>& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes = value; }
77 inline void SetDisableLogTypes(Aws::Vector<Aws::String>&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes = std::move(value); }
80 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const Aws::String& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; }
81 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(Aws::String&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(std::move(value)); return *this; }
82 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const char* value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; }
84 private:
85
86 Aws::Vector<Aws::String> m_enableLogTypes;
87 bool m_enableLogTypesHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_disableLogTypes;
90 bool m_disableLogTypesHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace RDS
95} // namespace Aws
CloudwatchLogsExportConfiguration & AddEnableLogTypes(const char *value)
CloudwatchLogsExportConfiguration & WithEnableLogTypes(const Aws::Vector< Aws::String > &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CloudwatchLogsExportConfiguration & AddDisableLogTypes(const char *value)
CloudwatchLogsExportConfiguration & AddDisableLogTypes(const Aws::String &value)
void SetDisableLogTypes(const Aws::Vector< Aws::String > &value)
CloudwatchLogsExportConfiguration & WithDisableLogTypes(Aws::Vector< Aws::String > &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CloudwatchLogsExportConfiguration & AddDisableLogTypes(Aws::String &&value)
AWS_RDS_API CloudwatchLogsExportConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API CloudwatchLogsExportConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudwatchLogsExportConfiguration & WithEnableLogTypes(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetDisableLogTypes() const
CloudwatchLogsExportConfiguration & WithDisableLogTypes(const Aws::Vector< Aws::String > &value)
CloudwatchLogsExportConfiguration & AddEnableLogTypes(Aws::String &&value)
CloudwatchLogsExportConfiguration & AddEnableLogTypes(const Aws::String &value)
void SetEnableLogTypes(const Aws::Vector< Aws::String > &value)
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