AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateAvailabilityOptionsRequest.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearchRequest.h>
8#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudSearch {
15namespace Model {
16
26 public:
27 AWS_CLOUDSEARCH_API UpdateAvailabilityOptionsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateAvailabilityOptions"; }
34
35 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
43 inline const Aws::String& GetDomainName() const { return m_domainName; }
44 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 template <typename DomainNameT = Aws::String>
46 void SetDomainName(DomainNameT&& value) {
47 m_domainNameHasBeenSet = true;
48 m_domainName = std::forward<DomainNameT>(value);
49 }
50 template <typename DomainNameT = Aws::String>
52 SetDomainName(std::forward<DomainNameT>(value));
53 return *this;
54 }
56
58
64 inline bool GetMultiAZ() const { return m_multiAZ; }
65 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
66 inline void SetMultiAZ(bool value) {
67 m_multiAZHasBeenSet = true;
68 m_multiAZ = value;
69 }
71 SetMultiAZ(value);
72 return *this;
73 }
75 private:
76 Aws::String m_domainName;
77
78 bool m_multiAZ{false};
79 bool m_domainNameHasBeenSet = false;
80 bool m_multiAZHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace CloudSearch
85} // namespace Aws
UpdateAvailabilityOptionsRequest & WithDomainName(DomainNameT &&value)
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
AWS_CLOUDSEARCH_API UpdateAvailabilityOptionsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String