AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsKinesisStreamDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsKinesisStreamStreamEncryptionDetails.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsKinesisStreamDetails() = default;
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 AwsKinesisStreamDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 AwsKinesisStreamDetails& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
73 inline const AwsKinesisStreamStreamEncryptionDetails& GetStreamEncryption() const { return m_streamEncryption; }
74 inline bool StreamEncryptionHasBeenSet() const { return m_streamEncryptionHasBeenSet; }
75 template<typename StreamEncryptionT = AwsKinesisStreamStreamEncryptionDetails>
76 void SetStreamEncryption(StreamEncryptionT&& value) { m_streamEncryptionHasBeenSet = true; m_streamEncryption = std::forward<StreamEncryptionT>(value); }
77 template<typename StreamEncryptionT = AwsKinesisStreamStreamEncryptionDetails>
78 AwsKinesisStreamDetails& WithStreamEncryption(StreamEncryptionT&& value) { SetStreamEncryption(std::forward<StreamEncryptionT>(value)); return *this;}
80
82
85 inline int GetShardCount() const { return m_shardCount; }
86 inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; }
87 inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; }
88 inline AwsKinesisStreamDetails& WithShardCount(int value) { SetShardCount(value); return *this;}
90
92
96 inline int GetRetentionPeriodHours() const { return m_retentionPeriodHours; }
97 inline bool RetentionPeriodHoursHasBeenSet() const { return m_retentionPeriodHoursHasBeenSet; }
98 inline void SetRetentionPeriodHours(int value) { m_retentionPeriodHoursHasBeenSet = true; m_retentionPeriodHours = value; }
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_arn;
107 bool m_arnHasBeenSet = false;
108
110 bool m_streamEncryptionHasBeenSet = false;
111
112 int m_shardCount{0};
113 bool m_shardCountHasBeenSet = false;
114
115 int m_retentionPeriodHours{0};
116 bool m_retentionPeriodHoursHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SecurityHub
121} // 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