AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RestoreFromSnapshotResult.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 RestoreFromSnapshotResult();
34
35
37
38 inline const Namespace& GetNamespace() const{ return m_namespace; }
39 inline void SetNamespace(const Namespace& value) { m_namespace = value; }
40 inline void SetNamespace(Namespace&& value) { m_namespace = std::move(value); }
41 inline RestoreFromSnapshotResult& WithNamespace(const Namespace& value) { SetNamespace(value); return *this;}
42 inline RestoreFromSnapshotResult& WithNamespace(Namespace&& value) { SetNamespace(std::move(value)); return *this;}
44
46
49 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
50 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccount = value; }
51 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccount = std::move(value); }
52 inline void SetOwnerAccount(const char* value) { m_ownerAccount.assign(value); }
53 inline RestoreFromSnapshotResult& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
54 inline RestoreFromSnapshotResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
55 inline RestoreFromSnapshotResult& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
57
59
62 inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
63 inline void SetSnapshotName(const Aws::String& value) { m_snapshotName = value; }
64 inline void SetSnapshotName(Aws::String&& value) { m_snapshotName = std::move(value); }
65 inline void SetSnapshotName(const char* value) { m_snapshotName.assign(value); }
66 inline RestoreFromSnapshotResult& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
67 inline RestoreFromSnapshotResult& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
68 inline RestoreFromSnapshotResult& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline RestoreFromSnapshotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline RestoreFromSnapshotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline RestoreFromSnapshotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Namespace m_namespace;
84
85 Aws::String m_ownerAccount;
86
87 Aws::String m_snapshotName;
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace RedshiftServerless
94} // namespace Aws
RestoreFromSnapshotResult & WithOwnerAccount(const Aws::String &value)
RestoreFromSnapshotResult & WithRequestId(const Aws::String &value)
RestoreFromSnapshotResult & WithSnapshotName(Aws::String &&value)
RestoreFromSnapshotResult & WithNamespace(Namespace &&value)
RestoreFromSnapshotResult & WithRequestId(Aws::String &&value)
RestoreFromSnapshotResult & WithOwnerAccount(const char *value)
AWS_REDSHIFTSERVERLESS_API RestoreFromSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestoreFromSnapshotResult & WithOwnerAccount(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API RestoreFromSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RestoreFromSnapshotResult & WithRequestId(const char *value)
RestoreFromSnapshotResult & WithSnapshotName(const Aws::String &value)
RestoreFromSnapshotResult & WithNamespace(const Namespace &value)
RestoreFromSnapshotResult & WithSnapshotName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue