AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CancelRotateSecretResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SecretsManager {
23namespace Model {
25 public:
26 AWS_SECRETSMANAGER_API CancelRotateSecretResult() = default;
29
31
34 inline const Aws::String& GetARN() const { return m_aRN; }
35 template <typename ARNT = Aws::String>
36 void SetARN(ARNT&& value) {
37 m_aRNHasBeenSet = true;
38 m_aRN = std::forward<ARNT>(value);
39 }
40 template <typename ARNT = Aws::String>
42 SetARN(std::forward<ARNT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
73 inline const Aws::String& GetVersionId() const { return m_versionId; }
74 template <typename VersionIdT = Aws::String>
75 void SetVersionId(VersionIdT&& value) {
76 m_versionIdHasBeenSet = true;
77 m_versionId = std::forward<VersionIdT>(value);
78 }
79 template <typename VersionIdT = Aws::String>
81 SetVersionId(std::forward<VersionIdT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
101
102 private:
103 Aws::String m_aRN;
104
105 Aws::String m_name;
106
107 Aws::String m_versionId;
108
109 Aws::String m_requestId;
110 Aws::Http::HttpResponseCode m_HttpResponseCode;
111 bool m_aRNHasBeenSet = false;
112 bool m_nameHasBeenSet = false;
113 bool m_versionIdHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace SecretsManager
119} // 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