AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
DeleteDomainNameRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace APIGateway {
18namespace Model {
19
26 public:
27 AWS_APIGATEWAY_API DeleteDomainNameRequest() = 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 "DeleteDomainName"; }
34
35 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
36
37 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
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
62 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
63 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
64 template <typename DomainNameIdT = Aws::String>
65 void SetDomainNameId(DomainNameIdT&& value) {
66 m_domainNameIdHasBeenSet = true;
67 m_domainNameId = std::forward<DomainNameIdT>(value);
68 }
69 template <typename DomainNameIdT = Aws::String>
70 DeleteDomainNameRequest& WithDomainNameId(DomainNameIdT&& value) {
71 SetDomainNameId(std::forward<DomainNameIdT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_domainName;
77
78 Aws::String m_domainNameId;
79 bool m_domainNameHasBeenSet = false;
80 bool m_domainNameIdHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace APIGateway
85} // namespace Aws
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteDomainNameRequest & WithDomainName(DomainNameT &&value)
AWS_APIGATEWAY_API DeleteDomainNameRequest()=default
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteDomainNameRequest & WithDomainNameId(DomainNameIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String