AWS SDK for C++  1.9.16
AWS SDK for C++
UpdateRelationalDatabaseParametersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Lightsail
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateRelationalDatabaseParameters"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetRelationalDatabaseName() const{ return m_relationalDatabaseName; }
43 
47  inline bool RelationalDatabaseNameHasBeenSet() const { return m_relationalDatabaseNameHasBeenSet; }
48 
52  inline void SetRelationalDatabaseName(const Aws::String& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = value; }
53 
57  inline void SetRelationalDatabaseName(Aws::String&& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = std::move(value); }
58 
62  inline void SetRelationalDatabaseName(const char* value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName.assign(value); }
63 
67  inline UpdateRelationalDatabaseParametersRequest& WithRelationalDatabaseName(const Aws::String& value) { SetRelationalDatabaseName(value); return *this;}
68 
72  inline UpdateRelationalDatabaseParametersRequest& WithRelationalDatabaseName(Aws::String&& value) { SetRelationalDatabaseName(std::move(value)); return *this;}
73 
77  inline UpdateRelationalDatabaseParametersRequest& WithRelationalDatabaseName(const char* value) { SetRelationalDatabaseName(value); return *this;}
78 
79 
83  inline const Aws::Vector<RelationalDatabaseParameter>& GetParameters() const{ return m_parameters; }
84 
88  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
89 
93  inline void SetParameters(const Aws::Vector<RelationalDatabaseParameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
94 
98  inline void SetParameters(Aws::Vector<RelationalDatabaseParameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
99 
103  inline UpdateRelationalDatabaseParametersRequest& WithParameters(const Aws::Vector<RelationalDatabaseParameter>& value) { SetParameters(value); return *this;}
104 
108  inline UpdateRelationalDatabaseParametersRequest& WithParameters(Aws::Vector<RelationalDatabaseParameter>&& value) { SetParameters(std::move(value)); return *this;}
109 
113  inline UpdateRelationalDatabaseParametersRequest& AddParameters(const RelationalDatabaseParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
114 
118  inline UpdateRelationalDatabaseParametersRequest& AddParameters(RelationalDatabaseParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
119 
120  private:
121 
122  Aws::String m_relationalDatabaseName;
123  bool m_relationalDatabaseNameHasBeenSet;
124 
126  bool m_parametersHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace Lightsail
131 } // namespace Aws
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::GetRelationalDatabaseName
const Aws::String & GetRelationalDatabaseName() const
Definition: UpdateRelationalDatabaseParametersRequest.h:42
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::WithRelationalDatabaseName
UpdateRelationalDatabaseParametersRequest & WithRelationalDatabaseName(const char *value)
Definition: UpdateRelationalDatabaseParametersRequest.h:77
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRelationalDatabaseParametersRequest.h:32
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::SetParameters
void SetParameters(const Aws::Vector< RelationalDatabaseParameter > &value)
Definition: UpdateRelationalDatabaseParametersRequest.h:93
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest
Definition: UpdateRelationalDatabaseParametersRequest.h:24
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: UpdateRelationalDatabaseParametersRequest.h:88
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::SetParameters
void SetParameters(Aws::Vector< RelationalDatabaseParameter > &&value)
Definition: UpdateRelationalDatabaseParametersRequest.h:98
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::WithParameters
UpdateRelationalDatabaseParametersRequest & WithParameters(const Aws::Vector< RelationalDatabaseParameter > &value)
Definition: UpdateRelationalDatabaseParametersRequest.h:103
AWSVector.h
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::WithParameters
UpdateRelationalDatabaseParametersRequest & WithParameters(Aws::Vector< RelationalDatabaseParameter > &&value)
Definition: UpdateRelationalDatabaseParametersRequest.h:108
LightsailRequest.h
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::AddParameters
UpdateRelationalDatabaseParametersRequest & AddParameters(RelationalDatabaseParameter &&value)
Definition: UpdateRelationalDatabaseParametersRequest.h:118
Aws::Lightsail::Model::RelationalDatabaseParameter
Definition: RelationalDatabaseParameter.h:32
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::UpdateRelationalDatabaseParametersRequest
UpdateRelationalDatabaseParametersRequest()
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::SetRelationalDatabaseName
void SetRelationalDatabaseName(const Aws::String &value)
Definition: UpdateRelationalDatabaseParametersRequest.h:52
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
AWSString.h
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::GetParameters
const Aws::Vector< RelationalDatabaseParameter > & GetParameters() const
Definition: UpdateRelationalDatabaseParametersRequest.h:83
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::WithRelationalDatabaseName
UpdateRelationalDatabaseParametersRequest & WithRelationalDatabaseName(const Aws::String &value)
Definition: UpdateRelationalDatabaseParametersRequest.h:67
Lightsail_EXPORTS.h
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::SetRelationalDatabaseName
void SetRelationalDatabaseName(const char *value)
Definition: UpdateRelationalDatabaseParametersRequest.h:62
Aws
Definition: AccessManagementClient.h:15
RelationalDatabaseParameter.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::WithRelationalDatabaseName
UpdateRelationalDatabaseParametersRequest & WithRelationalDatabaseName(Aws::String &&value)
Definition: UpdateRelationalDatabaseParametersRequest.h:72
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::SetRelationalDatabaseName
void SetRelationalDatabaseName(Aws::String &&value)
Definition: UpdateRelationalDatabaseParametersRequest.h:57
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::RelationalDatabaseNameHasBeenSet
bool RelationalDatabaseNameHasBeenSet() const
Definition: UpdateRelationalDatabaseParametersRequest.h:47
Aws::Lightsail::Model::UpdateRelationalDatabaseParametersRequest::AddParameters
UpdateRelationalDatabaseParametersRequest & AddParameters(const RelationalDatabaseParameter &value)
Definition: UpdateRelationalDatabaseParametersRequest.h:113