AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DeleteSecretResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SecretsManager {
24namespace Model {
26 public:
27 AWS_SECRETSMANAGER_API DeleteSecretResult() = default;
30
32
35 inline const Aws::String& GetARN() const { return m_aRN; }
36 template <typename ARNT = Aws::String>
37 void SetARN(ARNT&& value) {
38 m_aRNHasBeenSet = true;
39 m_aRN = std::forward<ARNT>(value);
40 }
41 template <typename ARNT = Aws::String>
42 DeleteSecretResult& WithARN(ARNT&& value) {
43 SetARN(std::forward<ARNT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
59 DeleteSecretResult& WithName(NameT&& value) {
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
72 inline const Aws::Utils::DateTime& GetDeletionDate() const { return m_deletionDate; }
73 template <typename DeletionDateT = Aws::Utils::DateTime>
74 void SetDeletionDate(DeletionDateT&& value) {
75 m_deletionDateHasBeenSet = true;
76 m_deletionDate = std::forward<DeletionDateT>(value);
77 }
78 template <typename DeletionDateT = Aws::Utils::DateTime>
79 DeleteSecretResult& WithDeletionDate(DeletionDateT&& value) {
80 SetDeletionDate(std::forward<DeletionDateT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template <typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) {
90 m_requestIdHasBeenSet = true;
91 m_requestId = std::forward<RequestIdT>(value);
92 }
93 template <typename RequestIdT = Aws::String>
94 DeleteSecretResult& WithRequestId(RequestIdT&& value) {
95 SetRequestId(std::forward<RequestIdT>(value));
96 return *this;
97 }
99 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
100
101 private:
102 Aws::String m_aRN;
103
104 Aws::String m_name;
105
106 Aws::Utils::DateTime m_deletionDate{};
107
108 Aws::String m_requestId;
109 Aws::Http::HttpResponseCode m_HttpResponseCode;
110 bool m_aRNHasBeenSet = false;
111 bool m_nameHasBeenSet = false;
112 bool m_deletionDateHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace SecretsManager
118} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteSecretResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue