AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSecretValueResult.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/Array.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SecretsManager
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SECRETSMANAGER_API GetSecretValueResult();
36
37
39
42 inline const Aws::String& GetARN() const{ return m_aRN; }
43 inline void SetARN(const Aws::String& value) { m_aRN = value; }
44 inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
45 inline void SetARN(const char* value) { m_aRN.assign(value); }
46 inline GetSecretValueResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
47 inline GetSecretValueResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
48 inline GetSecretValueResult& WithARN(const char* value) { SetARN(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline void SetName(const Aws::String& value) { m_name = value; }
57 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 inline void SetName(const char* value) { m_name.assign(value); }
59 inline GetSecretValueResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline GetSecretValueResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline GetSecretValueResult& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::String& GetVersionId() const{ return m_versionId; }
69 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
70 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
71 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
72 inline GetSecretValueResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
73 inline GetSecretValueResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
74 inline GetSecretValueResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
76
78
90 inline const Aws::Utils::CryptoBuffer& GetSecretBinary() const{ return m_secretBinary; }
91 inline void SetSecretBinary(const Aws::Utils::CryptoBuffer& value) { m_secretBinary = value; }
92 inline void SetSecretBinary(Aws::Utils::CryptoBuffer&& value) { m_secretBinary = std::move(value); }
94 inline GetSecretValueResult& WithSecretBinary(Aws::Utils::CryptoBuffer&& value) { SetSecretBinary(std::move(value)); return *this;}
96
98
107 inline const Aws::String& GetSecretString() const{ return m_secretString; }
108 inline void SetSecretString(const Aws::String& value) { m_secretString = value; }
109 inline void SetSecretString(Aws::String&& value) { m_secretString = std::move(value); }
110 inline void SetSecretString(const char* value) { m_secretString.assign(value); }
111 inline GetSecretValueResult& WithSecretString(const Aws::String& value) { SetSecretString(value); return *this;}
112 inline GetSecretValueResult& WithSecretString(Aws::String&& value) { SetSecretString(std::move(value)); return *this;}
113 inline GetSecretValueResult& WithSecretString(const char* value) { SetSecretString(value); return *this;}
115
117
121 inline const Aws::Vector<Aws::String>& GetVersionStages() const{ return m_versionStages; }
122 inline void SetVersionStages(const Aws::Vector<Aws::String>& value) { m_versionStages = value; }
123 inline void SetVersionStages(Aws::Vector<Aws::String>&& value) { m_versionStages = std::move(value); }
125 inline GetSecretValueResult& WithVersionStages(Aws::Vector<Aws::String>&& value) { SetVersionStages(std::move(value)); return *this;}
126 inline GetSecretValueResult& AddVersionStages(const Aws::String& value) { m_versionStages.push_back(value); return *this; }
127 inline GetSecretValueResult& AddVersionStages(Aws::String&& value) { m_versionStages.push_back(std::move(value)); return *this; }
128 inline GetSecretValueResult& AddVersionStages(const char* value) { m_versionStages.push_back(value); return *this; }
130
132
137 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
138 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
139 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
140 inline GetSecretValueResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
141 inline GetSecretValueResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
143
145
146 inline const Aws::String& GetRequestId() const{ return m_requestId; }
147 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
148 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
149 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
150 inline GetSecretValueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
151 inline GetSecretValueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
152 inline GetSecretValueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
154 private:
155
156 Aws::String m_aRN;
157
158 Aws::String m_name;
159
160 Aws::String m_versionId;
161
162 Aws::Utils::CryptoBuffer m_secretBinary;
163
164 Aws::String m_secretString;
165
166 Aws::Vector<Aws::String> m_versionStages;
167
168 Aws::Utils::DateTime m_createdDate;
169
170 Aws::String m_requestId;
171 };
172
173} // namespace Model
174} // namespace SecretsManager
175} // namespace Aws
void SetVersionStages(const Aws::Vector< Aws::String > &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
GetSecretValueResult & WithRequestId(const Aws::String &value)
GetSecretValueResult & WithSecretString(Aws::String &&value)
GetSecretValueResult & WithVersionId(const char *value)
const Aws::Utils::CryptoBuffer & GetSecretBinary() const
GetSecretValueResult & WithSecretBinary(const Aws::Utils::CryptoBuffer &value)
GetSecretValueResult & WithCreatedDate(Aws::Utils::DateTime &&value)
GetSecretValueResult & AddVersionStages(Aws::String &&value)
GetSecretValueResult & WithARN(const Aws::String &value)
void SetVersionStages(Aws::Vector< Aws::String > &&value)
GetSecretValueResult & AddVersionStages(const Aws::String &value)
void SetSecretBinary(const Aws::Utils::CryptoBuffer &value)
GetSecretValueResult & WithVersionId(const Aws::String &value)
GetSecretValueResult & WithRequestId(const char *value)
GetSecretValueResult & WithARN(Aws::String &&value)
GetSecretValueResult & WithSecretBinary(Aws::Utils::CryptoBuffer &&value)
void SetSecretBinary(Aws::Utils::CryptoBuffer &&value)
GetSecretValueResult & WithSecretString(const Aws::String &value)
GetSecretValueResult & WithCreatedDate(const Aws::Utils::DateTime &value)
GetSecretValueResult & WithVersionId(Aws::String &&value)
GetSecretValueResult & WithName(const char *value)
GetSecretValueResult & WithSecretString(const char *value)
GetSecretValueResult & WithName(Aws::String &&value)
GetSecretValueResult & WithARN(const char *value)
AWS_SECRETSMANAGER_API GetSecretValueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Vector< Aws::String > & GetVersionStages() const
GetSecretValueResult & AddVersionStages(const char *value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
GetSecretValueResult & WithRequestId(Aws::String &&value)
GetSecretValueResult & WithVersionStages(Aws::Vector< Aws::String > &&value)
GetSecretValueResult & WithName(const Aws::String &value)
AWS_SECRETSMANAGER_API GetSecretValueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSecretValueResult & WithVersionStages(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue