AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBasePathMappingRequest.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
26 {
27 public:
28 AWS_APIGATEWAY_API CreateBasePathMappingRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateBasePathMapping"; }
35
36 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetDomainName() const{ return m_domainName; }
44 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
46 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
47 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
48 inline CreateBasePathMappingRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
49 inline CreateBasePathMappingRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
50 inline CreateBasePathMappingRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
52
54
60 inline const Aws::String& GetBasePath() const{ return m_basePath; }
61 inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
62 inline void SetBasePath(const Aws::String& value) { m_basePathHasBeenSet = true; m_basePath = value; }
63 inline void SetBasePath(Aws::String&& value) { m_basePathHasBeenSet = true; m_basePath = std::move(value); }
64 inline void SetBasePath(const char* value) { m_basePathHasBeenSet = true; m_basePath.assign(value); }
65 inline CreateBasePathMappingRequest& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
66 inline CreateBasePathMappingRequest& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
67 inline CreateBasePathMappingRequest& WithBasePath(const char* value) { SetBasePath(value); return *this;}
69
71
74 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
75 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
76 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
77 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
78 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
79 inline CreateBasePathMappingRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
80 inline CreateBasePathMappingRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
81 inline CreateBasePathMappingRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
83
85
90 inline const Aws::String& GetStage() const{ return m_stage; }
91 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
92 inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; }
93 inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
94 inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); }
95 inline CreateBasePathMappingRequest& WithStage(const Aws::String& value) { SetStage(value); return *this;}
96 inline CreateBasePathMappingRequest& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
97 inline CreateBasePathMappingRequest& WithStage(const char* value) { SetStage(value); return *this;}
99 private:
100
101 Aws::String m_domainName;
102 bool m_domainNameHasBeenSet = false;
103
104 Aws::String m_basePath;
105 bool m_basePathHasBeenSet = false;
106
107 Aws::String m_restApiId;
108 bool m_restApiIdHasBeenSet = false;
109
110 Aws::String m_stage;
111 bool m_stageHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace APIGateway
116} // namespace Aws
CreateBasePathMappingRequest & WithDomainName(Aws::String &&value)
CreateBasePathMappingRequest & WithBasePath(const Aws::String &value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
CreateBasePathMappingRequest & WithDomainName(const char *value)
CreateBasePathMappingRequest & WithBasePath(Aws::String &&value)
CreateBasePathMappingRequest & WithStage(Aws::String &&value)
CreateBasePathMappingRequest & WithStage(const char *value)
CreateBasePathMappingRequest & WithBasePath(const char *value)
CreateBasePathMappingRequest & WithStage(const Aws::String &value)
CreateBasePathMappingRequest & WithRestApiId(Aws::String &&value)
CreateBasePathMappingRequest & WithRestApiId(const char *value)
CreateBasePathMappingRequest & WithDomainName(const Aws::String &value)
CreateBasePathMappingRequest & WithRestApiId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String