AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetLogTypesToEnable(const Aws::Vector<Aws::String>& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = value; }
56 inline void SetLogTypesToEnable(Aws::Vector<Aws::String>&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = std::move(value); }
59 inline PendingCloudwatchLogsExports& AddLogTypesToEnable(const Aws::String& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(value); return *this; }
60 inline PendingCloudwatchLogsExports& AddLogTypesToEnable(Aws::String&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(std::move(value)); return *this; }
61 inline PendingCloudwatchLogsExports& AddLogTypesToEnable(const char* value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.push_back(value); return *this; }
63
65
69 inline const Aws::Vector<Aws::String>& GetLogTypesToDisable() const{ return m_logTypesToDisable; }
70 inline bool LogTypesToDisableHasBeenSet() const { return m_logTypesToDisableHasBeenSet; }
71 inline void SetLogTypesToDisable(const Aws::Vector<Aws::String>& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = value; }
72 inline void SetLogTypesToDisable(Aws::Vector<Aws::String>&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = std::move(value); }
75 inline PendingCloudwatchLogsExports& AddLogTypesToDisable(const Aws::String& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(value); return *this; }
76 inline PendingCloudwatchLogsExports& AddLogTypesToDisable(Aws::String&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(std::move(value)); return *this; }
77 inline PendingCloudwatchLogsExports& AddLogTypesToDisable(const char* value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.push_back(value); return *this; }
79 private:
80
81 Aws::Vector<Aws::String> m_logTypesToEnable;
82 bool m_logTypesToEnableHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_logTypesToDisable;
85 bool m_logTypesToDisableHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Neptune
90} // namespace Aws
PendingCloudwatchLogsExports & AddLogTypesToEnable(const Aws::String &value)
PendingCloudwatchLogsExports & AddLogTypesToDisable(const char *value)
PendingCloudwatchLogsExports & AddLogTypesToDisable(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLogTypesToEnable() const
PendingCloudwatchLogsExports & WithLogTypesToDisable(const Aws::Vector< Aws::String > &value)
void SetLogTypesToDisable(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetLogTypesToDisable() const
PendingCloudwatchLogsExports & AddLogTypesToEnable(const char *value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLogTypesToEnable(Aws::Vector< Aws::String > &&value)
PendingCloudwatchLogsExports & WithLogTypesToEnable(const Aws::Vector< Aws::String > &value)
void SetLogTypesToDisable(const Aws::Vector< Aws::String > &value)
void SetLogTypesToEnable(const Aws::Vector< Aws::String > &value)
AWS_NEPTUNE_API PendingCloudwatchLogsExports(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingCloudwatchLogsExports & AddLogTypesToEnable(Aws::String &&value)
AWS_NEPTUNE_API PendingCloudwatchLogsExports & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingCloudwatchLogsExports & AddLogTypesToDisable(Aws::String &&value)
PendingCloudwatchLogsExports & WithLogTypesToDisable(Aws::Vector< Aws::String > &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingCloudwatchLogsExports & WithLogTypesToEnable(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