AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteSecretResult.h
1
6#pragma once
7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecretsManager
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SECRETSMANAGER_API DeleteSecretResult() = default;
34
35
37
40 inline const Aws::String& GetARN() const { return m_aRN; }
41 template<typename ARNT = Aws::String>
42 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
43 template<typename ARNT = Aws::String>
44 DeleteSecretResult& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template<typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
54 template<typename NameT = Aws::String>
55 DeleteSecretResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57
59
65 inline const Aws::Utils::DateTime& GetDeletionDate() const { return m_deletionDate; }
66 template<typename DeletionDateT = Aws::Utils::DateTime>
67 void SetDeletionDate(DeletionDateT&& value) { m_deletionDateHasBeenSet = true; m_deletionDate = std::forward<DeletionDateT>(value); }
68 template<typename DeletionDateT = Aws::Utils::DateTime>
69 DeleteSecretResult& WithDeletionDate(DeletionDateT&& value) { SetDeletionDate(std::forward<DeletionDateT>(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 DeleteSecretResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::String m_aRN;
83 bool m_aRNHasBeenSet = false;
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 Aws::Utils::DateTime m_deletionDate{};
89 bool m_deletionDateHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SecretsManager
97} // namespace Aws
AWS_SECRETSMANAGER_API DeleteSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetDeletionDate() const
AWS_SECRETSMANAGER_API DeleteSecretResult()=default
DeleteSecretResult & WithARN(ARNT &&value)
AWS_SECRETSMANAGER_API DeleteSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSecretResult & WithDeletionDate(DeletionDateT &&value)
DeleteSecretResult & WithName(NameT &&value)
DeleteSecretResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue