AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Logging.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/S3Logs.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
28class Logging {
29 public:
30 AWS_IMAGEBUILDER_API Logging() = default;
31 AWS_IMAGEBUILDER_API Logging(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IMAGEBUILDER_API Logging& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const S3Logs& GetS3Logs() const { return m_s3Logs; }
40 inline bool S3LogsHasBeenSet() const { return m_s3LogsHasBeenSet; }
41 template <typename S3LogsT = S3Logs>
42 void SetS3Logs(S3LogsT&& value) {
43 m_s3LogsHasBeenSet = true;
44 m_s3Logs = std::forward<S3LogsT>(value);
45 }
46 template <typename S3LogsT = S3Logs>
47 Logging& WithS3Logs(S3LogsT&& value) {
48 SetS3Logs(std::forward<S3LogsT>(value));
49 return *this;
50 }
52 private:
53 S3Logs m_s3Logs;
54 bool m_s3LogsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace imagebuilder
59} // namespace Aws
AWS_IMAGEBUILDER_API Logging()=default
AWS_IMAGEBUILDER_API Logging & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
Logging & WithS3Logs(S3LogsT &&value)
Definition Logging.h:47
AWS_IMAGEBUILDER_API Logging(Aws::Utils::Json::JsonView jsonValue)
void SetS3Logs(S3LogsT &&value)
Definition Logging.h:42
const S3Logs & GetS3Logs() const
Definition Logging.h:39
Aws::Utils::Json::JsonValue JsonValue