AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
RestEndpointIdentifier.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/IdentifierParts.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ApiGatewayV2 {
20namespace Model {
21
28 public:
29 AWS_APIGATEWAYV2_API RestEndpointIdentifier() = default;
30 AWS_APIGATEWAYV2_API RestEndpointIdentifier(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const IdentifierParts& GetIdentifierParts() const { return m_identifierParts; }
39 inline bool IdentifierPartsHasBeenSet() const { return m_identifierPartsHasBeenSet; }
40 template <typename IdentifierPartsT = IdentifierParts>
41 void SetIdentifierParts(IdentifierPartsT&& value) {
42 m_identifierPartsHasBeenSet = true;
43 m_identifierParts = std::forward<IdentifierPartsT>(value);
44 }
45 template <typename IdentifierPartsT = IdentifierParts>
46 RestEndpointIdentifier& WithIdentifierParts(IdentifierPartsT&& value) {
47 SetIdentifierParts(std::forward<IdentifierPartsT>(value));
48 return *this;
49 }
51 private:
52 IdentifierParts m_identifierParts;
53 bool m_identifierPartsHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ApiGatewayV2
58} // namespace Aws
AWS_APIGATEWAYV2_API RestEndpointIdentifier()=default
AWS_APIGATEWAYV2_API RestEndpointIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
RestEndpointIdentifier & WithIdentifierParts(IdentifierPartsT &&value)
AWS_APIGATEWAYV2_API RestEndpointIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue