AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetARN() const{ return m_aRN; }
41 inline void SetARN(const Aws::String& value) { m_aRN = value; }
42 inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
43 inline void SetARN(const char* value) { m_aRN.assign(value); }
44 inline DeleteSecretResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
45 inline DeleteSecretResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
46 inline DeleteSecretResult& WithARN(const char* value) { SetARN(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline DeleteSecretResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline DeleteSecretResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline DeleteSecretResult& WithName(const char* value) { SetName(value); return *this;}
61
63
69 inline const Aws::Utils::DateTime& GetDeletionDate() const{ return m_deletionDate; }
70 inline void SetDeletionDate(const Aws::Utils::DateTime& value) { m_deletionDate = value; }
71 inline void SetDeletionDate(Aws::Utils::DateTime&& value) { m_deletionDate = std::move(value); }
72 inline DeleteSecretResult& WithDeletionDate(const Aws::Utils::DateTime& value) { SetDeletionDate(value); return *this;}
73 inline DeleteSecretResult& WithDeletionDate(Aws::Utils::DateTime&& value) { SetDeletionDate(std::move(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline DeleteSecretResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline DeleteSecretResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline DeleteSecretResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_aRN;
89
90 Aws::String m_name;
91
92 Aws::Utils::DateTime m_deletionDate;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace SecretsManager
99} // namespace Aws
DeleteSecretResult & WithRequestId(const Aws::String &value)
AWS_SECRETSMANAGER_API DeleteSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSecretResult & WithDeletionDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDeletionDate() const
void SetDeletionDate(const Aws::Utils::DateTime &value)
AWS_SECRETSMANAGER_API DeleteSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSecretResult & WithARN(const char *value)
DeleteSecretResult & WithRequestId(const char *value)
DeleteSecretResult & WithName(const Aws::String &value)
DeleteSecretResult & WithRequestId(Aws::String &&value)
DeleteSecretResult & WithName(const char *value)
DeleteSecretResult & WithName(Aws::String &&value)
DeleteSecretResult & WithARN(const Aws::String &value)
void SetDeletionDate(Aws::Utils::DateTime &&value)
DeleteSecretResult & WithDeletionDate(Aws::Utils::DateTime &&value)
DeleteSecretResult & WithARN(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue