AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
33
34
36
39 inline const Aws::String& GetARN() const { return m_aRN; }
40 template<typename ARNT = Aws::String>
41 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
42 template<typename ARNT = Aws::String>
43 RotateSecretResult& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 RotateSecretResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetVersionId() const { return m_versionId; }
62 template<typename VersionIdT = Aws::String>
63 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
64 template<typename VersionIdT = Aws::String>
65 RotateSecretResult& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 RotateSecretResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_aRN;
79 bool m_aRNHasBeenSet = false;
80
81 Aws::String m_name;
82 bool m_nameHasBeenSet = false;
83
84 Aws::String m_versionId;
85 bool m_versionIdHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SecretsManager
93} // namespace Aws
RotateSecretResult & WithRequestId(RequestIdT &&value)
RotateSecretResult & WithARN(ARNT &&value)
RotateSecretResult & WithName(NameT &&value)
AWS_SECRETSMANAGER_API RotateSecretResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RotateSecretResult & WithVersionId(VersionIdT &&value)
AWS_SECRETSMANAGER_API RotateSecretResult()=default
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