AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBasePathMappingRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace APIGateway
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_APIGATEWAY_API GetBasePathMappingRequest();
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 "GetBasePathMapping"; }
34
35 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDomainName() const{ return m_domainName; }
43 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
45 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
46 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
47 inline GetBasePathMappingRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline GetBasePathMappingRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline GetBasePathMappingRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
51
53
59 inline const Aws::String& GetBasePath() const{ return m_basePath; }
60 inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
61 inline void SetBasePath(const Aws::String& value) { m_basePathHasBeenSet = true; m_basePath = value; }
62 inline void SetBasePath(Aws::String&& value) { m_basePathHasBeenSet = true; m_basePath = std::move(value); }
63 inline void SetBasePath(const char* value) { m_basePathHasBeenSet = true; m_basePath.assign(value); }
64 inline GetBasePathMappingRequest& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
65 inline GetBasePathMappingRequest& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
66 inline GetBasePathMappingRequest& WithBasePath(const char* value) { SetBasePath(value); return *this;}
68 private:
69
70 Aws::String m_domainName;
71 bool m_domainNameHasBeenSet = false;
72
73 Aws::String m_basePath;
74 bool m_basePathHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace APIGateway
79} // namespace Aws
GetBasePathMappingRequest & WithDomainName(const char *value)
GetBasePathMappingRequest & WithDomainName(Aws::String &&value)
GetBasePathMappingRequest & WithBasePath(const char *value)
GetBasePathMappingRequest & WithBasePath(const Aws::String &value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetBasePathMappingRequest & WithDomainName(const Aws::String &value)
GetBasePathMappingRequest & WithBasePath(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String