AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsSqsQueueDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28 public:
29 AWS_SECURITYHUB_API AwsSqsQueueDetails() = default;
30 AWS_SECURITYHUB_API AwsSqsQueueDetails(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline int GetKmsDataKeyReusePeriodSeconds() const { return m_kmsDataKeyReusePeriodSeconds; }
40 inline bool KmsDataKeyReusePeriodSecondsHasBeenSet() const { return m_kmsDataKeyReusePeriodSecondsHasBeenSet; }
41 inline void SetKmsDataKeyReusePeriodSeconds(int value) {
42 m_kmsDataKeyReusePeriodSecondsHasBeenSet = true;
43 m_kmsDataKeyReusePeriodSeconds = value;
44 }
47 return *this;
48 }
50
52
56 inline const Aws::String& GetKmsMasterKeyId() const { return m_kmsMasterKeyId; }
57 inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
58 template <typename KmsMasterKeyIdT = Aws::String>
59 void SetKmsMasterKeyId(KmsMasterKeyIdT&& value) {
60 m_kmsMasterKeyIdHasBeenSet = true;
61 m_kmsMasterKeyId = std::forward<KmsMasterKeyIdT>(value);
62 }
63 template <typename KmsMasterKeyIdT = Aws::String>
64 AwsSqsQueueDetails& WithKmsMasterKeyId(KmsMasterKeyIdT&& value) {
65 SetKmsMasterKeyId(std::forward<KmsMasterKeyIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetQueueName() const { return m_queueName; }
75 inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
76 template <typename QueueNameT = Aws::String>
77 void SetQueueName(QueueNameT&& value) {
78 m_queueNameHasBeenSet = true;
79 m_queueName = std::forward<QueueNameT>(value);
80 }
81 template <typename QueueNameT = Aws::String>
82 AwsSqsQueueDetails& WithQueueName(QueueNameT&& value) {
83 SetQueueName(std::forward<QueueNameT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetDeadLetterTargetArn() const { return m_deadLetterTargetArn; }
94 inline bool DeadLetterTargetArnHasBeenSet() const { return m_deadLetterTargetArnHasBeenSet; }
95 template <typename DeadLetterTargetArnT = Aws::String>
96 void SetDeadLetterTargetArn(DeadLetterTargetArnT&& value) {
97 m_deadLetterTargetArnHasBeenSet = true;
98 m_deadLetterTargetArn = std::forward<DeadLetterTargetArnT>(value);
99 }
100 template <typename DeadLetterTargetArnT = Aws::String>
101 AwsSqsQueueDetails& WithDeadLetterTargetArn(DeadLetterTargetArnT&& value) {
102 SetDeadLetterTargetArn(std::forward<DeadLetterTargetArnT>(value));
103 return *this;
104 }
106 private:
107 int m_kmsDataKeyReusePeriodSeconds{0};
108
109 Aws::String m_kmsMasterKeyId;
110
111 Aws::String m_queueName;
112
113 Aws::String m_deadLetterTargetArn;
114 bool m_kmsDataKeyReusePeriodSecondsHasBeenSet = false;
115 bool m_kmsMasterKeyIdHasBeenSet = false;
116 bool m_queueNameHasBeenSet = false;
117 bool m_deadLetterTargetArnHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SecurityHub
122} // namespace Aws
const Aws::String & GetDeadLetterTargetArn() const
AwsSqsQueueDetails & WithQueueName(QueueNameT &&value)
AWS_SECURITYHUB_API AwsSqsQueueDetails()=default
AwsSqsQueueDetails & WithKmsMasterKeyId(KmsMasterKeyIdT &&value)
AwsSqsQueueDetails & WithDeadLetterTargetArn(DeadLetterTargetArnT &&value)
void SetKmsMasterKeyId(KmsMasterKeyIdT &&value)
AWS_SECURITYHUB_API AwsSqsQueueDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsSqsQueueDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeadLetterTargetArn(DeadLetterTargetArnT &&value)
AwsSqsQueueDetails & WithKmsDataKeyReusePeriodSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue