AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyClusterSubnetGroupRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.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 Redshift
16{
17namespace Model
18{
19
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ModifyClusterSubnetGroup"; }
35
36 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; }
48 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
49 inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; }
50 inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); }
51 inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); }
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline ModifyClusterSubnetGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline ModifyClusterSubnetGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline ModifyClusterSubnetGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
76 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
77 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
78 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
79 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
81 inline ModifyClusterSubnetGroupRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
82 inline ModifyClusterSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
83 inline ModifyClusterSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
84 inline ModifyClusterSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
86 private:
87
88 Aws::String m_clusterSubnetGroupName;
89 bool m_clusterSubnetGroupNameHasBeenSet = false;
90
91 Aws::String m_description;
92 bool m_descriptionHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_subnetIds;
95 bool m_subnetIdsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Redshift
100} // namespace Aws
ModifyClusterSubnetGroupRequest & WithDescription(const char *value)
ModifyClusterSubnetGroupRequest & AddSubnetIds(const char *value)
ModifyClusterSubnetGroupRequest & WithClusterSubnetGroupName(Aws::String &&value)
ModifyClusterSubnetGroupRequest & AddSubnetIds(Aws::String &&value)
ModifyClusterSubnetGroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
ModifyClusterSubnetGroupRequest & WithDescription(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyClusterSubnetGroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
ModifyClusterSubnetGroupRequest & WithDescription(Aws::String &&value)
ModifyClusterSubnetGroupRequest & AddSubnetIds(const Aws::String &value)
ModifyClusterSubnetGroupRequest & WithClusterSubnetGroupName(const Aws::String &value)
ModifyClusterSubnetGroupRequest & WithClusterSubnetGroupName(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector