AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateClusterRequest.h
1
6#pragma once
7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/dax/DAXRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DAX
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DAX_API UpdateClusterRequest();
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_DAX_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
43 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
44 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
45 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
46 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
47 inline UpdateClusterRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
48 inline UpdateClusterRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
49 inline UpdateClusterRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline UpdateClusterRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline UpdateClusterRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline UpdateClusterRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
73 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
74 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
75 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
76 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
77 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
80 inline UpdateClusterRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
82
84
87 inline const Aws::String& GetNotificationTopicArn() const{ return m_notificationTopicArn; }
88 inline bool NotificationTopicArnHasBeenSet() const { return m_notificationTopicArnHasBeenSet; }
89 inline void SetNotificationTopicArn(const Aws::String& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = value; }
90 inline void SetNotificationTopicArn(Aws::String&& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = std::move(value); }
91 inline void SetNotificationTopicArn(const char* value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn.assign(value); }
93 inline UpdateClusterRequest& WithNotificationTopicArn(Aws::String&& value) { SetNotificationTopicArn(std::move(value)); return *this;}
94 inline UpdateClusterRequest& WithNotificationTopicArn(const char* value) { SetNotificationTopicArn(value); return *this;}
96
98
103 inline const Aws::String& GetNotificationTopicStatus() const{ return m_notificationTopicStatus; }
104 inline bool NotificationTopicStatusHasBeenSet() const { return m_notificationTopicStatusHasBeenSet; }
105 inline void SetNotificationTopicStatus(const Aws::String& value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus = value; }
106 inline void SetNotificationTopicStatus(Aws::String&& value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus = std::move(value); }
107 inline void SetNotificationTopicStatus(const char* value) { m_notificationTopicStatusHasBeenSet = true; m_notificationTopicStatus.assign(value); }
110 inline UpdateClusterRequest& WithNotificationTopicStatus(const char* value) { SetNotificationTopicStatus(value); return *this;}
112
114
117 inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
118 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
119 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
120 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
121 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
123 inline UpdateClusterRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
124 inline UpdateClusterRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
126
128
133 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
134 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
135 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
136 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
139 inline UpdateClusterRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
140 inline UpdateClusterRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
141 inline UpdateClusterRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
143 private:
144
145 Aws::String m_clusterName;
146 bool m_clusterNameHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::String m_preferredMaintenanceWindow;
152 bool m_preferredMaintenanceWindowHasBeenSet = false;
153
154 Aws::String m_notificationTopicArn;
155 bool m_notificationTopicArnHasBeenSet = false;
156
157 Aws::String m_notificationTopicStatus;
158 bool m_notificationTopicStatusHasBeenSet = false;
159
160 Aws::String m_parameterGroupName;
161 bool m_parameterGroupNameHasBeenSet = false;
162
163 Aws::Vector<Aws::String> m_securityGroupIds;
164 bool m_securityGroupIdsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace DAX
169} // namespace Aws
AWS_DAX_API Aws::String SerializePayload() const override
void SetParameterGroupName(const Aws::String &value)
UpdateClusterRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetNotificationTopicArn(const char *value)
const Aws::String & GetParameterGroupName() const
const Aws::String & GetDescription() const
UpdateClusterRequest & WithNotificationTopicArn(const Aws::String &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetClusterName() const
UpdateClusterRequest & WithNotificationTopicArn(const char *value)
const Aws::String & GetNotificationTopicStatus() const
UpdateClusterRequest & WithDescription(Aws::String &&value)
UpdateClusterRequest & WithNotificationTopicArn(Aws::String &&value)
void SetNotificationTopicArn(const Aws::String &value)
UpdateClusterRequest & WithParameterGroupName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetNotificationTopicStatus(const Aws::String &value)
UpdateClusterRequest & WithClusterName(const char *value)
UpdateClusterRequest & WithDescription(const char *value)
const Aws::String & GetNotificationTopicArn() const
UpdateClusterRequest & WithNotificationTopicStatus(const char *value)
UpdateClusterRequest & WithClusterName(Aws::String &&value)
UpdateClusterRequest & WithClusterName(const Aws::String &value)
const Aws::String & GetPreferredMaintenanceWindow() const
UpdateClusterRequest & AddSecurityGroupIds(const Aws::String &value)
UpdateClusterRequest & WithDescription(const Aws::String &value)
UpdateClusterRequest & AddSecurityGroupIds(Aws::String &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
UpdateClusterRequest & WithParameterGroupName(const char *value)
void SetDescription(const Aws::String &value)
UpdateClusterRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
UpdateClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
void SetClusterName(const Aws::String &value)
void SetNotificationTopicStatus(const char *value)
void SetNotificationTopicArn(Aws::String &&value)
UpdateClusterRequest & WithNotificationTopicStatus(const Aws::String &value)
UpdateClusterRequest & WithPreferredMaintenanceWindow(const char *value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetPreferredMaintenanceWindow(const char *value)
void SetParameterGroupName(Aws::String &&value)
UpdateClusterRequest & AddSecurityGroupIds(const char *value)
void SetNotificationTopicStatus(Aws::String &&value)
AWS_DAX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateClusterRequest & WithParameterGroupName(const Aws::String &value)
UpdateClusterRequest & WithNotificationTopicStatus(Aws::String &&value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector