AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
48 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
49 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
50 inline Destination& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
51 inline Destination& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
52 inline Destination& WithBucketName(const char* value) { SetBucketName(value); return *this;}
54
56
59 inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
60 inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
61 inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
62 inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
63 inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
64 inline Destination& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
65 inline Destination& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
66 inline Destination& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
68
70
73 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
74 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
75 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
76 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
77 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
78 inline Destination& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
79 inline Destination& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
80 inline Destination& WithKmsKeyArn(const char* value) { SetKmsKeyArn(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 Inspector2
96} // namespace Aws
void SetKmsKeyArn(Aws::String &&value)
Definition Destination.h:76
const Aws::String & GetKmsKeyArn() const
Definition Destination.h:73
Destination & WithKmsKeyArn(Aws::String &&value)
Definition Destination.h:79
Destination & WithKmsKeyArn(const Aws::String &value)
Definition Destination.h:78
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsKeyArn(const Aws::String &value)
Definition Destination.h:75
void SetKeyPrefix(const Aws::String &value)
Definition Destination.h:61
void SetKeyPrefix(Aws::String &&value)
Definition Destination.h:62
Destination & WithBucketName(Aws::String &&value)
Definition Destination.h:51
void SetKmsKeyArn(const char *value)
Definition Destination.h:77
Destination & WithKeyPrefix(const Aws::String &value)
Definition Destination.h:64
Destination & WithKeyPrefix(const char *value)
Definition Destination.h:66
Destination & WithBucketName(const Aws::String &value)
Definition Destination.h:50
Destination & WithKmsKeyArn(const char *value)
Definition Destination.h:80
const Aws::String & GetKeyPrefix() const
Definition Destination.h:59
void SetBucketName(Aws::String &&value)
Definition Destination.h:48
const Aws::String & GetBucketName() const
Definition Destination.h:45
Destination & WithBucketName(const char *value)
Definition Destination.h:52
void SetBucketName(const Aws::String &value)
Definition Destination.h:47
void SetKeyPrefix(const char *value)
Definition Destination.h:63
AWS_INSPECTOR2_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
Destination & WithKeyPrefix(Aws::String &&value)
Definition Destination.h:65
AWS_INSPECTOR2_API Destination(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Destination()
void SetBucketName(const char *value)
Definition Destination.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue