AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DeleteRelationalDatabaseSnapshotResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/Operation.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail {
25namespace Model {
27 public:
28 AWS_LIGHTSAIL_API DeleteRelationalDatabaseSnapshotResult() = default;
32
34
39 inline const Aws::Vector<Operation>& GetOperations() const { return m_operations; }
40 template <typename OperationsT = Aws::Vector<Operation>>
41 void SetOperations(OperationsT&& value) {
42 m_operationsHasBeenSet = true;
43 m_operations = std::forward<OperationsT>(value);
44 }
45 template <typename OperationsT = Aws::Vector<Operation>>
47 SetOperations(std::forward<OperationsT>(value));
48 return *this;
49 }
50 template <typename OperationsT = Operation>
52 m_operationsHasBeenSet = true;
53 m_operations.emplace_back(std::forward<OperationsT>(value));
54 return *this;
55 }
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template <typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) {
63 m_requestIdHasBeenSet = true;
64 m_requestId = std::forward<RequestIdT>(value);
65 }
66 template <typename RequestIdT = Aws::String>
68 SetRequestId(std::forward<RequestIdT>(value));
69 return *this;
70 }
72 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
73
74 private:
75 Aws::Vector<Operation> m_operations;
76
77 Aws::String m_requestId;
78 Aws::Http::HttpResponseCode m_HttpResponseCode;
79 bool m_operationsHasBeenSet = false;
80 bool m_requestIdHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Lightsail
85} // namespace Aws
AWS_LIGHTSAIL_API DeleteRelationalDatabaseSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API DeleteRelationalDatabaseSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteRelationalDatabaseSnapshotResult & WithRequestId(RequestIdT &&value)
DeleteRelationalDatabaseSnapshotResult & WithOperations(OperationsT &&value)
DeleteRelationalDatabaseSnapshotResult & AddOperations(OperationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue