160 lines
5.3 KiB
C
160 lines
5.3 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace SecretsManager
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_SECRETSMANAGER_API DeleteSecretResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DeleteSecretResult();
|
|||
|
|
DeleteSecretResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DeleteSecretResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetARN() const{ return m_aRN; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetARN(const Aws::String& value) { m_aRN = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetARN(const char* value) { m_aRN.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteSecretResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteSecretResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteSecretResult& WithARN(const char* value) { SetARN(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The friendly name of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The friendly name of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(const Aws::String& value) { m_name = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The friendly name of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The friendly name of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(const char* value) { m_name.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The friendly name of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteSecretResult& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The friendly name of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteSecretResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The friendly name of the secret that is now scheduled for deletion.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteSecretResult& WithName(const char* value) { SetName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time after which this secret can be deleted by Secrets Manager
|
|||
|
|
* and can no longer be restored. This value is the date and time of the delete
|
|||
|
|
* request plus the number of days specified in
|
|||
|
|
* <code>RecoveryWindowInDays</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetDeletionDate() const{ return m_deletionDate; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time after which this secret can be deleted by Secrets Manager
|
|||
|
|
* and can no longer be restored. This value is the date and time of the delete
|
|||
|
|
* request plus the number of days specified in
|
|||
|
|
* <code>RecoveryWindowInDays</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeletionDate(const Aws::Utils::DateTime& value) { m_deletionDate = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time after which this secret can be deleted by Secrets Manager
|
|||
|
|
* and can no longer be restored. This value is the date and time of the delete
|
|||
|
|
* request plus the number of days specified in
|
|||
|
|
* <code>RecoveryWindowInDays</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDeletionDate(Aws::Utils::DateTime&& value) { m_deletionDate = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time after which this secret can be deleted by Secrets Manager
|
|||
|
|
* and can no longer be restored. This value is the date and time of the delete
|
|||
|
|
* request plus the number of days specified in
|
|||
|
|
* <code>RecoveryWindowInDays</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteSecretResult& WithDeletionDate(const Aws::Utils::DateTime& value) { SetDeletionDate(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date and time after which this secret can be deleted by Secrets Manager
|
|||
|
|
* and can no longer be restored. This value is the date and time of the delete
|
|||
|
|
* request plus the number of days specified in
|
|||
|
|
* <code>RecoveryWindowInDays</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline DeleteSecretResult& WithDeletionDate(Aws::Utils::DateTime&& value) { SetDeletionDate(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_aRN;
|
|||
|
|
|
|||
|
|
Aws::String m_name;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_deletionDate;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SecretsManager
|
|||
|
|
} // namespace Aws
|