AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RestoreFromRecoveryPointResult.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/model/Namespace.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace RedshiftServerless
25{
26namespace Model
27{
29 {
30 public:
31 AWS_REDSHIFTSERVERLESS_API RestoreFromRecoveryPointResult() = default;
34
35
37
40 inline const Namespace& GetNamespace() const { return m_namespace; }
41 template<typename NamespaceT = Namespace>
42 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
43 template<typename NamespaceT = Namespace>
44 RestoreFromRecoveryPointResult& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
46
48
51 inline const Aws::String& GetRecoveryPointId() const { return m_recoveryPointId; }
52 template<typename RecoveryPointIdT = Aws::String>
53 void SetRecoveryPointId(RecoveryPointIdT&& value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId = std::forward<RecoveryPointIdT>(value); }
54 template<typename RecoveryPointIdT = Aws::String>
55 RestoreFromRecoveryPointResult& WithRecoveryPointId(RecoveryPointIdT&& value) { SetRecoveryPointId(std::forward<RecoveryPointIdT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 RestoreFromRecoveryPointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Namespace m_namespace;
69 bool m_namespaceHasBeenSet = false;
70
71 Aws::String m_recoveryPointId;
72 bool m_recoveryPointIdHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace RedshiftServerless
80} // namespace Aws
RestoreFromRecoveryPointResult & WithNamespace(NamespaceT &&value)
AWS_REDSHIFTSERVERLESS_API RestoreFromRecoveryPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestoreFromRecoveryPointResult & WithRecoveryPointId(RecoveryPointIdT &&value)
AWS_REDSHIFTSERVERLESS_API RestoreFromRecoveryPointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_REDSHIFTSERVERLESS_API RestoreFromRecoveryPointResult()=default
RestoreFromRecoveryPointResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue