AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetRelationalDatabaseParametersResult.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/RelationalDatabaseParameter.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 GetRelationalDatabaseParametersResult() = default;
31
33
37 inline const Aws::Vector<RelationalDatabaseParameter>& GetParameters() const { return m_parameters; }
38 template <typename ParametersT = Aws::Vector<RelationalDatabaseParameter>>
39 void SetParameters(ParametersT&& value) {
40 m_parametersHasBeenSet = true;
41 m_parameters = std::forward<ParametersT>(value);
42 }
43 template <typename ParametersT = Aws::Vector<RelationalDatabaseParameter>>
45 SetParameters(std::forward<ParametersT>(value));
46 return *this;
47 }
48 template <typename ParametersT = RelationalDatabaseParameter>
50 m_parametersHasBeenSet = true;
51 m_parameters.emplace_back(std::forward<ParametersT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
65 template <typename NextPageTokenT = Aws::String>
66 void SetNextPageToken(NextPageTokenT&& value) {
67 m_nextPageTokenHasBeenSet = true;
68 m_nextPageToken = std::forward<NextPageTokenT>(value);
69 }
70 template <typename NextPageTokenT = Aws::String>
72 SetNextPageToken(std::forward<NextPageTokenT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
93
94 Aws::String m_nextPageToken;
95
96 Aws::String m_requestId;
97 bool m_parametersHasBeenSet = false;
98 bool m_nextPageTokenHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Lightsail
104} // namespace Aws
const Aws::Vector< RelationalDatabaseParameter > & GetParameters() const
GetRelationalDatabaseParametersResult & AddParameters(ParametersT &&value)
GetRelationalDatabaseParametersResult & WithNextPageToken(NextPageTokenT &&value)
AWS_LIGHTSAIL_API GetRelationalDatabaseParametersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRelationalDatabaseParametersResult & WithParameters(ParametersT &&value)
GetRelationalDatabaseParametersResult & WithRequestId(RequestIdT &&value)
AWS_LIGHTSAIL_API GetRelationalDatabaseParametersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue