AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateScalingParametersRequest.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/CloudSearchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudsearch/model/ScalingParameters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudSearch
16{
17namespace Model
18{
19
29 {
30 public:
31 AWS_CLOUDSEARCH_API UpdateScalingParametersRequest();
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_CLOUDSEARCH_API Aws::String SerializePayload() const override;
40
41 protected:
42 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43
44 public:
45
47
48 inline const Aws::String& GetDomainName() const{ return m_domainName; }
49 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
51 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
52 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
53 inline UpdateScalingParametersRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
54 inline UpdateScalingParametersRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
55 inline UpdateScalingParametersRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
57
59
60 inline const ScalingParameters& GetScalingParameters() const{ return m_scalingParameters; }
61 inline bool ScalingParametersHasBeenSet() const { return m_scalingParametersHasBeenSet; }
62 inline void SetScalingParameters(const ScalingParameters& value) { m_scalingParametersHasBeenSet = true; m_scalingParameters = value; }
63 inline void SetScalingParameters(ScalingParameters&& value) { m_scalingParametersHasBeenSet = true; m_scalingParameters = std::move(value); }
67 private:
68
69 Aws::String m_domainName;
70 bool m_domainNameHasBeenSet = false;
71
72 ScalingParameters m_scalingParameters;
73 bool m_scalingParametersHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CloudSearch
78} // namespace Aws
UpdateScalingParametersRequest & WithDomainName(const Aws::String &value)
UpdateScalingParametersRequest & WithDomainName(Aws::String &&value)
UpdateScalingParametersRequest & WithScalingParameters(ScalingParameters &&value)
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateScalingParametersRequest & WithDomainName(const char *value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
UpdateScalingParametersRequest & WithScalingParameters(const ScalingParameters &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String