AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsKinesisStreamDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsKinesisStreamStreamEncryptionDetails.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API AwsKinesisStreamDetails() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
79 inline const AwsKinesisStreamStreamEncryptionDetails& GetStreamEncryption() const { return m_streamEncryption; }
80 inline bool StreamEncryptionHasBeenSet() const { return m_streamEncryptionHasBeenSet; }
81 template <typename StreamEncryptionT = AwsKinesisStreamStreamEncryptionDetails>
82 void SetStreamEncryption(StreamEncryptionT&& value) {
83 m_streamEncryptionHasBeenSet = true;
84 m_streamEncryption = std::forward<StreamEncryptionT>(value);
85 }
86 template <typename StreamEncryptionT = AwsKinesisStreamStreamEncryptionDetails>
87 AwsKinesisStreamDetails& WithStreamEncryption(StreamEncryptionT&& value) {
88 SetStreamEncryption(std::forward<StreamEncryptionT>(value));
89 return *this;
90 }
92
94
97 inline int GetShardCount() const { return m_shardCount; }
98 inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; }
99 inline void SetShardCount(int value) {
100 m_shardCountHasBeenSet = true;
101 m_shardCount = value;
102 }
104 SetShardCount(value);
105 return *this;
106 }
108
110
114 inline int GetRetentionPeriodHours() const { return m_retentionPeriodHours; }
115 inline bool RetentionPeriodHoursHasBeenSet() const { return m_retentionPeriodHoursHasBeenSet; }
116 inline void SetRetentionPeriodHours(int value) {
117 m_retentionPeriodHoursHasBeenSet = true;
118 m_retentionPeriodHours = value;
119 }
122 return *this;
123 }
125 private:
126 Aws::String m_name;
127
128 Aws::String m_arn;
129
131
132 int m_shardCount{0};
133
134 int m_retentionPeriodHours{0};
135 bool m_nameHasBeenSet = false;
136 bool m_arnHasBeenSet = false;
137 bool m_streamEncryptionHasBeenSet = false;
138 bool m_shardCountHasBeenSet = false;
139 bool m_retentionPeriodHoursHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace SecurityHub
144} // namespace Aws
const AwsKinesisStreamStreamEncryptionDetails & GetStreamEncryption() const
AWS_SECURITYHUB_API AwsKinesisStreamDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsKinesisStreamDetails & WithStreamEncryption(StreamEncryptionT &&value)
AwsKinesisStreamDetails & WithShardCount(int value)
AWS_SECURITYHUB_API AwsKinesisStreamDetails()=default
AwsKinesisStreamDetails & WithRetentionPeriodHours(int value)
AwsKinesisStreamDetails & WithArn(ArnT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsKinesisStreamDetails & WithName(NameT &&value)
AWS_SECURITYHUB_API AwsKinesisStreamDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue