AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutSecretValueResult.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/memory/stl/AWSVector.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 PutSecretValueResult();
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 PutSecretValueResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
45 inline PutSecretValueResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
46 inline PutSecretValueResult& 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 PutSecretValueResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline PutSecretValueResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline PutSecretValueResult& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Aws::String& GetVersionId() const{ return m_versionId; }
67 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
68 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
69 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
70 inline PutSecretValueResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
71 inline PutSecretValueResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
72 inline PutSecretValueResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
74
76
81 inline const Aws::Vector<Aws::String>& GetVersionStages() const{ return m_versionStages; }
82 inline void SetVersionStages(const Aws::Vector<Aws::String>& value) { m_versionStages = value; }
83 inline void SetVersionStages(Aws::Vector<Aws::String>&& value) { m_versionStages = std::move(value); }
85 inline PutSecretValueResult& WithVersionStages(Aws::Vector<Aws::String>&& value) { SetVersionStages(std::move(value)); return *this;}
86 inline PutSecretValueResult& AddVersionStages(const Aws::String& value) { m_versionStages.push_back(value); return *this; }
87 inline PutSecretValueResult& AddVersionStages(Aws::String&& value) { m_versionStages.push_back(std::move(value)); return *this; }
88 inline PutSecretValueResult& AddVersionStages(const char* value) { m_versionStages.push_back(value); return *this; }
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline PutSecretValueResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline PutSecretValueResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline PutSecretValueResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::String m_aRN;
104
105 Aws::String m_name;
106
107 Aws::String m_versionId;
108
109 Aws::Vector<Aws::String> m_versionStages;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace SecretsManager
116} // namespace Aws
PutSecretValueResult & AddVersionStages(const Aws::String &value)
PutSecretValueResult & WithARN(const char *value)
PutSecretValueResult & WithVersionId(Aws::String &&value)
PutSecretValueResult & WithRequestId(Aws::String &&value)
PutSecretValueResult & WithARN(const Aws::String &value)
PutSecretValueResult & WithVersionId(const char *value)
PutSecretValueResult & AddVersionStages(Aws::String &&value)
PutSecretValueResult & WithName(const Aws::String &value)
PutSecretValueResult & WithARN(Aws::String &&value)
PutSecretValueResult & WithName(Aws::String &&value)
void SetVersionStages(Aws::Vector< Aws::String > &&value)
PutSecretValueResult & WithVersionStages(Aws::Vector< Aws::String > &&value)
void SetVersionStages(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetVersionStages() const
PutSecretValueResult & WithRequestId(const char *value)
PutSecretValueResult & WithVersionId(const Aws::String &value)
AWS_SECRETSMANAGER_API PutSecretValueResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutSecretValueResult & WithName(const char *value)
PutSecretValueResult & WithVersionStages(const Aws::Vector< Aws::String > &value)
PutSecretValueResult & AddVersionStages(const char *value)
AWS_SECRETSMANAGER_API PutSecretValueResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutSecretValueResult & WithRequestId(const 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