/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SecretsManager { namespace Model { class DeleteSecretResult { public: AWS_SECRETSMANAGER_API DeleteSecretResult(); AWS_SECRETSMANAGER_API DeleteSecretResult(const Aws::AmazonWebServiceResult& result); AWS_SECRETSMANAGER_API DeleteSecretResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the secret.

*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *

The ARN of the secret.

*/ inline void SetARN(const Aws::String& value) { m_aRN = value; } /** *

The ARN of the secret.

*/ inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); } /** *

The ARN of the secret.

*/ inline void SetARN(const char* value) { m_aRN.assign(value); } /** *

The ARN of the secret.

*/ inline DeleteSecretResult& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *

The ARN of the secret.

*/ inline DeleteSecretResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *

The ARN of the secret.

*/ inline DeleteSecretResult& WithARN(const char* value) { SetARN(value); return *this;} /** *

The name of the secret.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the secret.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the secret.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the secret.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the secret.

*/ inline DeleteSecretResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the secret.

*/ inline DeleteSecretResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the secret.

*/ inline DeleteSecretResult& WithName(const char* value) { SetName(value); return *this;} /** *

The date and time after which this secret Secrets Manager can permanently * delete this secret, and it can no longer be restored. This value is the date and * time of the delete request plus the number of days in * RecoveryWindowInDays.

*/ inline const Aws::Utils::DateTime& GetDeletionDate() const{ return m_deletionDate; } /** *

The date and time after which this secret Secrets Manager can permanently * delete this secret, and it can no longer be restored. This value is the date and * time of the delete request plus the number of days in * RecoveryWindowInDays.

*/ inline void SetDeletionDate(const Aws::Utils::DateTime& value) { m_deletionDate = value; } /** *

The date and time after which this secret Secrets Manager can permanently * delete this secret, and it can no longer be restored. This value is the date and * time of the delete request plus the number of days in * RecoveryWindowInDays.

*/ inline void SetDeletionDate(Aws::Utils::DateTime&& value) { m_deletionDate = std::move(value); } /** *

The date and time after which this secret Secrets Manager can permanently * delete this secret, and it can no longer be restored. This value is the date and * time of the delete request plus the number of days in * RecoveryWindowInDays.

*/ inline DeleteSecretResult& WithDeletionDate(const Aws::Utils::DateTime& value) { SetDeletionDate(value); return *this;} /** *

The date and time after which this secret Secrets Manager can permanently * delete this secret, and it can no longer be restored. This value is the date and * time of the delete request plus the number of days in * RecoveryWindowInDays.

*/ inline DeleteSecretResult& WithDeletionDate(Aws::Utils::DateTime&& value) { SetDeletionDate(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteSecretResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteSecretResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteSecretResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_aRN; Aws::String m_name; Aws::Utils::DateTime m_deletionDate; Aws::String m_requestId; }; } // namespace Model } // namespace SecretsManager } // namespace Aws