AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateScalingParametersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CloudSearch
16 {
17 namespace Model
18 {
19 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "UpdateScalingParameters"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
46 
47  inline const Aws::String& GetDomainName() const{ return m_domainName; }
48 
49 
50  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 
52 
53  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
54 
55 
56  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
57 
58 
59  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
60 
61 
62  inline UpdateScalingParametersRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
63 
64 
65  inline UpdateScalingParametersRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
66 
67 
68  inline UpdateScalingParametersRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
69 
70 
71 
72  inline const ScalingParameters& GetScalingParameters() const{ return m_scalingParameters; }
73 
74 
75  inline bool ScalingParametersHasBeenSet() const { return m_scalingParametersHasBeenSet; }
76 
77 
78  inline void SetScalingParameters(const ScalingParameters& value) { m_scalingParametersHasBeenSet = true; m_scalingParameters = value; }
79 
80 
81  inline void SetScalingParameters(ScalingParameters&& value) { m_scalingParametersHasBeenSet = true; m_scalingParameters = std::move(value); }
82 
83 
84  inline UpdateScalingParametersRequest& WithScalingParameters(const ScalingParameters& value) { SetScalingParameters(value); return *this;}
85 
86 
87  inline UpdateScalingParametersRequest& WithScalingParameters(ScalingParameters&& value) { SetScalingParameters(std::move(value)); return *this;}
88 
89  private:
90 
91  Aws::String m_domainName;
92  bool m_domainNameHasBeenSet;
93 
94  ScalingParameters m_scalingParameters;
95  bool m_scalingParametersHasBeenSet;
96  };
97 
98 } // namespace Model
99 } // namespace CloudSearch
100 } // namespace Aws
UpdateScalingParametersRequest & WithDomainName(Aws::String &&value)
UpdateScalingParametersRequest & WithScalingParameters(ScalingParameters &&value)
UpdateScalingParametersRequest & WithScalingParameters(const ScalingParameters &value)
UpdateScalingParametersRequest & WithDomainName(const Aws::String &value)
#define AWS_CLOUDSEARCH_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateScalingParametersRequest & WithDomainName(const char *value)