135 lines
5.6 KiB
C++
135 lines
5.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/firehose/Firehose_EXPORTS.h>
|
|
#include <aws/firehose/FirehoseRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/firehose/model/DeliveryStreamEncryptionConfigurationInput.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Firehose
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_FIREHOSE_API StartDeliveryStreamEncryptionRequest : public FirehoseRequest
|
|
{
|
|
public:
|
|
StartDeliveryStreamEncryptionRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "StartDeliveryStreamEncryption"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the delivery stream for which you want to enable server-side
|
|
* encryption (SSE).</p>
|
|
*/
|
|
inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
|
|
|
|
/**
|
|
* <p>The name of the delivery stream for which you want to enable server-side
|
|
* encryption (SSE).</p>
|
|
*/
|
|
inline bool DeliveryStreamNameHasBeenSet() const { return m_deliveryStreamNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the delivery stream for which you want to enable server-side
|
|
* encryption (SSE).</p>
|
|
*/
|
|
inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
|
|
|
|
/**
|
|
* <p>The name of the delivery stream for which you want to enable server-side
|
|
* encryption (SSE).</p>
|
|
*/
|
|
inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the delivery stream for which you want to enable server-side
|
|
* encryption (SSE).</p>
|
|
*/
|
|
inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the delivery stream for which you want to enable server-side
|
|
* encryption (SSE).</p>
|
|
*/
|
|
inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the delivery stream for which you want to enable server-side
|
|
* encryption (SSE).</p>
|
|
*/
|
|
inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the delivery stream for which you want to enable server-side
|
|
* encryption (SSE).</p>
|
|
*/
|
|
inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed
|
|
* for Server-Side Encryption (SSE).</p>
|
|
*/
|
|
inline const DeliveryStreamEncryptionConfigurationInput& GetDeliveryStreamEncryptionConfigurationInput() const{ return m_deliveryStreamEncryptionConfigurationInput; }
|
|
|
|
/**
|
|
* <p>Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed
|
|
* for Server-Side Encryption (SSE).</p>
|
|
*/
|
|
inline bool DeliveryStreamEncryptionConfigurationInputHasBeenSet() const { return m_deliveryStreamEncryptionConfigurationInputHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed
|
|
* for Server-Side Encryption (SSE).</p>
|
|
*/
|
|
inline void SetDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput& value) { m_deliveryStreamEncryptionConfigurationInputHasBeenSet = true; m_deliveryStreamEncryptionConfigurationInput = value; }
|
|
|
|
/**
|
|
* <p>Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed
|
|
* for Server-Side Encryption (SSE).</p>
|
|
*/
|
|
inline void SetDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput&& value) { m_deliveryStreamEncryptionConfigurationInputHasBeenSet = true; m_deliveryStreamEncryptionConfigurationInput = std::move(value); }
|
|
|
|
/**
|
|
* <p>Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed
|
|
* for Server-Side Encryption (SSE).</p>
|
|
*/
|
|
inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamEncryptionConfigurationInput(const DeliveryStreamEncryptionConfigurationInput& value) { SetDeliveryStreamEncryptionConfigurationInput(value); return *this;}
|
|
|
|
/**
|
|
* <p>Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed
|
|
* for Server-Side Encryption (SSE).</p>
|
|
*/
|
|
inline StartDeliveryStreamEncryptionRequest& WithDeliveryStreamEncryptionConfigurationInput(DeliveryStreamEncryptionConfigurationInput&& value) { SetDeliveryStreamEncryptionConfigurationInput(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_deliveryStreamName;
|
|
bool m_deliveryStreamNameHasBeenSet;
|
|
|
|
DeliveryStreamEncryptionConfigurationInput m_deliveryStreamEncryptionConfigurationInput;
|
|
bool m_deliveryStreamEncryptionConfigurationInputHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Firehose
|
|
} // namespace Aws
|