AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateRelationalDatabaseParametersResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/Lightsail_EXPORTS.h>
10#include <aws/lightsail/model/Operation.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Lightsail {
24namespace Model {
26 public:
27 AWS_LIGHTSAIL_API UpdateRelationalDatabaseParametersResult() = default;
31
33
38 inline const Aws::Vector<Operation>& GetOperations() const { return m_operations; }
39 template <typename OperationsT = Aws::Vector<Operation>>
40 void SetOperations(OperationsT&& value) {
41 m_operationsHasBeenSet = true;
42 m_operations = std::forward<OperationsT>(value);
43 }
44 template <typename OperationsT = Aws::Vector<Operation>>
46 SetOperations(std::forward<OperationsT>(value));
47 return *this;
48 }
49 template <typename OperationsT = Operation>
51 m_operationsHasBeenSet = true;
52 m_operations.emplace_back(std::forward<OperationsT>(value));
53 return *this;
54 }
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template <typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) {
62 m_requestIdHasBeenSet = true;
63 m_requestId = std::forward<RequestIdT>(value);
64 }
65 template <typename RequestIdT = Aws::String>
67 SetRequestId(std::forward<RequestIdT>(value));
68 return *this;
69 }
71 private:
72 Aws::Vector<Operation> m_operations;
73
74 Aws::String m_requestId;
75 bool m_operationsHasBeenSet = false;
76 bool m_requestIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Lightsail
81} // namespace Aws
UpdateRelationalDatabaseParametersResult & AddOperations(OperationsT &&value)
UpdateRelationalDatabaseParametersResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API UpdateRelationalDatabaseParametersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API UpdateRelationalDatabaseParametersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRelationalDatabaseParametersResult & WithOperations(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