AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
50 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
51 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
52 inline S3Destination& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
53 inline S3Destination& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
54 inline S3Destination& WithBucketName(const char* value) { SetBucketName(value); return *this;}
56
58
62 inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
63 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
64 inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
65 inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
66 inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
67 inline S3Destination& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
68 inline S3Destination& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
69 inline S3Destination& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
71
73
79 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
80 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
81 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
82 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
83 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
84 inline S3Destination& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
85 inline S3Destination& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
86 inline S3Destination& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
88 private:
89
90 Aws::String m_bucketName;
91 bool m_bucketNameHasBeenSet = false;
92
93 Aws::String m_keyPrefix;
94 bool m_keyPrefixHasBeenSet = false;
95
96 Aws::String m_kmsKeyArn;
97 bool m_kmsKeyArnHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Macie2
102} // namespace Aws
void SetBucketName(const char *value)
void SetKmsKeyArn(const Aws::String &value)
S3Destination & WithBucketName(const char *value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsKeyArn(Aws::String &&value)
void SetBucketName(Aws::String &&value)
AWS_MACIE2_API S3Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Destination & WithKeyPrefix(const char *value)
const Aws::String & GetKeyPrefix() const
S3Destination & WithKmsKeyArn(Aws::String &&value)
const Aws::String & GetBucketName() const
void SetKeyPrefix(const char *value)
AWS_MACIE2_API S3Destination(Aws::Utils::Json::JsonView jsonValue)
S3Destination & WithBucketName(Aws::String &&value)
void SetKeyPrefix(const Aws::String &value)
void SetKmsKeyArn(const char *value)
S3Destination & WithKeyPrefix(const Aws::String &value)
const Aws::String & GetKmsKeyArn() const
S3Destination & WithBucketName(const Aws::String &value)
S3Destination & WithKeyPrefix(Aws::String &&value)
void SetKeyPrefix(Aws::String &&value)
S3Destination & WithKmsKeyArn(const char *value)
void SetBucketName(const Aws::String &value)
S3Destination & WithKmsKeyArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue