AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
Destination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector2 {
20namespace Model {
21
29 public:
30 AWS_INSPECTOR2_API Destination() = default;
31 AWS_INSPECTOR2_API Destination(Aws::Utils::Json::JsonView jsonValue);
32 AWS_INSPECTOR2_API Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBucketName() const { return m_bucketName; }
40 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
41 template <typename BucketNameT = Aws::String>
42 void SetBucketName(BucketNameT&& value) {
43 m_bucketNameHasBeenSet = true;
44 m_bucketName = std::forward<BucketNameT>(value);
45 }
46 template <typename BucketNameT = Aws::String>
47 Destination& WithBucketName(BucketNameT&& value) {
48 SetBucketName(std::forward<BucketNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetKeyPrefix() const { return m_keyPrefix; }
58 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
59 template <typename KeyPrefixT = Aws::String>
60 void SetKeyPrefix(KeyPrefixT&& value) {
61 m_keyPrefixHasBeenSet = true;
62 m_keyPrefix = std::forward<KeyPrefixT>(value);
63 }
64 template <typename KeyPrefixT = Aws::String>
65 Destination& WithKeyPrefix(KeyPrefixT&& value) {
66 SetKeyPrefix(std::forward<KeyPrefixT>(value));
67 return *this;
68 }
70
72
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) {
79 m_kmsKeyArnHasBeenSet = true;
80 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
81 }
82 template <typename KmsKeyArnT = Aws::String>
83 Destination& WithKmsKeyArn(KmsKeyArnT&& value) {
84 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_bucketName;
90
91 Aws::String m_keyPrefix;
92
93 Aws::String m_kmsKeyArn;
94 bool m_bucketNameHasBeenSet = false;
95 bool m_keyPrefixHasBeenSet = false;
96 bool m_kmsKeyArnHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Inspector2
101} // namespace Aws
const Aws::String & GetKmsKeyArn() const
Definition Destination.h:75
Destination & WithBucketName(BucketNameT &&value)
Definition Destination.h:47
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
Destination & WithKeyPrefix(KeyPrefixT &&value)
Definition Destination.h:65
void SetBucketName(BucketNameT &&value)
Definition Destination.h:42
const Aws::String & GetKeyPrefix() const
Definition Destination.h:57
Destination & WithKmsKeyArn(KmsKeyArnT &&value)
Definition Destination.h:83
const Aws::String & GetBucketName() const
Definition Destination.h:39
void SetKeyPrefix(KeyPrefixT &&value)
Definition Destination.h:60
void SetKmsKeyArn(KmsKeyArnT &&value)
Definition Destination.h:78
AWS_INSPECTOR2_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Destination(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Destination()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue