AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Logging.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/eks/EKS_EXPORTS.h>
9#include <aws/eks/model/LogSetup.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EKS {
21namespace Model {
22
29class Logging {
30 public:
31 AWS_EKS_API Logging() = default;
32 AWS_EKS_API Logging(Aws::Utils::Json::JsonView jsonValue);
35
37
40 inline const Aws::Vector<LogSetup>& GetClusterLogging() const { return m_clusterLogging; }
41 inline bool ClusterLoggingHasBeenSet() const { return m_clusterLoggingHasBeenSet; }
42 template <typename ClusterLoggingT = Aws::Vector<LogSetup>>
43 void SetClusterLogging(ClusterLoggingT&& value) {
44 m_clusterLoggingHasBeenSet = true;
45 m_clusterLogging = std::forward<ClusterLoggingT>(value);
46 }
47 template <typename ClusterLoggingT = Aws::Vector<LogSetup>>
48 Logging& WithClusterLogging(ClusterLoggingT&& value) {
49 SetClusterLogging(std::forward<ClusterLoggingT>(value));
50 return *this;
51 }
52 template <typename ClusterLoggingT = LogSetup>
53 Logging& AddClusterLogging(ClusterLoggingT&& value) {
54 m_clusterLoggingHasBeenSet = true;
55 m_clusterLogging.emplace_back(std::forward<ClusterLoggingT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<LogSetup> m_clusterLogging;
61 bool m_clusterLoggingHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace EKS
66} // namespace Aws
Logging & AddClusterLogging(ClusterLoggingT &&value)
Definition Logging.h:53
AWS_EKS_API Logging()=default
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< LogSetup > & GetClusterLogging() const
Definition Logging.h:40
void SetClusterLogging(ClusterLoggingT &&value)
Definition Logging.h:43
bool ClusterLoggingHasBeenSet() const
Definition Logging.h:41
Logging & WithClusterLogging(ClusterLoggingT &&value)
Definition Logging.h:48
AWS_EKS_API Logging(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Logging & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue