AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsKinesisStreamStreamEncryptionDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetEncryptionType() const{ return m_encryptionType; }
45 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
46 inline void SetEncryptionType(const Aws::String& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
47 inline void SetEncryptionType(Aws::String&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
48 inline void SetEncryptionType(const char* value) { m_encryptionTypeHasBeenSet = true; m_encryptionType.assign(value); }
51 inline AwsKinesisStreamStreamEncryptionDetails& WithEncryptionType(const char* value) { SetEncryptionType(value); return *this;}
53
55
59 inline const Aws::String& GetKeyId() const{ return m_keyId; }
60 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
61 inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
62 inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
63 inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
64 inline AwsKinesisStreamStreamEncryptionDetails& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
65 inline AwsKinesisStreamStreamEncryptionDetails& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
66 inline AwsKinesisStreamStreamEncryptionDetails& WithKeyId(const char* value) { SetKeyId(value); return *this;}
68 private:
69
70 Aws::String m_encryptionType;
71 bool m_encryptionTypeHasBeenSet = false;
72
73 Aws::String m_keyId;
74 bool m_keyIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SecurityHub
79} // namespace Aws
AWS_SECURITYHUB_API AwsKinesisStreamStreamEncryptionDetails(Aws::Utils::Json::JsonView jsonValue)
AwsKinesisStreamStreamEncryptionDetails & WithEncryptionType(Aws::String &&value)
AwsKinesisStreamStreamEncryptionDetails & WithKeyId(Aws::String &&value)
AwsKinesisStreamStreamEncryptionDetails & WithKeyId(const Aws::String &value)
AwsKinesisStreamStreamEncryptionDetails & WithKeyId(const char *value)
AWS_SECURITYHUB_API AwsKinesisStreamStreamEncryptionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsKinesisStreamStreamEncryptionDetails & WithEncryptionType(const char *value)
AwsKinesisStreamStreamEncryptionDetails & WithEncryptionType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue