AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LogConfigurationForChannel.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediatailor/model/LogType.h>
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 MediaTailor
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIATAILOR_API LogConfigurationForChannel();
38 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<LogType>& GetLogTypes() const{ return m_logTypes; }
46 inline bool LogTypesHasBeenSet() const { return m_logTypesHasBeenSet; }
47 inline void SetLogTypes(const Aws::Vector<LogType>& value) { m_logTypesHasBeenSet = true; m_logTypes = value; }
48 inline void SetLogTypes(Aws::Vector<LogType>&& value) { m_logTypesHasBeenSet = true; m_logTypes = std::move(value); }
49 inline LogConfigurationForChannel& WithLogTypes(const Aws::Vector<LogType>& value) { SetLogTypes(value); return *this;}
50 inline LogConfigurationForChannel& WithLogTypes(Aws::Vector<LogType>&& value) { SetLogTypes(std::move(value)); return *this;}
51 inline LogConfigurationForChannel& AddLogTypes(const LogType& value) { m_logTypesHasBeenSet = true; m_logTypes.push_back(value); return *this; }
52 inline LogConfigurationForChannel& AddLogTypes(LogType&& value) { m_logTypesHasBeenSet = true; m_logTypes.push_back(std::move(value)); return *this; }
54 private:
55
56 Aws::Vector<LogType> m_logTypes;
57 bool m_logTypesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace MediaTailor
62} // namespace Aws
LogConfigurationForChannel & WithLogTypes(const Aws::Vector< LogType > &value)
LogConfigurationForChannel & AddLogTypes(const LogType &value)
AWS_MEDIATAILOR_API LogConfigurationForChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
LogConfigurationForChannel & AddLogTypes(LogType &&value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
LogConfigurationForChannel & WithLogTypes(Aws::Vector< LogType > &&value)
AWS_MEDIATAILOR_API LogConfigurationForChannel(Aws::Utils::Json::JsonView jsonValue)
void SetLogTypes(const Aws::Vector< LogType > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue