AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PendingCloudwatchLogsExports.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
38 {
39 public:
40 AWS_NEPTUNE_API PendingCloudwatchLogsExports() = default;
43
44 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
53 inline const Aws::Vector<Aws::String>& GetLogTypesToEnable() const { return m_logTypesToEnable; }
54 inline bool LogTypesToEnableHasBeenSet() const { return m_logTypesToEnableHasBeenSet; }
55 template<typename LogTypesToEnableT = Aws::Vector<Aws::String>>
56 void SetLogTypesToEnable(LogTypesToEnableT&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = std::forward<LogTypesToEnableT>(value); }
57 template<typename LogTypesToEnableT = Aws::Vector<Aws::String>>
58 PendingCloudwatchLogsExports& WithLogTypesToEnable(LogTypesToEnableT&& value) { SetLogTypesToEnable(std::forward<LogTypesToEnableT>(value)); return *this;}
59 template<typename LogTypesToEnableT = Aws::String>
60 PendingCloudwatchLogsExports& AddLogTypesToEnable(LogTypesToEnableT&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.emplace_back(std::forward<LogTypesToEnableT>(value)); return *this; }
62
64
68 inline const Aws::Vector<Aws::String>& GetLogTypesToDisable() const { return m_logTypesToDisable; }
69 inline bool LogTypesToDisableHasBeenSet() const { return m_logTypesToDisableHasBeenSet; }
70 template<typename LogTypesToDisableT = Aws::Vector<Aws::String>>
71 void SetLogTypesToDisable(LogTypesToDisableT&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = std::forward<LogTypesToDisableT>(value); }
72 template<typename LogTypesToDisableT = Aws::Vector<Aws::String>>
73 PendingCloudwatchLogsExports& WithLogTypesToDisable(LogTypesToDisableT&& value) { SetLogTypesToDisable(std::forward<LogTypesToDisableT>(value)); return *this;}
74 template<typename LogTypesToDisableT = Aws::String>
75 PendingCloudwatchLogsExports& AddLogTypesToDisable(LogTypesToDisableT&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.emplace_back(std::forward<LogTypesToDisableT>(value)); return *this; }
77 private:
78
79 Aws::Vector<Aws::String> m_logTypesToEnable;
80 bool m_logTypesToEnableHasBeenSet = false;
81
82 Aws::Vector<Aws::String> m_logTypesToDisable;
83 bool m_logTypesToDisableHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Neptune
88} // 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