AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
LogConfiguration.h
1
6#pragma once
7#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
8#include <aws/workspaces-web/model/S3LogConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WorkSpacesWeb {
20namespace Model {
21
28 public:
29 AWS_WORKSPACESWEB_API LogConfiguration() = default;
30 AWS_WORKSPACESWEB_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue);
31 AWS_WORKSPACESWEB_API LogConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const S3LogConfiguration& GetS3() const { return m_s3; }
39 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
40 template <typename S3T = S3LogConfiguration>
41 void SetS3(S3T&& value) {
42 m_s3HasBeenSet = true;
43 m_s3 = std::forward<S3T>(value);
44 }
45 template <typename S3T = S3LogConfiguration>
46 LogConfiguration& WithS3(S3T&& value) {
47 SetS3(std::forward<S3T>(value));
48 return *this;
49 }
51 private:
53 bool m_s3HasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace WorkSpacesWeb
58} // namespace Aws
AWS_WORKSPACESWEB_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESWEB_API LogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3LogConfiguration & GetS3() const
LogConfiguration & WithS3(S3T &&value)
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKSPACESWEB_API LogConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue