AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CancelResizeRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CancelResize"; }
31
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
43 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
44
49 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
50
55 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
56
61 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
62
67 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
68
73 inline CancelResizeRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
74
79 inline CancelResizeRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
80
85 inline CancelResizeRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
86
87 private:
88
89 Aws::String m_clusterIdentifier;
90 bool m_clusterIdentifierHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Redshift
95} // namespace Aws
#define AWS_REDSHIFT_API
CancelResizeRequest & WithClusterIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClusterIdentifier() const
void SetClusterIdentifier(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CancelResizeRequest & WithClusterIdentifier(Aws::String &&value)
CancelResizeRequest & WithClusterIdentifier(const char *value)
void SetClusterIdentifier(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String