AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Logging.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eks/model/LogSetup.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 EKS
23{
24namespace Model
25{
26
33 class Logging
34 {
35 public:
36 AWS_EKS_API Logging() = default;
37 AWS_EKS_API Logging(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::Vector<LogSetup>& GetClusterLogging() const { return m_clusterLogging; }
47 inline bool ClusterLoggingHasBeenSet() const { return m_clusterLoggingHasBeenSet; }
48 template<typename ClusterLoggingT = Aws::Vector<LogSetup>>
49 void SetClusterLogging(ClusterLoggingT&& value) { m_clusterLoggingHasBeenSet = true; m_clusterLogging = std::forward<ClusterLoggingT>(value); }
50 template<typename ClusterLoggingT = Aws::Vector<LogSetup>>
51 Logging& WithClusterLogging(ClusterLoggingT&& value) { SetClusterLogging(std::forward<ClusterLoggingT>(value)); return *this;}
52 template<typename ClusterLoggingT = LogSetup>
53 Logging& AddClusterLogging(ClusterLoggingT&& value) { m_clusterLoggingHasBeenSet = true; m_clusterLogging.emplace_back(std::forward<ClusterLoggingT>(value)); return *this; }
55 private:
56
57 Aws::Vector<LogSetup> m_clusterLogging;
58 bool m_clusterLoggingHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace EKS
63} // 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:46
void SetClusterLogging(ClusterLoggingT &&value)
Definition Logging.h:49
bool ClusterLoggingHasBeenSet() const
Definition Logging.h:47
Logging & WithClusterLogging(ClusterLoggingT &&value)
Definition Logging.h:51
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