AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
LoggingConfiguration.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace NetworkFirewall
23{
24namespace Model
25{
26
34 {
35 public:
40
41
46 inline const Aws::Vector<LogDestinationConfig>& GetLogDestinationConfigs() const{ return m_logDestinationConfigs; }
47
52 inline bool LogDestinationConfigsHasBeenSet() const { return m_logDestinationConfigsHasBeenSet; }
53
58 inline void SetLogDestinationConfigs(const Aws::Vector<LogDestinationConfig>& value) { m_logDestinationConfigsHasBeenSet = true; m_logDestinationConfigs = value; }
59
64 inline void SetLogDestinationConfigs(Aws::Vector<LogDestinationConfig>&& value) { m_logDestinationConfigsHasBeenSet = true; m_logDestinationConfigs = std::move(value); }
65
71
77
82 inline LoggingConfiguration& AddLogDestinationConfigs(const LogDestinationConfig& value) { m_logDestinationConfigsHasBeenSet = true; m_logDestinationConfigs.push_back(value); return *this; }
83
88 inline LoggingConfiguration& AddLogDestinationConfigs(LogDestinationConfig&& value) { m_logDestinationConfigsHasBeenSet = true; m_logDestinationConfigs.push_back(std::move(value)); return *this; }
89
90 private:
91
92 Aws::Vector<LogDestinationConfig> m_logDestinationConfigs;
93 bool m_logDestinationConfigsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace NetworkFirewall
98} // namespace Aws
#define AWS_NETWORKFIREWALL_API
LoggingConfiguration & AddLogDestinationConfigs(const LogDestinationConfig &value)
LoggingConfiguration & WithLogDestinationConfigs(Aws::Vector< LogDestinationConfig > &&value)
const Aws::Vector< LogDestinationConfig > & GetLogDestinationConfigs() const
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogDestinationConfigs(Aws::Vector< LogDestinationConfig > &&value)
AWS_NETWORKFIREWALL_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & WithLogDestinationConfigs(const Aws::Vector< LogDestinationConfig > &value)
AWS_NETWORKFIREWALL_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & AddLogDestinationConfigs(LogDestinationConfig &&value)
void SetLogDestinationConfigs(const Aws::Vector< LogDestinationConfig > &value)
std::vector< T, Aws::Allocator< T > > Vector