AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsSqsQueueDetails.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:
34 AWS_SECURITYHUB_API AwsSqsQueueDetails();
35 AWS_SECURITYHUB_API AwsSqsQueueDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline int GetKmsDataKeyReusePeriodSeconds() const{ return m_kmsDataKeyReusePeriodSeconds; }
46 inline bool KmsDataKeyReusePeriodSecondsHasBeenSet() const { return m_kmsDataKeyReusePeriodSecondsHasBeenSet; }
47 inline void SetKmsDataKeyReusePeriodSeconds(int value) { m_kmsDataKeyReusePeriodSecondsHasBeenSet = true; m_kmsDataKeyReusePeriodSeconds = value; }
50
52
56 inline const Aws::String& GetKmsMasterKeyId() const{ return m_kmsMasterKeyId; }
57 inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
58 inline void SetKmsMasterKeyId(const Aws::String& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = value; }
59 inline void SetKmsMasterKeyId(Aws::String&& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = std::move(value); }
60 inline void SetKmsMasterKeyId(const char* value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId.assign(value); }
61 inline AwsSqsQueueDetails& WithKmsMasterKeyId(const Aws::String& value) { SetKmsMasterKeyId(value); return *this;}
62 inline AwsSqsQueueDetails& WithKmsMasterKeyId(Aws::String&& value) { SetKmsMasterKeyId(std::move(value)); return *this;}
63 inline AwsSqsQueueDetails& WithKmsMasterKeyId(const char* value) { SetKmsMasterKeyId(value); return *this;}
65
67
70 inline const Aws::String& GetQueueName() const{ return m_queueName; }
71 inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
72 inline void SetQueueName(const Aws::String& value) { m_queueNameHasBeenSet = true; m_queueName = value; }
73 inline void SetQueueName(Aws::String&& value) { m_queueNameHasBeenSet = true; m_queueName = std::move(value); }
74 inline void SetQueueName(const char* value) { m_queueNameHasBeenSet = true; m_queueName.assign(value); }
75 inline AwsSqsQueueDetails& WithQueueName(const Aws::String& value) { SetQueueName(value); return *this;}
76 inline AwsSqsQueueDetails& WithQueueName(Aws::String&& value) { SetQueueName(std::move(value)); return *this;}
77 inline AwsSqsQueueDetails& WithQueueName(const char* value) { SetQueueName(value); return *this;}
79
81
85 inline const Aws::String& GetDeadLetterTargetArn() const{ return m_deadLetterTargetArn; }
86 inline bool DeadLetterTargetArnHasBeenSet() const { return m_deadLetterTargetArnHasBeenSet; }
87 inline void SetDeadLetterTargetArn(const Aws::String& value) { m_deadLetterTargetArnHasBeenSet = true; m_deadLetterTargetArn = value; }
88 inline void SetDeadLetterTargetArn(Aws::String&& value) { m_deadLetterTargetArnHasBeenSet = true; m_deadLetterTargetArn = std::move(value); }
89 inline void SetDeadLetterTargetArn(const char* value) { m_deadLetterTargetArnHasBeenSet = true; m_deadLetterTargetArn.assign(value); }
91 inline AwsSqsQueueDetails& WithDeadLetterTargetArn(Aws::String&& value) { SetDeadLetterTargetArn(std::move(value)); return *this;}
92 inline AwsSqsQueueDetails& WithDeadLetterTargetArn(const char* value) { SetDeadLetterTargetArn(value); return *this;}
94 private:
95
96 int m_kmsDataKeyReusePeriodSeconds;
97 bool m_kmsDataKeyReusePeriodSecondsHasBeenSet = false;
98
99 Aws::String m_kmsMasterKeyId;
100 bool m_kmsMasterKeyIdHasBeenSet = false;
101
102 Aws::String m_queueName;
103 bool m_queueNameHasBeenSet = false;
104
105 Aws::String m_deadLetterTargetArn;
106 bool m_deadLetterTargetArnHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace SecurityHub
111} // namespace Aws
AwsSqsQueueDetails & WithDeadLetterTargetArn(const char *value)
AwsSqsQueueDetails & WithKmsMasterKeyId(Aws::String &&value)
void SetDeadLetterTargetArn(const Aws::String &value)
const Aws::String & GetDeadLetterTargetArn() const
AwsSqsQueueDetails & WithDeadLetterTargetArn(const Aws::String &value)
AwsSqsQueueDetails & WithQueueName(const Aws::String &value)
AwsSqsQueueDetails & WithKmsMasterKeyId(const Aws::String &value)
void SetKmsMasterKeyId(const Aws::String &value)
AwsSqsQueueDetails & WithQueueName(Aws::String &&value)
AwsSqsQueueDetails & WithQueueName(const char *value)
AWS_SECURITYHUB_API AwsSqsQueueDetails(Aws::Utils::Json::JsonView jsonValue)
AwsSqsQueueDetails & WithKmsMasterKeyId(const char *value)
AwsSqsQueueDetails & WithDeadLetterTargetArn(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQueueName(const Aws::String &value)
AWS_SECURITYHUB_API AwsSqsQueueDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsSqsQueueDetails & WithKmsDataKeyReusePeriodSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue