AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Destination.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_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 Inspector2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_INSPECTOR2_API Destination() = default;
36 AWS_INSPECTOR2_API Destination(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INSPECTOR2_API Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucketName() const { return m_bucketName; }
46 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
47 template<typename BucketNameT = Aws::String>
48 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
49 template<typename BucketNameT = Aws::String>
50 Destination& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
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) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::forward<KeyPrefixT>(value); }
61 template<typename KeyPrefixT = Aws::String>
62 Destination& WithKeyPrefix(KeyPrefixT&& value) { SetKeyPrefix(std::forward<KeyPrefixT>(value)); return *this;}
64
66
69 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
70 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
71 template<typename KmsKeyArnT = Aws::String>
72 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
73 template<typename KmsKeyArnT = Aws::String>
74 Destination& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
76 private:
77
78 Aws::String m_bucketName;
79 bool m_bucketNameHasBeenSet = false;
80
81 Aws::String m_keyPrefix;
82 bool m_keyPrefixHasBeenSet = false;
83
84 Aws::String m_kmsKeyArn;
85 bool m_kmsKeyArnHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Inspector2
90} // namespace Aws
const Aws::String & GetKmsKeyArn() const
Definition Destination.h:69
Destination & WithBucketName(BucketNameT &&value)
Definition Destination.h:50
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
Destination & WithKeyPrefix(KeyPrefixT &&value)
Definition Destination.h:62
void SetBucketName(BucketNameT &&value)
Definition Destination.h:48
const Aws::String & GetKeyPrefix() const
Definition Destination.h:57
Destination & WithKmsKeyArn(KmsKeyArnT &&value)
Definition Destination.h:74
const Aws::String & GetBucketName() const
Definition Destination.h:45
void SetKeyPrefix(KeyPrefixT &&value)
Definition Destination.h:60
void SetKmsKeyArn(KmsKeyArnT &&value)
Definition Destination.h:72
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