This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-securityhub/include/aws/securityhub/model/AwsSqsQueueDetails.h

221 lines
8.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
/**
* <p>Data about a queue.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSqsQueueDetails">AWS
* API Reference</a></p>
*/
class AWS_SECURITYHUB_API AwsSqsQueueDetails
{
public:
AwsSqsQueueDetails();
AwsSqsQueueDetails(Aws::Utils::Json::JsonView jsonValue);
AwsSqsQueueDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The length of time, in seconds, for which Amazon SQS can reuse a data key to
* encrypt or decrypt messages before calling AWS KMS again.</p>
*/
inline int GetKmsDataKeyReusePeriodSeconds() const{ return m_kmsDataKeyReusePeriodSeconds; }
/**
* <p>The length of time, in seconds, for which Amazon SQS can reuse a data key to
* encrypt or decrypt messages before calling AWS KMS again.</p>
*/
inline bool KmsDataKeyReusePeriodSecondsHasBeenSet() const { return m_kmsDataKeyReusePeriodSecondsHasBeenSet; }
/**
* <p>The length of time, in seconds, for which Amazon SQS can reuse a data key to
* encrypt or decrypt messages before calling AWS KMS again.</p>
*/
inline void SetKmsDataKeyReusePeriodSeconds(int value) { m_kmsDataKeyReusePeriodSecondsHasBeenSet = true; m_kmsDataKeyReusePeriodSeconds = value; }
/**
* <p>The length of time, in seconds, for which Amazon SQS can reuse a data key to
* encrypt or decrypt messages before calling AWS KMS again.</p>
*/
inline AwsSqsQueueDetails& WithKmsDataKeyReusePeriodSeconds(int value) { SetKmsDataKeyReusePeriodSeconds(value); return *this;}
/**
* <p>The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom
* CMK.</p>
*/
inline const Aws::String& GetKmsMasterKeyId() const{ return m_kmsMasterKeyId; }
/**
* <p>The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom
* CMK.</p>
*/
inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
/**
* <p>The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom
* CMK.</p>
*/
inline void SetKmsMasterKeyId(const Aws::String& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = value; }
/**
* <p>The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom
* CMK.</p>
*/
inline void SetKmsMasterKeyId(Aws::String&& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = std::move(value); }
/**
* <p>The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom
* CMK.</p>
*/
inline void SetKmsMasterKeyId(const char* value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId.assign(value); }
/**
* <p>The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom
* CMK.</p>
*/
inline AwsSqsQueueDetails& WithKmsMasterKeyId(const Aws::String& value) { SetKmsMasterKeyId(value); return *this;}
/**
* <p>The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom
* CMK.</p>
*/
inline AwsSqsQueueDetails& WithKmsMasterKeyId(Aws::String&& value) { SetKmsMasterKeyId(std::move(value)); return *this;}
/**
* <p>The ID of an AWS managed customer master key (CMK) for Amazon SQS or a custom
* CMK.</p>
*/
inline AwsSqsQueueDetails& WithKmsMasterKeyId(const char* value) { SetKmsMasterKeyId(value); return *this;}
/**
* <p>The name of the new queue.</p>
*/
inline const Aws::String& GetQueueName() const{ return m_queueName; }
/**
* <p>The name of the new queue.</p>
*/
inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; }
/**
* <p>The name of the new queue.</p>
*/
inline void SetQueueName(const Aws::String& value) { m_queueNameHasBeenSet = true; m_queueName = value; }
/**
* <p>The name of the new queue.</p>
*/
inline void SetQueueName(Aws::String&& value) { m_queueNameHasBeenSet = true; m_queueName = std::move(value); }
/**
* <p>The name of the new queue.</p>
*/
inline void SetQueueName(const char* value) { m_queueNameHasBeenSet = true; m_queueName.assign(value); }
/**
* <p>The name of the new queue.</p>
*/
inline AwsSqsQueueDetails& WithQueueName(const Aws::String& value) { SetQueueName(value); return *this;}
/**
* <p>The name of the new queue.</p>
*/
inline AwsSqsQueueDetails& WithQueueName(Aws::String&& value) { SetQueueName(std::move(value)); return *this;}
/**
* <p>The name of the new queue.</p>
*/
inline AwsSqsQueueDetails& WithQueueName(const char* value) { SetQueueName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS
* moves messages after the value of <code>maxReceiveCount</code> is exceeded. </p>
*/
inline const Aws::String& GetDeadLetterTargetArn() const{ return m_deadLetterTargetArn; }
/**
* <p>The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS
* moves messages after the value of <code>maxReceiveCount</code> is exceeded. </p>
*/
inline bool DeadLetterTargetArnHasBeenSet() const { return m_deadLetterTargetArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS
* moves messages after the value of <code>maxReceiveCount</code> is exceeded. </p>
*/
inline void SetDeadLetterTargetArn(const Aws::String& value) { m_deadLetterTargetArnHasBeenSet = true; m_deadLetterTargetArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS
* moves messages after the value of <code>maxReceiveCount</code> is exceeded. </p>
*/
inline void SetDeadLetterTargetArn(Aws::String&& value) { m_deadLetterTargetArnHasBeenSet = true; m_deadLetterTargetArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS
* moves messages after the value of <code>maxReceiveCount</code> is exceeded. </p>
*/
inline void SetDeadLetterTargetArn(const char* value) { m_deadLetterTargetArnHasBeenSet = true; m_deadLetterTargetArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS
* moves messages after the value of <code>maxReceiveCount</code> is exceeded. </p>
*/
inline AwsSqsQueueDetails& WithDeadLetterTargetArn(const Aws::String& value) { SetDeadLetterTargetArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS
* moves messages after the value of <code>maxReceiveCount</code> is exceeded. </p>
*/
inline AwsSqsQueueDetails& WithDeadLetterTargetArn(Aws::String&& value) { SetDeadLetterTargetArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the dead-letter queue to which Amazon SQS
* moves messages after the value of <code>maxReceiveCount</code> is exceeded. </p>
*/
inline AwsSqsQueueDetails& WithDeadLetterTargetArn(const char* value) { SetDeadLetterTargetArn(value); return *this;}
private:
int m_kmsDataKeyReusePeriodSeconds;
bool m_kmsDataKeyReusePeriodSecondsHasBeenSet;
Aws::String m_kmsMasterKeyId;
bool m_kmsMasterKeyIdHasBeenSet;
Aws::String m_queueName;
bool m_queueNameHasBeenSet;
Aws::String m_deadLetterTargetArn;
bool m_deadLetterTargetArnHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws