AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDomainEndpointOptionsRequest.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/DomainEndpointOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudSearch
16{
17namespace 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 "UpdateDomainEndpointOptions"; }
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
50 inline const Aws::String& GetDomainName() const{ return m_domainName; }
51 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
52 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
53 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
54 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
55 inline UpdateDomainEndpointOptionsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
56 inline UpdateDomainEndpointOptionsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
57 inline UpdateDomainEndpointOptionsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
59
61
66 inline const DomainEndpointOptions& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; }
67 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
68 inline void SetDomainEndpointOptions(const DomainEndpointOptions& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = value; }
69 inline void SetDomainEndpointOptions(DomainEndpointOptions&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::move(value); }
73 private:
74
75 Aws::String m_domainName;
76 bool m_domainNameHasBeenSet = false;
77
78 DomainEndpointOptions m_domainEndpointOptions;
79 bool m_domainEndpointOptionsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CloudSearch
84} // namespace Aws
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
UpdateDomainEndpointOptionsRequest & WithDomainEndpointOptions(DomainEndpointOptions &&value)
UpdateDomainEndpointOptionsRequest & WithDomainEndpointOptions(const DomainEndpointOptions &value)
UpdateDomainEndpointOptionsRequest & WithDomainName(const char *value)
UpdateDomainEndpointOptionsRequest & WithDomainName(const Aws::String &value)
UpdateDomainEndpointOptionsRequest & WithDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String