AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RotateSecretResult.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 RotateSecretResult();
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 RotateSecretResult& WithARN(const Aws::String& value) { SetARN(value); return *this;}
44 inline RotateSecretResult& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
45 inline RotateSecretResult& 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 RotateSecretResult& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline RotateSecretResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline RotateSecretResult& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const Aws::String& GetVersionId() const{ return m_versionId; }
66 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
67 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
68 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
69 inline RotateSecretResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
70 inline RotateSecretResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
71 inline RotateSecretResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline RotateSecretResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline RotateSecretResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline RotateSecretResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_aRN;
87
88 Aws::String m_name;
89
90 Aws::String m_versionId;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace SecretsManager
97} // namespace Aws
RotateSecretResult & WithName(const char *value)
RotateSecretResult & WithName(const Aws::String &value)
RotateSecretResult & WithName(Aws::String &&value)
RotateSecretResult & WithARN(const Aws::String &value)
RotateSecretResult & WithRequestId(Aws::String &&value)
RotateSecretResult & WithVersionId(const Aws::String &value)
RotateSecretResult & WithRequestId(const char *value)
RotateSecretResult & WithARN(Aws::String &&value)
RotateSecretResult & WithARN(const char *value)
RotateSecretResult & WithVersionId(Aws::String &&value)
RotateSecretResult & WithRequestId(const Aws::String &value)
RotateSecretResult & WithVersionId(const char *value)
AWS_SECRETSMANAGER_API RotateSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECRETSMANAGER_API RotateSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue