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/neptune/Neptune_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 Neptune
23{
24namespace Model
25{
26
40 {
41 public:
45
46 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
54 inline const Aws::Vector<Aws::String>& GetEnableLogTypes() const{ return m_enableLogTypes; }
55 inline bool EnableLogTypesHasBeenSet() const { return m_enableLogTypesHasBeenSet; }
56 inline void SetEnableLogTypes(const Aws::Vector<Aws::String>& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes = value; }
57 inline void SetEnableLogTypes(Aws::Vector<Aws::String>&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes = std::move(value); }
60 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const Aws::String& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; }
61 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(Aws::String&& value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(std::move(value)); return *this; }
62 inline CloudwatchLogsExportConfiguration& AddEnableLogTypes(const char* value) { m_enableLogTypesHasBeenSet = true; m_enableLogTypes.push_back(value); return *this; }
64
66
69 inline const Aws::Vector<Aws::String>& GetDisableLogTypes() const{ return m_disableLogTypes; }
70 inline bool DisableLogTypesHasBeenSet() const { return m_disableLogTypesHasBeenSet; }
71 inline void SetDisableLogTypes(const Aws::Vector<Aws::String>& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes = value; }
72 inline void SetDisableLogTypes(Aws::Vector<Aws::String>&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes = std::move(value); }
75 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const Aws::String& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; }
76 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(Aws::String&& value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(std::move(value)); return *this; }
77 inline CloudwatchLogsExportConfiguration& AddDisableLogTypes(const char* value) { m_disableLogTypesHasBeenSet = true; m_disableLogTypes.push_back(value); return *this; }
79 private:
80
81 Aws::Vector<Aws::String> m_enableLogTypes;
82 bool m_enableLogTypesHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_disableLogTypes;
85 bool m_disableLogTypesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Neptune
90} // namespace Aws
CloudwatchLogsExportConfiguration & WithDisableLogTypes(Aws::Vector< Aws::String > &&value)
CloudwatchLogsExportConfiguration & WithEnableLogTypes(const Aws::Vector< Aws::String > &value)
CloudwatchLogsExportConfiguration & AddDisableLogTypes(const Aws::String &value)
AWS_NEPTUNE_API CloudwatchLogsExportConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudwatchLogsExportConfiguration & AddEnableLogTypes(Aws::String &&value)
CloudwatchLogsExportConfiguration & AddEnableLogTypes(const char *value)
CloudwatchLogsExportConfiguration & WithDisableLogTypes(const Aws::Vector< Aws::String > &value)
AWS_NEPTUNE_API CloudwatchLogsExportConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDisableLogTypes(const Aws::Vector< Aws::String > &value)
CloudwatchLogsExportConfiguration & AddEnableLogTypes(const Aws::String &value)
void SetEnableLogTypes(const Aws::Vector< Aws::String > &value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CloudwatchLogsExportConfiguration & WithEnableLogTypes(Aws::Vector< Aws::String > &&value)
CloudwatchLogsExportConfiguration & AddDisableLogTypes(const char *value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CloudwatchLogsExportConfiguration & AddDisableLogTypes(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