Files
DedicatedServerCourse/Plugins/GameLiftPlugin/Source/AWSSDK/Include/aws/secretsmanager/model/DeleteSecretResult.h
2026-02-28 12:32:28 -05:00

100 lines
3.8 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 DeleteSecretResult
{
public:
AWS_SECRETSMANAGER_API DeleteSecretResult();
AWS_SECRETSMANAGER_API DeleteSecretResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AWS_SECRETSMANAGER_API DeleteSecretResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
///@{
/**
* <p>The ARN of the secret.</p>
*/
inline const Aws::String& GetARN() const{ return m_aRN; }
inline void SetARN(const Aws::String& value) { m_aRN = value; }
inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
inline void SetARN(const char* value) { m_aRN.assign(value); }
inline DeleteSecretResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
inline DeleteSecretResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
inline DeleteSecretResult& WithARN(const char* value) { SetARN(value); return *this;}
///@}
///@{
/**
* <p>The name of the secret.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
inline void SetName(const Aws::String& value) { m_name = value; }
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
inline void SetName(const char* value) { m_name.assign(value); }
inline DeleteSecretResult& WithName(const Aws::String& value) { SetName(value); return *this;}
inline DeleteSecretResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
inline DeleteSecretResult& WithName(const char* value) { SetName(value); return *this;}
///@}
///@{
/**
* <p>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
* <code>RecoveryWindowInDays</code>.</p>
*/
inline const Aws::Utils::DateTime& GetDeletionDate() const{ return m_deletionDate; }
inline void SetDeletionDate(const Aws::Utils::DateTime& value) { m_deletionDate = value; }
inline void SetDeletionDate(Aws::Utils::DateTime&& value) { m_deletionDate = std::move(value); }
inline DeleteSecretResult& WithDeletionDate(const Aws::Utils::DateTime& value) { SetDeletionDate(value); return *this;}
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