AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
24 AWS_RDS_API ModifyDBShardGroupRequest() = default;
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 template<typename DBShardGroupIdentifierT = Aws::String>
46 void SetDBShardGroupIdentifier(DBShardGroupIdentifierT&& value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier = std::forward<DBShardGroupIdentifierT>(value); }
47 template<typename DBShardGroupIdentifierT = Aws::String>
48 ModifyDBShardGroupRequest& WithDBShardGroupIdentifier(DBShardGroupIdentifierT&& value) { SetDBShardGroupIdentifier(std::forward<DBShardGroupIdentifierT>(value)); return *this;}
50
52
56 inline double GetMaxACU() const { return m_maxACU; }
57 inline bool MaxACUHasBeenSet() const { return m_maxACUHasBeenSet; }
58 inline void SetMaxACU(double value) { m_maxACUHasBeenSet = true; m_maxACU = value; }
59 inline ModifyDBShardGroupRequest& WithMaxACU(double value) { SetMaxACU(value); return *this;}
61
63
67 inline double GetMinACU() const { return m_minACU; }
68 inline bool MinACUHasBeenSet() const { return m_minACUHasBeenSet; }
69 inline void SetMinACU(double value) { m_minACUHasBeenSet = true; m_minACU = value; }
70 inline ModifyDBShardGroupRequest& WithMinACU(double value) { SetMinACU(value); return *this;}
72
74
82 inline int GetComputeRedundancy() const { return m_computeRedundancy; }
83 inline bool ComputeRedundancyHasBeenSet() const { return m_computeRedundancyHasBeenSet; }
84 inline void SetComputeRedundancy(int value) { m_computeRedundancyHasBeenSet = true; m_computeRedundancy = value; }
85 inline ModifyDBShardGroupRequest& WithComputeRedundancy(int value) { SetComputeRedundancy(value); return *this;}
87 private:
88
89 Aws::String m_dBShardGroupIdentifier;
90 bool m_dBShardGroupIdentifierHasBeenSet = false;
91
92 double m_maxACU{0.0};
93 bool m_maxACUHasBeenSet = false;
94
95 double m_minACU{0.0};
96 bool m_minACUHasBeenSet = false;
97
98 int m_computeRedundancy{0};
99 bool m_computeRedundancyHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace RDS
104} // namespace Aws
ModifyDBShardGroupRequest & WithMinACU(double value)
void SetDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
AWS_RDS_API ModifyDBShardGroupRequest()=default
virtual const char * GetServiceRequestName() const override
ModifyDBShardGroupRequest & WithComputeRedundancy(int value)
AWS_RDS_API Aws::String SerializePayload() const override
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyDBShardGroupRequest & WithMaxACU(double value)
ModifyDBShardGroupRequest & WithDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String