AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsApiGatewayV2ApiDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsCorsConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsApiGatewayV2ApiDetails();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetApiEndpoint() const{ return m_apiEndpoint; }
50 inline bool ApiEndpointHasBeenSet() const { return m_apiEndpointHasBeenSet; }
51 inline void SetApiEndpoint(const Aws::String& value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint = value; }
52 inline void SetApiEndpoint(Aws::String&& value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint = std::move(value); }
53 inline void SetApiEndpoint(const char* value) { m_apiEndpointHasBeenSet = true; m_apiEndpoint.assign(value); }
54 inline AwsApiGatewayV2ApiDetails& WithApiEndpoint(const Aws::String& value) { SetApiEndpoint(value); return *this;}
55 inline AwsApiGatewayV2ApiDetails& WithApiEndpoint(Aws::String&& value) { SetApiEndpoint(std::move(value)); return *this;}
56 inline AwsApiGatewayV2ApiDetails& WithApiEndpoint(const char* value) { SetApiEndpoint(value); return *this;}
58
60
63 inline const Aws::String& GetApiId() const{ return m_apiId; }
64 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
65 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
66 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
67 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
68 inline AwsApiGatewayV2ApiDetails& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
69 inline AwsApiGatewayV2ApiDetails& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
70 inline AwsApiGatewayV2ApiDetails& WithApiId(const char* value) { SetApiId(value); return *this;}
72
74
77 inline const Aws::String& GetApiKeySelectionExpression() const{ return m_apiKeySelectionExpression; }
78 inline bool ApiKeySelectionExpressionHasBeenSet() const { return m_apiKeySelectionExpressionHasBeenSet; }
79 inline void SetApiKeySelectionExpression(const Aws::String& value) { m_apiKeySelectionExpressionHasBeenSet = true; m_apiKeySelectionExpression = value; }
80 inline void SetApiKeySelectionExpression(Aws::String&& value) { m_apiKeySelectionExpressionHasBeenSet = true; m_apiKeySelectionExpression = std::move(value); }
81 inline void SetApiKeySelectionExpression(const char* value) { m_apiKeySelectionExpressionHasBeenSet = true; m_apiKeySelectionExpression.assign(value); }
86
88
105 inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
106 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
107 inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
108 inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
109 inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); }
110 inline AwsApiGatewayV2ApiDetails& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
111 inline AwsApiGatewayV2ApiDetails& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
112 inline AwsApiGatewayV2ApiDetails& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
114
116
119 inline const Aws::String& GetDescription() const{ return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
122 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
123 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
124 inline AwsApiGatewayV2ApiDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
125 inline AwsApiGatewayV2ApiDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
126 inline AwsApiGatewayV2ApiDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
128
130
133 inline const Aws::String& GetVersion() const{ return m_version; }
134 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
135 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
136 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
137 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
138 inline AwsApiGatewayV2ApiDetails& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
139 inline AwsApiGatewayV2ApiDetails& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
140 inline AwsApiGatewayV2ApiDetails& WithVersion(const char* value) { SetVersion(value); return *this;}
142
144
147 inline const Aws::String& GetName() const{ return m_name; }
148 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
149 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
150 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
151 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
152 inline AwsApiGatewayV2ApiDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
153 inline AwsApiGatewayV2ApiDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
154 inline AwsApiGatewayV2ApiDetails& WithName(const char* value) { SetName(value); return *this;}
156
158
162 inline const Aws::String& GetProtocolType() const{ return m_protocolType; }
163 inline bool ProtocolTypeHasBeenSet() const { return m_protocolTypeHasBeenSet; }
164 inline void SetProtocolType(const Aws::String& value) { m_protocolTypeHasBeenSet = true; m_protocolType = value; }
165 inline void SetProtocolType(Aws::String&& value) { m_protocolTypeHasBeenSet = true; m_protocolType = std::move(value); }
166 inline void SetProtocolType(const char* value) { m_protocolTypeHasBeenSet = true; m_protocolType.assign(value); }
167 inline AwsApiGatewayV2ApiDetails& WithProtocolType(const Aws::String& value) { SetProtocolType(value); return *this;}
168 inline AwsApiGatewayV2ApiDetails& WithProtocolType(Aws::String&& value) { SetProtocolType(std::move(value)); return *this;}
169 inline AwsApiGatewayV2ApiDetails& WithProtocolType(const char* value) { SetProtocolType(value); return *this;}
171
173
178 inline const Aws::String& GetRouteSelectionExpression() const{ return m_routeSelectionExpression; }
179 inline bool RouteSelectionExpressionHasBeenSet() const { return m_routeSelectionExpressionHasBeenSet; }
180 inline void SetRouteSelectionExpression(const Aws::String& value) { m_routeSelectionExpressionHasBeenSet = true; m_routeSelectionExpression = value; }
181 inline void SetRouteSelectionExpression(Aws::String&& value) { m_routeSelectionExpressionHasBeenSet = true; m_routeSelectionExpression = std::move(value); }
182 inline void SetRouteSelectionExpression(const char* value) { m_routeSelectionExpressionHasBeenSet = true; m_routeSelectionExpression.assign(value); }
187
189
193 inline const AwsCorsConfiguration& GetCorsConfiguration() const{ return m_corsConfiguration; }
194 inline bool CorsConfigurationHasBeenSet() const { return m_corsConfigurationHasBeenSet; }
195 inline void SetCorsConfiguration(const AwsCorsConfiguration& value) { m_corsConfigurationHasBeenSet = true; m_corsConfiguration = value; }
196 inline void SetCorsConfiguration(AwsCorsConfiguration&& value) { m_corsConfigurationHasBeenSet = true; m_corsConfiguration = std::move(value); }
200 private:
201
202 Aws::String m_apiEndpoint;
203 bool m_apiEndpointHasBeenSet = false;
204
205 Aws::String m_apiId;
206 bool m_apiIdHasBeenSet = false;
207
208 Aws::String m_apiKeySelectionExpression;
209 bool m_apiKeySelectionExpressionHasBeenSet = false;
210
211 Aws::String m_createdDate;
212 bool m_createdDateHasBeenSet = false;
213
214 Aws::String m_description;
215 bool m_descriptionHasBeenSet = false;
216
217 Aws::String m_version;
218 bool m_versionHasBeenSet = false;
219
220 Aws::String m_name;
221 bool m_nameHasBeenSet = false;
222
223 Aws::String m_protocolType;
224 bool m_protocolTypeHasBeenSet = false;
225
226 Aws::String m_routeSelectionExpression;
227 bool m_routeSelectionExpressionHasBeenSet = false;
228
229 AwsCorsConfiguration m_corsConfiguration;
230 bool m_corsConfigurationHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace SecurityHub
235} // namespace Aws
AwsApiGatewayV2ApiDetails & WithApiId(const char *value)
AWS_SECURITYHUB_API AwsApiGatewayV2ApiDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayV2ApiDetails & WithRouteSelectionExpression(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsApiGatewayV2ApiDetails & WithApiEndpoint(const char *value)
AwsApiGatewayV2ApiDetails & WithApiKeySelectionExpression(Aws::String &&value)
AwsApiGatewayV2ApiDetails & WithName(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithDescription(Aws::String &&value)
AwsApiGatewayV2ApiDetails & WithApiEndpoint(Aws::String &&value)
AwsApiGatewayV2ApiDetails & WithDescription(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithName(const char *value)
AwsApiGatewayV2ApiDetails & WithCreatedDate(Aws::String &&value)
AwsApiGatewayV2ApiDetails & WithRouteSelectionExpression(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithVersion(const char *value)
AwsApiGatewayV2ApiDetails & WithApiId(Aws::String &&value)
AwsApiGatewayV2ApiDetails & WithCreatedDate(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithProtocolType(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithApiEndpoint(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithVersion(Aws::String &&value)
AWS_SECURITYHUB_API AwsApiGatewayV2ApiDetails(Aws::Utils::Json::JsonView jsonValue)
AwsApiGatewayV2ApiDetails & WithDescription(const char *value)
AwsApiGatewayV2ApiDetails & WithApiKeySelectionExpression(const char *value)
AwsApiGatewayV2ApiDetails & WithApiKeySelectionExpression(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithCorsConfiguration(AwsCorsConfiguration &&value)
AwsApiGatewayV2ApiDetails & WithProtocolType(Aws::String &&value)
AwsApiGatewayV2ApiDetails & WithProtocolType(const char *value)
void SetCorsConfiguration(const AwsCorsConfiguration &value)
AwsApiGatewayV2ApiDetails & WithVersion(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithRouteSelectionExpression(const char *value)
AwsApiGatewayV2ApiDetails & WithCreatedDate(const char *value)
AwsApiGatewayV2ApiDetails & WithApiId(const Aws::String &value)
AwsApiGatewayV2ApiDetails & WithCorsConfiguration(const AwsCorsConfiguration &value)
AwsApiGatewayV2ApiDetails & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue