AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
ExportDestination.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/S3ExportDestination.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
30 public:
31 AWS_SECURITYHUB_API ExportDestination() = default;
32 AWS_SECURITYHUB_API ExportDestination(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const S3ExportDestination& GetS3() const { return m_s3; }
43 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
44 template <typename S3T = S3ExportDestination>
45 void SetS3(S3T&& value) {
46 m_s3HasBeenSet = true;
47 m_s3 = std::forward<S3T>(value);
48 }
49 template <typename S3T = S3ExportDestination>
50 ExportDestination& WithS3(S3T&& value) {
51 SetS3(std::forward<S3T>(value));
52 return *this;
53 }
55 private:
57 bool m_s3HasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace SecurityHub
62} // namespace Aws
AWS_SECURITYHUB_API ExportDestination()=default
AWS_SECURITYHUB_API ExportDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ExportDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportDestination & WithS3(S3T &&value)
const S3ExportDestination & GetS3() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue