AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
PendingCloudwatchLogsExports.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
34 public:
35 AWS_NEPTUNE_API PendingCloudwatchLogsExports() = default;
38
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
43
47 inline const Aws::Vector<Aws::String>& GetLogTypesToEnable() const { return m_logTypesToEnable; }
48 inline bool LogTypesToEnableHasBeenSet() const { return m_logTypesToEnableHasBeenSet; }
49 template <typename LogTypesToEnableT = Aws::Vector<Aws::String>>
50 void SetLogTypesToEnable(LogTypesToEnableT&& value) {
51 m_logTypesToEnableHasBeenSet = true;
52 m_logTypesToEnable = std::forward<LogTypesToEnableT>(value);
53 }
54 template <typename LogTypesToEnableT = Aws::Vector<Aws::String>>
56 SetLogTypesToEnable(std::forward<LogTypesToEnableT>(value));
57 return *this;
58 }
59 template <typename LogTypesToEnableT = Aws::String>
61 m_logTypesToEnableHasBeenSet = true;
62 m_logTypesToEnable.emplace_back(std::forward<LogTypesToEnableT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::Vector<Aws::String>& GetLogTypesToDisable() const { return m_logTypesToDisable; }
73 inline bool LogTypesToDisableHasBeenSet() const { return m_logTypesToDisableHasBeenSet; }
74 template <typename LogTypesToDisableT = Aws::Vector<Aws::String>>
75 void SetLogTypesToDisable(LogTypesToDisableT&& value) {
76 m_logTypesToDisableHasBeenSet = true;
77 m_logTypesToDisable = std::forward<LogTypesToDisableT>(value);
78 }
79 template <typename LogTypesToDisableT = Aws::Vector<Aws::String>>
81 SetLogTypesToDisable(std::forward<LogTypesToDisableT>(value));
82 return *this;
83 }
84 template <typename LogTypesToDisableT = Aws::String>
86 m_logTypesToDisableHasBeenSet = true;
87 m_logTypesToDisable.emplace_back(std::forward<LogTypesToDisableT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<Aws::String> m_logTypesToEnable;
93 bool m_logTypesToEnableHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_logTypesToDisable;
96 bool m_logTypesToDisableHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Neptune
101} // namespace Aws
PendingCloudwatchLogsExports & WithLogTypesToEnable(LogTypesToEnableT &&value)
const Aws::Vector< Aws::String > & GetLogTypesToEnable() const
const Aws::Vector< Aws::String > & GetLogTypesToDisable() const
PendingCloudwatchLogsExports & AddLogTypesToEnable(LogTypesToEnableT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingCloudwatchLogsExports & AddLogTypesToDisable(LogTypesToDisableT &&value)
AWS_NEPTUNE_API PendingCloudwatchLogsExports(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API PendingCloudwatchLogsExports()=default
AWS_NEPTUNE_API PendingCloudwatchLogsExports & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingCloudwatchLogsExports & WithLogTypesToDisable(LogTypesToDisableT &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream