AWS SDK for C++  0.14.3
AWS SDK for C++
UpdateScalingParametersRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace CloudSearch
24 {
25 namespace Model
26 {
27 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
39 
40  inline const Aws::String& GetDomainName() const{ return m_domainName; }
41 
42 
43  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
44 
45 
46  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 
48 
49  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
50 
51 
52  inline UpdateScalingParametersRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
53 
54 
55  inline UpdateScalingParametersRequest& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
56 
57 
58  inline UpdateScalingParametersRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
59 
60 
61  inline const ScalingParameters& GetScalingParameters() const{ return m_scalingParameters; }
62 
63 
64  inline void SetScalingParameters(const ScalingParameters& value) { m_scalingParametersHasBeenSet = true; m_scalingParameters = value; }
65 
66 
67  inline void SetScalingParameters(ScalingParameters&& value) { m_scalingParametersHasBeenSet = true; m_scalingParameters = value; }
68 
69 
70  inline UpdateScalingParametersRequest& WithScalingParameters(const ScalingParameters& value) { SetScalingParameters(value); return *this;}
71 
72 
73  inline UpdateScalingParametersRequest& WithScalingParameters(ScalingParameters&& value) { SetScalingParameters(value); return *this;}
74 
75  private:
76  Aws::String m_domainName;
77  bool m_domainNameHasBeenSet;
78  ScalingParameters m_scalingParameters;
79  bool m_scalingParametersHasBeenSet;
80  };
81 
82 } // namespace Model
83 } // namespace CloudSearch
84 } // 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)
JSON (JavaScript Object Notation).