AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
S3ExportDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.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 S3ExportDestination() = default;
32 AWS_SECURITYHUB_API S3ExportDestination(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
45 inline const Aws::String& GetBucketArn() const { return m_bucketArn; }
46 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
47 template <typename BucketArnT = Aws::String>
48 void SetBucketArn(BucketArnT&& value) {
49 m_bucketArnHasBeenSet = true;
50 m_bucketArn = std::forward<BucketArnT>(value);
51 }
52 template <typename BucketArnT = Aws::String>
53 S3ExportDestination& WithBucketArn(BucketArnT&& value) {
54 SetBucketArn(std::forward<BucketArnT>(value));
55 return *this;
56 }
58
60
76 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
77 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
78 template <typename KmsKeyArnT = Aws::String>
79 void SetKmsKeyArn(KmsKeyArnT&& value) {
80 m_kmsKeyArnHasBeenSet = true;
81 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
82 }
83 template <typename KmsKeyArnT = Aws::String>
84 S3ExportDestination& WithKmsKeyArn(KmsKeyArnT&& value) {
85 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
86 return *this;
87 }
89
91
96 inline const Aws::String& GetObjectPrefix() const { return m_objectPrefix; }
97 inline bool ObjectPrefixHasBeenSet() const { return m_objectPrefixHasBeenSet; }
98 template <typename ObjectPrefixT = Aws::String>
99 void SetObjectPrefix(ObjectPrefixT&& value) {
100 m_objectPrefixHasBeenSet = true;
101 m_objectPrefix = std::forward<ObjectPrefixT>(value);
102 }
103 template <typename ObjectPrefixT = Aws::String>
104 S3ExportDestination& WithObjectPrefix(ObjectPrefixT&& value) {
105 SetObjectPrefix(std::forward<ObjectPrefixT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_bucketArn;
111
112 Aws::String m_kmsKeyArn;
113
114 Aws::String m_objectPrefix;
115 bool m_bucketArnHasBeenSet = false;
116 bool m_kmsKeyArnHasBeenSet = false;
117 bool m_objectPrefixHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SecurityHub
122} // namespace Aws
AWS_SECURITYHUB_API S3ExportDestination(Aws::Utils::Json::JsonView jsonValue)
S3ExportDestination & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API S3ExportDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ExportDestination & WithBucketArn(BucketArnT &&value)
AWS_SECURITYHUB_API S3ExportDestination()=default
S3ExportDestination & WithObjectPrefix(ObjectPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue