AWS SDK for C++  1.9.110
AWS SDK for C++
ModifyAquaConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Redshift
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ModifyAquaConfiguration"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
44 
48  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
49 
53  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
54 
58  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
59 
63  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
64 
68  inline ModifyAquaConfigurationRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
69 
73  inline ModifyAquaConfigurationRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
74 
78  inline ModifyAquaConfigurationRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
79 
80 
88  inline const AquaConfigurationStatus& GetAquaConfigurationStatus() const{ return m_aquaConfigurationStatus; }
89 
97  inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; }
98 
106  inline void SetAquaConfigurationStatus(const AquaConfigurationStatus& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; }
107 
115  inline void SetAquaConfigurationStatus(AquaConfigurationStatus&& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = std::move(value); }
116 
124  inline ModifyAquaConfigurationRequest& WithAquaConfigurationStatus(const AquaConfigurationStatus& value) { SetAquaConfigurationStatus(value); return *this;}
125 
133  inline ModifyAquaConfigurationRequest& WithAquaConfigurationStatus(AquaConfigurationStatus&& value) { SetAquaConfigurationStatus(std::move(value)); return *this;}
134 
135  private:
136 
137  Aws::String m_clusterIdentifier;
138  bool m_clusterIdentifierHasBeenSet;
139 
140  AquaConfigurationStatus m_aquaConfigurationStatus;
141  bool m_aquaConfigurationStatusHasBeenSet;
142  };
143 
144 } // namespace Model
145 } // namespace Redshift
146 } // namespace Aws
Aws::Redshift::Model::ModifyAquaConfigurationRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: ModifyAquaConfigurationRequest.h:53
Aws::Redshift::Model::ModifyAquaConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::ModifyAquaConfigurationRequest::SetAquaConfigurationStatus
void SetAquaConfigurationStatus(AquaConfigurationStatus &&value)
Definition: ModifyAquaConfigurationRequest.h:115
Aws::Redshift::Model::ModifyAquaConfigurationRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: ModifyAquaConfigurationRequest.h:48
Aws::Redshift::Model::ModifyAquaConfigurationRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: ModifyAquaConfigurationRequest.h:43
RedshiftRequest.h
Aws::Redshift::Model::ModifyAquaConfigurationRequest::ModifyAquaConfigurationRequest
ModifyAquaConfigurationRequest()
Aws::Redshift::Model::ModifyAquaConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyAquaConfigurationRequest.h:31
Aws::Redshift::Model::ModifyAquaConfigurationRequest::GetAquaConfigurationStatus
const AquaConfigurationStatus & GetAquaConfigurationStatus() const
Definition: ModifyAquaConfigurationRequest.h:88
Aws::Redshift::Model::ModifyAquaConfigurationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::ModifyAquaConfigurationRequest::WithClusterIdentifier
ModifyAquaConfigurationRequest & WithClusterIdentifier(const Aws::String &value)
Definition: ModifyAquaConfigurationRequest.h:68
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AquaConfigurationStatus.h
Aws::Redshift::Model::ModifyAquaConfigurationRequest::WithAquaConfigurationStatus
ModifyAquaConfigurationRequest & WithAquaConfigurationStatus(AquaConfigurationStatus &&value)
Definition: ModifyAquaConfigurationRequest.h:133
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::ModifyAquaConfigurationRequest::WithAquaConfigurationStatus
ModifyAquaConfigurationRequest & WithAquaConfigurationStatus(const AquaConfigurationStatus &value)
Definition: ModifyAquaConfigurationRequest.h:124
Aws::Redshift::Model::ModifyAquaConfigurationRequest::WithClusterIdentifier
ModifyAquaConfigurationRequest & WithClusterIdentifier(const char *value)
Definition: ModifyAquaConfigurationRequest.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::AquaConfigurationStatus
AquaConfigurationStatus
Definition: AquaConfigurationStatus.h:17
Redshift_EXPORTS.h
Aws::Redshift::Model::ModifyAquaConfigurationRequest::SetAquaConfigurationStatus
void SetAquaConfigurationStatus(const AquaConfigurationStatus &value)
Definition: ModifyAquaConfigurationRequest.h:106
Aws::Redshift::Model::ModifyAquaConfigurationRequest::AquaConfigurationStatusHasBeenSet
bool AquaConfigurationStatusHasBeenSet() const
Definition: ModifyAquaConfigurationRequest.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ModifyAquaConfigurationRequest::WithClusterIdentifier
ModifyAquaConfigurationRequest & WithClusterIdentifier(Aws::String &&value)
Definition: ModifyAquaConfigurationRequest.h:73
Aws::Redshift::Model::ModifyAquaConfigurationRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: ModifyAquaConfigurationRequest.h:63
Aws::Redshift::Model::ModifyAquaConfigurationRequest
Definition: ModifyAquaConfigurationRequest.h:23
Aws::Redshift::Model::ModifyAquaConfigurationRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: ModifyAquaConfigurationRequest.h:58