AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Destination.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MACIE2_API S3Destination() = default;
37 AWS_MACIE2_API S3Destination(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetBucketName() const { return m_bucketName; }
48 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
49 template<typename BucketNameT = Aws::String>
50 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
51 template<typename BucketNameT = Aws::String>
52 S3Destination& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
54
56
60 inline const Aws::String& GetKeyPrefix() const { return m_keyPrefix; }
61 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
62 template<typename KeyPrefixT = Aws::String>
63 void SetKeyPrefix(KeyPrefixT&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::forward<KeyPrefixT>(value); }
64 template<typename KeyPrefixT = Aws::String>
65 S3Destination& WithKeyPrefix(KeyPrefixT&& value) { SetKeyPrefix(std::forward<KeyPrefixT>(value)); return *this;}
67
69
75 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
76 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
77 template<typename KmsKeyArnT = Aws::String>
78 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
79 template<typename KmsKeyArnT = Aws::String>
80 S3Destination& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
82 private:
83
84 Aws::String m_bucketName;
85 bool m_bucketNameHasBeenSet = false;
86
87 Aws::String m_keyPrefix;
88 bool m_keyPrefixHasBeenSet = false;
89
90 Aws::String m_kmsKeyArn;
91 bool m_kmsKeyArnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Macie2
96} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeyPrefix(KeyPrefixT &&value)
AWS_MACIE2_API S3Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Destination & WithKmsKeyArn(KmsKeyArnT &&value)
const Aws::String & GetKeyPrefix() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const Aws::String & GetBucketName() const
AWS_MACIE2_API S3Destination(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API S3Destination()=default
const Aws::String & GetKmsKeyArn() const
S3Destination & WithBucketName(BucketNameT &&value)
void SetBucketName(BucketNameT &&value)
S3Destination & WithKeyPrefix(KeyPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue