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/docdb/DocDB_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 DocDB
23{
24namespace Model
25{
26
38 {
39 public:
43
44 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::Vector<Aws::String>& GetEnableLogTypes() const{ return m_enableLogTypes; }
53 inline bool EnableLogTypesHasBeenSet() const { return m_enableLogTypesHasBeenSet; }
54 inline void SetEnableLogTypes(const Aws::Vector<Aws::String>& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes = value; }
55 inline void SetEnableLogTypes(Aws::Vector<Aws::String>&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes = std::move(value); }
58 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const Aws::String& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; }
59 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(Aws::String&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(std::move(value)); return *this; }
60 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const char* value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; }
62
64
67 inline const Aws::Vector<Aws::String>& GetDisableLogTypes() const{ return m_disableLogTypes; }
68 inline bool DisableLogTypesHasBeenSet() const { return m_disableLogTypesHasBeenSet; }
69 inline void SetDisableLogTypes(const Aws::Vector<Aws::String>& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes = value; }
70 inline void SetDisableLogTypes(Aws::Vector<Aws::String>&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes = std::move(value); }
73 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const Aws::String& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; }
74 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(Aws::String&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(std::move(value)); return *this; }
75 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const char* value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; }
77 private:
78
79 Aws::Vector<Aws::String> m_enableLogTypes;
80 bool m_enableLogTypesHasBeenSet = false;
81
82 Aws::Vector<Aws::String> m_disableLogTypes;
83 bool m_disableLogTypesHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DocDB
88} // namespace Aws
CloudwatchLogsExportConfiguration & AddEnableLogTypes(const char *value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetEnableLogTypes(const Aws::Vector< Aws::String > &value)
void SetDisableLogTypes(const Aws::Vector< Aws::String > &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CloudwatchLogsExportConfiguration & AddDisableLogTypes(Aws::String &&value)
CloudwatchLogsExportConfiguration & WithEnableLogTypes(const Aws::Vector< Aws::String > &value)
CloudwatchLogsExportConfiguration & WithEnableLogTypes(Aws::Vector< Aws::String > &&value)
CloudwatchLogsExportConfiguration & WithDisableLogTypes(const Aws::Vector< Aws::String > &value)
CloudwatchLogsExportConfiguration & AddEnableLogTypes(const Aws::String &value)
CloudwatchLogsExportConfiguration & AddDisableLogTypes(const Aws::String &value)
CloudwatchLogsExportConfiguration & AddEnableLogTypes(Aws::String &&value)
AWS_DOCDB_API CloudwatchLogsExportConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudwatchLogsExportConfiguration & AddDisableLogTypes(const char *value)
AWS_DOCDB_API CloudwatchLogsExportConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudwatchLogsExportConfiguration & WithDisableLogTypes(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