AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyDBShardGroupRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace RDS
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 "ModifyDBShardGroup"; }
31
32 AWS_RDS_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetDBShardGroupIdentifier() const{ return m_dBShardGroupIdentifier; }
44 inline bool DBShardGroupIdentifierHasBeenSet() const { return m_dBShardGroupIdentifierHasBeenSet; }
45 inline void SetDBShardGroupIdentifier(const Aws::String& value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier = value; }
46 inline void SetDBShardGroupIdentifier(Aws::String&& value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier = std::move(value); }
47 inline void SetDBShardGroupIdentifier(const char* value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier.assign(value); }
50 inline ModifyDBShardGroupRequest& WithDBShardGroupIdentifier(const char* value) { SetDBShardGroupIdentifier(value); return *this;}
52
54
58 inline double GetMaxACU() const{ return m_maxACU; }
59 inline bool MaxACUHasBeenSet() const { return m_maxACUHasBeenSet; }
60 inline void SetMaxACU(double value) { m_maxACUHasBeenSet = true; m_maxACU = value; }
61 inline ModifyDBShardGroupRequest& WithMaxACU(double value) { SetMaxACU(value); return *this;}
63
65
69 inline double GetMinACU() const{ return m_minACU; }
70 inline bool MinACUHasBeenSet() const { return m_minACUHasBeenSet; }
71 inline void SetMinACU(double value) { m_minACUHasBeenSet = true; m_minACU = value; }
72 inline ModifyDBShardGroupRequest& WithMinACU(double value) { SetMinACU(value); return *this;}
74
76
84 inline int GetComputeRedundancy() const{ return m_computeRedundancy; }
85 inline bool ComputeRedundancyHasBeenSet() const { return m_computeRedundancyHasBeenSet; }
86 inline void SetComputeRedundancy(int value) { m_computeRedundancyHasBeenSet = true; m_computeRedundancy = value; }
87 inline ModifyDBShardGroupRequest& WithComputeRedundancy(int value) { SetComputeRedundancy(value); return *this;}
89 private:
90
91 Aws::String m_dBShardGroupIdentifier;
92 bool m_dBShardGroupIdentifierHasBeenSet = false;
93
94 double m_maxACU;
95 bool m_maxACUHasBeenSet = false;
96
97 double m_minACU;
98 bool m_minACUHasBeenSet = false;
99
100 int m_computeRedundancy;
101 bool m_computeRedundancyHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace RDS
106} // namespace Aws
ModifyDBShardGroupRequest & WithMinACU(double value)
ModifyDBShardGroupRequest & WithDBShardGroupIdentifier(const char *value)
void SetDBShardGroupIdentifier(const Aws::String &value)
ModifyDBShardGroupRequest & WithDBShardGroupIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ModifyDBShardGroupRequest & WithComputeRedundancy(int value)
ModifyDBShardGroupRequest & WithDBShardGroupIdentifier(const Aws::String &value)
AWS_RDS_API Aws::String SerializePayload() const override
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBShardGroupRequest & WithMaxACU(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String