AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
DisplayContentOverrides.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
29 public:
30 AWS_APIGATEWAYV2_API DisplayContentOverrides() = default;
31 AWS_APIGATEWAYV2_API DisplayContentOverrides(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetBody() const { return m_body; }
41 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
42 template <typename BodyT = Aws::String>
43 void SetBody(BodyT&& value) {
44 m_bodyHasBeenSet = true;
45 m_body = std::forward<BodyT>(value);
46 }
47 template <typename BodyT = Aws::String>
49 SetBody(std::forward<BodyT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
60 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
61 template <typename EndpointT = Aws::String>
62 void SetEndpoint(EndpointT&& value) {
63 m_endpointHasBeenSet = true;
64 m_endpoint = std::forward<EndpointT>(value);
65 }
66 template <typename EndpointT = Aws::String>
68 SetEndpoint(std::forward<EndpointT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetOperationName() const { return m_operationName; }
78 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
79 template <typename OperationNameT = Aws::String>
80 void SetOperationName(OperationNameT&& value) {
81 m_operationNameHasBeenSet = true;
82 m_operationName = std::forward<OperationNameT>(value);
83 }
84 template <typename OperationNameT = Aws::String>
85 DisplayContentOverrides& WithOperationName(OperationNameT&& value) {
86 SetOperationName(std::forward<OperationNameT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_body;
92
93 Aws::String m_endpoint;
94
95 Aws::String m_operationName;
96 bool m_bodyHasBeenSet = false;
97 bool m_endpointHasBeenSet = false;
98 bool m_operationNameHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace ApiGatewayV2
103} // namespace Aws
AWS_APIGATEWAYV2_API DisplayContentOverrides & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API DisplayContentOverrides()=default
AWS_APIGATEWAYV2_API DisplayContentOverrides(Aws::Utils::Json::JsonView jsonValue)
DisplayContentOverrides & WithOperationName(OperationNameT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
DisplayContentOverrides & WithBody(BodyT &&value)
DisplayContentOverrides & WithEndpoint(EndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue