AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateClusterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/dax/DAX_EXPORTS.h>
8 #include <aws/dax/DAXRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DAX
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 "UpdateCluster"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetClusterName() const{ return m_clusterName; }
42 
46  inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
47 
51  inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
52 
56  inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
57 
61  inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
62 
66  inline UpdateClusterRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
67 
71  inline UpdateClusterRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
72 
76  inline UpdateClusterRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
77 
78 
82  inline const Aws::String& GetDescription() const{ return m_description; }
83 
87  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 
92  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 
97  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 
102  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
103 
107  inline UpdateClusterRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 
112  inline UpdateClusterRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 
117  inline UpdateClusterRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
118 
119 
126  inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
127 
134  inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
135 
142  inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
143 
150  inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
151 
158  inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
159 
166  inline UpdateClusterRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;}
167 
174  inline UpdateClusterRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;}
175 
182  inline UpdateClusterRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
183 
184 
188  inline const Aws::String& GetNotificationTopicArn() const{ return m_notificationTopicArn; }
189 
193  inline bool NotificationTopicArnHasBeenSet() const { return m_notificationTopicArnHasBeenSet; }
194 
198  inline void SetNotificationTopicArn(const Aws::String& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = value; }
199 
203  inline void SetNotificationTopicArn(Aws::String&& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = std::move(value); }
204 
208  inline void SetNotificationTopicArn(const char* value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn.assign(value); }
209 
213  inline UpdateClusterRequest& WithNotificationTopicArn(const Aws::String& value) { SetNotificationTopicArn(value); return *this;}
214 
218  inline UpdateClusterRequest& WithNotificationTopicArn(Aws::String&& value) { SetNotificationTopicArn(std::move(value)); return *this;}
219 
223  inline UpdateClusterRequest& WithNotificationTopicArn(const char* value) { SetNotificationTopicArn(value); return *this;}
224 
225 
231  inline const Aws::String& GetNotificationTopicStatus() const{ return m_notificationTopicStatus; }
232 
238  inline bool NotificationTopicStatusHasBeenSet() const { return m_notificationTopicStatusHasBeenSet; }
239 
245  inline void SetNotificationTopicStatus(const Aws::String& value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus = value; }
246 
252  inline void SetNotificationTopicStatus(Aws::String&& value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus = std::move(value); }
253 
259  inline void SetNotificationTopicStatus(const char* value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus.assign(value); }
260 
266  inline UpdateClusterRequest& WithNotificationTopicStatus(const Aws::String& value) { SetNotificationTopicStatus(value); return *this;}
267 
273  inline UpdateClusterRequest& WithNotificationTopicStatus(Aws::String&& value) { SetNotificationTopicStatus(std::move(value)); return *this;}
274 
280  inline UpdateClusterRequest& WithNotificationTopicStatus(const char* value) { SetNotificationTopicStatus(value); return *this;}
281 
282 
286  inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
287 
291  inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
292 
296  inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
297 
301  inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
302 
306  inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
307 
311  inline UpdateClusterRequest& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;}
312 
316  inline UpdateClusterRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
317 
321  inline UpdateClusterRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
322 
323 
329  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
330 
336  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
337 
343  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
344 
350  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
351 
357  inline UpdateClusterRequest& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
358 
364  inline UpdateClusterRequest& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
365 
371  inline UpdateClusterRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
372 
378  inline UpdateClusterRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
379 
385  inline UpdateClusterRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
386 
387  private:
388 
389  Aws::String m_clusterName;
390  bool m_clusterNameHasBeenSet;
391 
392  Aws::String m_description;
393  bool m_descriptionHasBeenSet;
394 
395  Aws::String m_preferredMaintenanceWindow;
396  bool m_preferredMaintenanceWindowHasBeenSet;
397 
398  Aws::String m_notificationTopicArn;
399  bool m_notificationTopicArnHasBeenSet;
400 
401  Aws::String m_notificationTopicStatus;
402  bool m_notificationTopicStatusHasBeenSet;
403 
404  Aws::String m_parameterGroupName;
405  bool m_parameterGroupNameHasBeenSet;
406 
407  Aws::Vector<Aws::String> m_securityGroupIds;
408  bool m_securityGroupIdsHasBeenSet;
409  };
410 
411 } // namespace Model
412 } // namespace DAX
413 } // namespace Aws
Aws::DAX::Model::UpdateClusterRequest::SetNotificationTopicArn
void SetNotificationTopicArn(const Aws::String &value)
Definition: UpdateClusterRequest.h:198
Aws::DAX::Model::UpdateClusterRequest::WithNotificationTopicArn
UpdateClusterRequest & WithNotificationTopicArn(Aws::String &&value)
Definition: UpdateClusterRequest.h:218
Aws::DAX::Model::UpdateClusterRequest::SetParameterGroupName
void SetParameterGroupName(Aws::String &&value)
Definition: UpdateClusterRequest.h:301
Aws::DAX::Model::UpdateClusterRequest::UpdateClusterRequest
UpdateClusterRequest()
Aws::DAX::Model::UpdateClusterRequest::GetClusterName
const Aws::String & GetClusterName() const
Definition: UpdateClusterRequest.h:41
Aws::DAX::Model::UpdateClusterRequest::WithSecurityGroupIds
UpdateClusterRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateClusterRequest.h:357
Aws::DAX::Model::UpdateClusterRequest::WithNotificationTopicArn
UpdateClusterRequest & WithNotificationTopicArn(const Aws::String &value)
Definition: UpdateClusterRequest.h:213
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DAX::Model::UpdateClusterRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateClusterRequest.h:82
Aws::DAX::Model::UpdateClusterRequest::ParameterGroupNameHasBeenSet
bool ParameterGroupNameHasBeenSet() const
Definition: UpdateClusterRequest.h:291
Aws::DAX::Model::UpdateClusterRequest::WithDescription
UpdateClusterRequest & WithDescription(const Aws::String &value)
Definition: UpdateClusterRequest.h:107
Aws::DAX::Model::UpdateClusterRequest
Definition: UpdateClusterRequest.h:23
Aws::DAX::Model::UpdateClusterRequest::SetNotificationTopicStatus
void SetNotificationTopicStatus(Aws::String &&value)
Definition: UpdateClusterRequest.h:252
Aws::DAX::Model::UpdateClusterRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateClusterRequest.h:87
Aws::DAX::Model::UpdateClusterRequest::WithParameterGroupName
UpdateClusterRequest & WithParameterGroupName(const char *value)
Definition: UpdateClusterRequest.h:321
Aws::DAX::Model::UpdateClusterRequest::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: UpdateClusterRequest.h:336
Aws::DAX::DAXRequest
Definition: DAXRequest.h:17
Aws::DAX::Model::UpdateClusterRequest::NotificationTopicArnHasBeenSet
bool NotificationTopicArnHasBeenSet() const
Definition: UpdateClusterRequest.h:193
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DAX::Model::UpdateClusterRequest::AddSecurityGroupIds
UpdateClusterRequest & AddSecurityGroupIds(const Aws::String &value)
Definition: UpdateClusterRequest.h:371
Aws::DAX::Model::UpdateClusterRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
Aws::DAX::Model::UpdateClusterRequest::SetPreferredMaintenanceWindow
void SetPreferredMaintenanceWindow(const Aws::String &value)
Definition: UpdateClusterRequest.h:142
Aws::DAX::Model::UpdateClusterRequest::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateClusterRequest.h:350
Aws::DAX::Model::UpdateClusterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateClusterRequest.h:31
Aws::DAX::Model::UpdateClusterRequest::SetPreferredMaintenanceWindow
void SetPreferredMaintenanceWindow(const char *value)
Definition: UpdateClusterRequest.h:158
Aws::DAX::Model::UpdateClusterRequest::WithNotificationTopicStatus
UpdateClusterRequest & WithNotificationTopicStatus(Aws::String &&value)
Definition: UpdateClusterRequest.h:273
Aws::DAX::Model::UpdateClusterRequest::NotificationTopicStatusHasBeenSet
bool NotificationTopicStatusHasBeenSet() const
Definition: UpdateClusterRequest.h:238
AWS_DAX_API
#define AWS_DAX_API
Definition: DAX_EXPORTS.h:28
Aws::DAX::Model::UpdateClusterRequest::WithClusterName
UpdateClusterRequest & WithClusterName(const Aws::String &value)
Definition: UpdateClusterRequest.h:66
Aws::DAX::Model::UpdateClusterRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateClusterRequest.h:102
Aws::DAX::Model::UpdateClusterRequest::SetClusterName
void SetClusterName(const Aws::String &value)
Definition: UpdateClusterRequest.h:51
Aws::DAX::Model::UpdateClusterRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateClusterRequest.h:92
Aws::DAX::Model::UpdateClusterRequest::SetClusterName
void SetClusterName(const char *value)
Definition: UpdateClusterRequest.h:61
Aws::DAX::Model::UpdateClusterRequest::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: UpdateClusterRequest.h:329
Aws::DAX::Model::UpdateClusterRequest::SetParameterGroupName
void SetParameterGroupName(const char *value)
Definition: UpdateClusterRequest.h:306
Aws::DAX::Model::UpdateClusterRequest::WithParameterGroupName
UpdateClusterRequest & WithParameterGroupName(Aws::String &&value)
Definition: UpdateClusterRequest.h:316
Aws::DAX::Model::UpdateClusterRequest::SetNotificationTopicStatus
void SetNotificationTopicStatus(const Aws::String &value)
Definition: UpdateClusterRequest.h:245
Aws::DAX::Model::UpdateClusterRequest::WithNotificationTopicStatus
UpdateClusterRequest & WithNotificationTopicStatus(const char *value)
Definition: UpdateClusterRequest.h:280
Aws::DAX::Model::UpdateClusterRequest::SetNotificationTopicArn
void SetNotificationTopicArn(Aws::String &&value)
Definition: UpdateClusterRequest.h:203
Aws::DAX::Model::UpdateClusterRequest::WithPreferredMaintenanceWindow
UpdateClusterRequest & WithPreferredMaintenanceWindow(const char *value)
Definition: UpdateClusterRequest.h:182
Aws::DAX::Model::UpdateClusterRequest::GetNotificationTopicArn
const Aws::String & GetNotificationTopicArn() const
Definition: UpdateClusterRequest.h:188
Aws::DAX::Model::UpdateClusterRequest::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: UpdateClusterRequest.h:343
Aws::DAX::Model::UpdateClusterRequest::WithClusterName
UpdateClusterRequest & WithClusterName(Aws::String &&value)
Definition: UpdateClusterRequest.h:71
AWSString.h
Aws::DAX::Model::UpdateClusterRequest::WithPreferredMaintenanceWindow
UpdateClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
Definition: UpdateClusterRequest.h:166
Aws::DAX::Model::UpdateClusterRequest::WithDescription
UpdateClusterRequest & WithDescription(Aws::String &&value)
Definition: UpdateClusterRequest.h:112
Aws::DAX::Model::UpdateClusterRequest::WithParameterGroupName
UpdateClusterRequest & WithParameterGroupName(const Aws::String &value)
Definition: UpdateClusterRequest.h:311
Aws::DAX::Model::UpdateClusterRequest::WithSecurityGroupIds
UpdateClusterRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: UpdateClusterRequest.h:364
Aws::DAX::Model::UpdateClusterRequest::GetParameterGroupName
const Aws::String & GetParameterGroupName() const
Definition: UpdateClusterRequest.h:286
Aws::DAX::Model::UpdateClusterRequest::WithDescription
UpdateClusterRequest & WithDescription(const char *value)
Definition: UpdateClusterRequest.h:117
Aws::DAX::Model::UpdateClusterRequest::GetNotificationTopicStatus
const Aws::String & GetNotificationTopicStatus() const
Definition: UpdateClusterRequest.h:231
Aws::DAX::Model::UpdateClusterRequest::AddSecurityGroupIds
UpdateClusterRequest & AddSecurityGroupIds(Aws::String &&value)
Definition: UpdateClusterRequest.h:378
Aws::DAX::Model::UpdateClusterRequest::GetPreferredMaintenanceWindow
const Aws::String & GetPreferredMaintenanceWindow() const
Definition: UpdateClusterRequest.h:126
Aws::DAX::Model::UpdateClusterRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DAX::Model::UpdateClusterRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateClusterRequest.h:97
Aws
Definition: AccessManagementClient.h:15
DAXRequest.h
Aws::DAX::Model::UpdateClusterRequest::SetParameterGroupName
void SetParameterGroupName(const Aws::String &value)
Definition: UpdateClusterRequest.h:296
Aws::DAX::Model::UpdateClusterRequest::ClusterNameHasBeenSet
bool ClusterNameHasBeenSet() const
Definition: UpdateClusterRequest.h:46
DAX_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DAX::Model::UpdateClusterRequest::SetPreferredMaintenanceWindow
void SetPreferredMaintenanceWindow(Aws::String &&value)
Definition: UpdateClusterRequest.h:150
Aws::DAX::Model::UpdateClusterRequest::WithPreferredMaintenanceWindow
UpdateClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
Definition: UpdateClusterRequest.h:174
Aws::DAX::Model::UpdateClusterRequest::SetClusterName
void SetClusterName(Aws::String &&value)
Definition: UpdateClusterRequest.h:56
Aws::DAX::Model::UpdateClusterRequest::SetNotificationTopicStatus
void SetNotificationTopicStatus(const char *value)
Definition: UpdateClusterRequest.h:259
Aws::DAX::Model::UpdateClusterRequest::WithNotificationTopicArn
UpdateClusterRequest & WithNotificationTopicArn(const char *value)
Definition: UpdateClusterRequest.h:223
Aws::DAX::Model::UpdateClusterRequest::SetNotificationTopicArn
void SetNotificationTopicArn(const char *value)
Definition: UpdateClusterRequest.h:208
Aws::DAX::Model::UpdateClusterRequest::PreferredMaintenanceWindowHasBeenSet
bool PreferredMaintenanceWindowHasBeenSet() const
Definition: UpdateClusterRequest.h:134
Aws::DAX::Model::UpdateClusterRequest::WithClusterName
UpdateClusterRequest & WithClusterName(const char *value)
Definition: UpdateClusterRequest.h:76
Aws::DAX::Model::UpdateClusterRequest::WithNotificationTopicStatus
UpdateClusterRequest & WithNotificationTopicStatus(const Aws::String &value)
Definition: UpdateClusterRequest.h:266
Aws::DAX::Model::UpdateClusterRequest::AddSecurityGroupIds
UpdateClusterRequest & AddSecurityGroupIds(const char *value)
Definition: UpdateClusterRequest.h:385