AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
EndpointDisplayContentResponse.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 EndpointDisplayContentResponse() = default;
32 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetBody() const { return m_body; }
39 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
40 template <typename BodyT = Aws::String>
41 void SetBody(BodyT&& value) {
42 m_bodyHasBeenSet = true;
43 m_body = std::forward<BodyT>(value);
44 }
45 template <typename BodyT = Aws::String>
47 SetBody(std::forward<BodyT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
57 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
58 template <typename EndpointT = Aws::String>
59 void SetEndpoint(EndpointT&& value) {
60 m_endpointHasBeenSet = true;
61 m_endpoint = std::forward<EndpointT>(value);
62 }
63 template <typename EndpointT = Aws::String>
65 SetEndpoint(std::forward<EndpointT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetOperationName() const { return m_operationName; }
75 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
76 template <typename OperationNameT = Aws::String>
77 void SetOperationName(OperationNameT&& value) {
78 m_operationNameHasBeenSet = true;
79 m_operationName = std::forward<OperationNameT>(value);
80 }
81 template <typename OperationNameT = Aws::String>
83 SetOperationName(std::forward<OperationNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_body;
89
90 Aws::String m_endpoint;
91
92 Aws::String m_operationName;
93 bool m_bodyHasBeenSet = false;
94 bool m_endpointHasBeenSet = false;
95 bool m_operationNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace ApiGatewayV2
100} // namespace Aws
EndpointDisplayContentResponse & WithOperationName(OperationNameT &&value)
EndpointDisplayContentResponse & WithEndpoint(EndpointT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API EndpointDisplayContentResponse()=default
AWS_APIGATEWAYV2_API EndpointDisplayContentResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API EndpointDisplayContentResponse(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue