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/docdb/DocDB_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 DocDB
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_DOCDB_API PendingCloudwatchLogsExports() = default;
40
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::Vector<Aws::String>& GetLogTypesToEnable() const { return m_logTypesToEnable; }
51 inline bool LogTypesToEnableHasBeenSet() const { return m_logTypesToEnableHasBeenSet; }
52 template<typename LogTypesToEnableT = Aws::Vector<Aws::String>>
53 void SetLogTypesToEnable(LogTypesToEnableT&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable = std::forward<LogTypesToEnableT>(value); }
54 template<typename LogTypesToEnableT = Aws::Vector<Aws::String>>
55 PendingCloudwatchLogsExports& WithLogTypesToEnable(LogTypesToEnableT&& value) { SetLogTypesToEnable(std::forward<LogTypesToEnableT>(value)); return *this;}
56 template<typename LogTypesToEnableT = Aws::String>
57 PendingCloudwatchLogsExports& AddLogTypesToEnable(LogTypesToEnableT&& value) { m_logTypesToEnableHasBeenSet = true; m_logTypesToEnable.emplace_back(std::forward<LogTypesToEnableT>(value)); return *this; }
59
61
65 inline const Aws::Vector<Aws::String>& GetLogTypesToDisable() const { return m_logTypesToDisable; }
66 inline bool LogTypesToDisableHasBeenSet() const { return m_logTypesToDisableHasBeenSet; }
67 template<typename LogTypesToDisableT = Aws::Vector<Aws::String>>
68 void SetLogTypesToDisable(LogTypesToDisableT&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable = std::forward<LogTypesToDisableT>(value); }
69 template<typename LogTypesToDisableT = Aws::Vector<Aws::String>>
70 PendingCloudwatchLogsExports& WithLogTypesToDisable(LogTypesToDisableT&& value) { SetLogTypesToDisable(std::forward<LogTypesToDisableT>(value)); return *this;}
71 template<typename LogTypesToDisableT = Aws::String>
72 PendingCloudwatchLogsExports& AddLogTypesToDisable(LogTypesToDisableT&& value) { m_logTypesToDisableHasBeenSet = true; m_logTypesToDisable.emplace_back(std::forward<LogTypesToDisableT>(value)); return *this; }
74 private:
75
76 Aws::Vector<Aws::String> m_logTypesToEnable;
77 bool m_logTypesToEnableHasBeenSet = false;
78
79 Aws::Vector<Aws::String> m_logTypesToDisable;
80 bool m_logTypesToDisableHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace DocDB
85} // namespace Aws
AWS_DOCDB_API PendingCloudwatchLogsExports(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingCloudwatchLogsExports & WithLogTypesToDisable(LogTypesToDisableT &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_DOCDB_API PendingCloudwatchLogsExports & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingCloudwatchLogsExports & AddLogTypesToEnable(LogTypesToEnableT &&value)
PendingCloudwatchLogsExports & WithLogTypesToEnable(LogTypesToEnableT &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< Aws::String > & GetLogTypesToDisable() const
AWS_DOCDB_API PendingCloudwatchLogsExports()=default
PendingCloudwatchLogsExports & AddLogTypesToDisable(LogTypesToDisableT &&value)
const Aws::Vector< Aws::String > & GetLogTypesToEnable() const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream