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/AwsS3BucketServerSideEncryptionByDefault.h

134 lines
4.7 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>Specifies the default server-side encryption to apply to new objects in the
* bucket.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsS3BucketServerSideEncryptionByDefault">AWS
* API Reference</a></p>
*/
class AWS_SECURITYHUB_API AwsS3BucketServerSideEncryptionByDefault
{
public:
AwsS3BucketServerSideEncryptionByDefault();
AwsS3BucketServerSideEncryptionByDefault(Aws::Utils::Json::JsonView jsonValue);
AwsS3BucketServerSideEncryptionByDefault& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Server-side encryption algorithm to use for the default encryption.</p>
*/
inline const Aws::String& GetSSEAlgorithm() const{ return m_sSEAlgorithm; }
/**
* <p>Server-side encryption algorithm to use for the default encryption.</p>
*/
inline bool SSEAlgorithmHasBeenSet() const { return m_sSEAlgorithmHasBeenSet; }
/**
* <p>Server-side encryption algorithm to use for the default encryption.</p>
*/
inline void SetSSEAlgorithm(const Aws::String& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = value; }
/**
* <p>Server-side encryption algorithm to use for the default encryption.</p>
*/
inline void SetSSEAlgorithm(Aws::String&& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = std::move(value); }
/**
* <p>Server-side encryption algorithm to use for the default encryption.</p>
*/
inline void SetSSEAlgorithm(const char* value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm.assign(value); }
/**
* <p>Server-side encryption algorithm to use for the default encryption.</p>
*/
inline AwsS3BucketServerSideEncryptionByDefault& WithSSEAlgorithm(const Aws::String& value) { SetSSEAlgorithm(value); return *this;}
/**
* <p>Server-side encryption algorithm to use for the default encryption.</p>
*/
inline AwsS3BucketServerSideEncryptionByDefault& WithSSEAlgorithm(Aws::String&& value) { SetSSEAlgorithm(std::move(value)); return *this;}
/**
* <p>Server-side encryption algorithm to use for the default encryption.</p>
*/
inline AwsS3BucketServerSideEncryptionByDefault& WithSSEAlgorithm(const char* value) { SetSSEAlgorithm(value); return *this;}
/**
* <p>AWS KMS customer master key (CMK) ID to use for the default encryption.</p>
*/
inline const Aws::String& GetKMSMasterKeyID() const{ return m_kMSMasterKeyID; }
/**
* <p>AWS KMS customer master key (CMK) ID to use for the default encryption.</p>
*/
inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; }
/**
* <p>AWS KMS customer master key (CMK) ID to use for the default encryption.</p>
*/
inline void SetKMSMasterKeyID(const Aws::String& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = value; }
/**
* <p>AWS KMS customer master key (CMK) ID to use for the default encryption.</p>
*/
inline void SetKMSMasterKeyID(Aws::String&& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = std::move(value); }
/**
* <p>AWS KMS customer master key (CMK) ID to use for the default encryption.</p>
*/
inline void SetKMSMasterKeyID(const char* value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID.assign(value); }
/**
* <p>AWS KMS customer master key (CMK) ID to use for the default encryption.</p>
*/
inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(const Aws::String& value) { SetKMSMasterKeyID(value); return *this;}
/**
* <p>AWS KMS customer master key (CMK) ID to use for the default encryption.</p>
*/
inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(Aws::String&& value) { SetKMSMasterKeyID(std::move(value)); return *this;}
/**
* <p>AWS KMS customer master key (CMK) ID to use for the default encryption.</p>
*/
inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(const char* value) { SetKMSMasterKeyID(value); return *this;}
private:
Aws::String m_sSEAlgorithm;
bool m_sSEAlgorithmHasBeenSet;
Aws::String m_kMSMasterKeyID;
bool m_kMSMasterKeyIDHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws