AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSecretResult.h
1
6#pragma once
7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SecretsManager
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SECRETSMANAGER_API UpdateSecretResult();
33
34
36
39 inline const Aws::String& GetARN() const{ return m_aRN; }
40 inline void SetARN(const Aws::String& value) { m_aRN = value; }
41 inline void SetARN(Aws::String&& value) { m_aRN = std::move(value); }
42 inline void SetARN(const char* value) { m_aRN.assign(value); }
43 inline UpdateSecretResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
44 inline UpdateSecretResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
45 inline UpdateSecretResult& WithARN(const char* value) { SetARN(value); return *this;}
47
49
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline void SetName(const Aws::String& value) { m_name = value; }
54 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
55 inline void SetName(const char* value) { m_name.assign(value); }
56 inline UpdateSecretResult& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline UpdateSecretResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline UpdateSecretResult& WithName(const char* value) { SetName(value); return *this;}
60
62
67 inline const Aws::String& GetVersionId() const{ return m_versionId; }
68 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
69 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
70 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
71 inline UpdateSecretResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
72 inline UpdateSecretResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
73 inline UpdateSecretResult& WithVersionId(const char* value) { SetVersionId(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 UpdateSecretResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline UpdateSecretResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline UpdateSecretResult& 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::String m_versionId;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace SecretsManager
99} // namespace Aws
UpdateSecretResult & WithRequestId(const char *value)
UpdateSecretResult & WithVersionId(const char *value)
UpdateSecretResult & WithVersionId(Aws::String &&value)
AWS_SECRETSMANAGER_API UpdateSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSecretResult & WithName(const char *value)
UpdateSecretResult & WithVersionId(const Aws::String &value)
UpdateSecretResult & WithRequestId(const Aws::String &value)
UpdateSecretResult & WithName(Aws::String &&value)
UpdateSecretResult & WithARN(const Aws::String &value)
UpdateSecretResult & WithARN(Aws::String &&value)
AWS_SECRETSMANAGER_API UpdateSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSecretResult & WithName(const Aws::String &value)
UpdateSecretResult & WithARN(const char *value)
UpdateSecretResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue