AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
CloudwatchLogsExportConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Neptune {
21namespace Model {
22
36 public:
37 AWS_NEPTUNE_API CloudwatchLogsExportConfiguration() = default;
40
41 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
45
48 inline const Aws::Vector<Aws::String>& GetEnableLogTypes() const { return m_enableLogTypes; }
49 inline bool EnableLogTypesHasBeenSet() const { return m_enableLogTypesHasBeenSet; }
50 template <typename EnableLogTypesT = Aws::Vector<Aws::String>>
51 void SetEnableLogTypes(EnableLogTypesT&& value) {
52 m_enableLogTypesHasBeenSet = true;
53 m_enableLogTypes = std::forward<EnableLogTypesT>(value);
54 }
55 template <typename EnableLogTypesT = Aws::Vector<Aws::String>>
57 SetEnableLogTypes(std::forward<EnableLogTypesT>(value));
58 return *this;
59 }
60 template <typename EnableLogTypesT = Aws::String>
62 m_enableLogTypesHasBeenSet = true;
63 m_enableLogTypes.emplace_back(std::forward<EnableLogTypesT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Vector<Aws::String>& GetDisableLogTypes() const { return m_disableLogTypes; }
73 inline bool DisableLogTypesHasBeenSet() const { return m_disableLogTypesHasBeenSet; }
74 template <typename DisableLogTypesT = Aws::Vector<Aws::String>>
75 void SetDisableLogTypes(DisableLogTypesT&& value) {
76 m_disableLogTypesHasBeenSet = true;
77 m_disableLogTypes = std::forward<DisableLogTypesT>(value);
78 }
79 template <typename DisableLogTypesT = Aws::Vector<Aws::String>>
81 SetDisableLogTypes(std::forward<DisableLogTypesT>(value));
82 return *this;
83 }
84 template <typename DisableLogTypesT = Aws::String>
86 m_disableLogTypesHasBeenSet = true;
87 m_disableLogTypes.emplace_back(std::forward<DisableLogTypesT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<Aws::String> m_enableLogTypes;
93 bool m_enableLogTypesHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_disableLogTypes;
96 bool m_disableLogTypesHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Neptune
101} // namespace Aws
AWS_NEPTUNE_API CloudwatchLogsExportConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudwatchLogsExportConfiguration & AddDisableLogTypes(DisableLogTypesT &&value)
CloudwatchLogsExportConfiguration & WithEnableLogTypes(EnableLogTypesT &&value)
CloudwatchLogsExportConfiguration & WithDisableLogTypes(DisableLogTypesT &&value)
AWS_NEPTUNE_API CloudwatchLogsExportConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudwatchLogsExportConfiguration & AddEnableLogTypes(EnableLogTypesT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream