AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline AwsKinesisStreamDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline AwsKinesisStreamDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline AwsKinesisStreamDetails& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline AwsKinesisStreamDetails& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline AwsKinesisStreamDetails& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline AwsKinesisStreamDetails& WithArn(const char* value) { SetArn(value); return *this;}
70
72
77 inline const AwsKinesisStreamStreamEncryptionDetails& GetStreamEncryption() const{ return m_streamEncryption; }
78 inline bool StreamEncryptionHasBeenSet() const { return m_streamEncryptionHasBeenSet; }
79 inline void SetStreamEncryption(const AwsKinesisStreamStreamEncryptionDetails& value) { m_streamEncryptionHasBeenSet = true; m_streamEncryption = value; }
80 inline void SetStreamEncryption(AwsKinesisStreamStreamEncryptionDetails&& value) { m_streamEncryptionHasBeenSet = true; m_streamEncryption = std::move(value); }
84
86
89 inline int GetShardCount() const{ return m_shardCount; }
90 inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; }
91 inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; }
92 inline AwsKinesisStreamDetails& WithShardCount(int value) { SetShardCount(value); return *this;}
94
96
100 inline int GetRetentionPeriodHours() const{ return m_retentionPeriodHours; }
101 inline bool RetentionPeriodHoursHasBeenSet() const { return m_retentionPeriodHoursHasBeenSet; }
102 inline void SetRetentionPeriodHours(int value) { m_retentionPeriodHoursHasBeenSet = true; m_retentionPeriodHours = value; }
105 private:
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::String m_arn;
111 bool m_arnHasBeenSet = false;
112
114 bool m_streamEncryptionHasBeenSet = false;
115
116 int m_shardCount;
117 bool m_shardCountHasBeenSet = false;
118
119 int m_retentionPeriodHours;
120 bool m_retentionPeriodHoursHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace SecurityHub
125} // namespace Aws
AwsKinesisStreamDetails & WithArn(Aws::String &&value)
AwsKinesisStreamDetails & WithStreamEncryption(const AwsKinesisStreamStreamEncryptionDetails &value)
const AwsKinesisStreamStreamEncryptionDetails & GetStreamEncryption() const
AwsKinesisStreamDetails & WithName(const char *value)
AWS_SECURITYHUB_API AwsKinesisStreamDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsKinesisStreamDetails & WithName(const Aws::String &value)
AwsKinesisStreamDetails & WithArn(const char *value)
AwsKinesisStreamDetails & WithShardCount(int value)
void SetStreamEncryption(AwsKinesisStreamStreamEncryptionDetails &&value)
AwsKinesisStreamDetails & WithStreamEncryption(AwsKinesisStreamStreamEncryptionDetails &&value)
AwsKinesisStreamDetails & WithName(Aws::String &&value)
AwsKinesisStreamDetails & WithArn(const Aws::String &value)
AwsKinesisStreamDetails & WithRetentionPeriodHours(int value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreamEncryption(const AwsKinesisStreamStreamEncryptionDetails &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