/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace DocDBElastic { namespace Model { /** */ class DeleteClusterSnapshotRequest : public DocDBElasticRequest { public: AWS_DOCDBELASTIC_API DeleteClusterSnapshotRequest(); // 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 "DeleteClusterSnapshot"; } AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override; /** *

The arn of the Elastic DocumentDB snapshot that is to be deleted.

*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** *

The arn of the Elastic DocumentDB snapshot that is to be deleted.

*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** *

The arn of the Elastic DocumentDB snapshot that is to be deleted.

*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** *

The arn of the Elastic DocumentDB snapshot that is to be deleted.

*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** *

The arn of the Elastic DocumentDB snapshot that is to be deleted.

*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** *

The arn of the Elastic DocumentDB snapshot that is to be deleted.

*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** *

The arn of the Elastic DocumentDB snapshot that is to be deleted.

*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** *

The arn of the Elastic DocumentDB snapshot that is to be deleted.

*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} private: Aws::String m_snapshotArn; bool m_snapshotArnHasBeenSet = false; }; } // namespace Model } // namespace DocDBElastic } // namespace Aws