AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CancelRotateSecretResult.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 CancelRotateSecretResult() = 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 CancelRotateSecretResult& 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 CancelRotateSecretResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
66 inline const Aws::String& GetVersionId() const { return m_versionId; }
67 template<typename VersionIdT = Aws::String>
68 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
69 template<typename VersionIdT = Aws::String>
70 CancelRotateSecretResult& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 CancelRotateSecretResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_aRN;
84 bool m_aRNHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_versionId;
90 bool m_versionIdHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SecretsManager
98} // namespace Aws
CancelRotateSecretResult & WithRequestId(RequestIdT &&value)
CancelRotateSecretResult & WithName(NameT &&value)
CancelRotateSecretResult & WithVersionId(VersionIdT &&value)
AWS_SECRETSMANAGER_API CancelRotateSecretResult()=default
AWS_SECRETSMANAGER_API CancelRotateSecretResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECRETSMANAGER_API CancelRotateSecretResult(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