AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DisplayContentOverrides.h
1
6#pragma once
7#include <aws/apiportal/APIPortal_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 APIPortal {
20namespace Model {
21
29 public:
30 AWS_APIPORTAL_API DisplayContentOverrides() = default;
33 AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetOperationName() const { return m_operationName; }
40 inline bool OperationNameHasBeenSet() const { return m_operationNameHasBeenSet; }
41 template <typename OperationNameT = Aws::String>
42 void SetOperationName(OperationNameT&& value) {
43 m_operationNameHasBeenSet = true;
44 m_operationName = std::forward<OperationNameT>(value);
45 }
46 template <typename OperationNameT = Aws::String>
47 DisplayContentOverrides& WithOperationName(OperationNameT&& value) {
48 SetOperationName(std::forward<OperationNameT>(value));
49 return *this;
50 }
52
54
60 inline const Aws::String& GetApiUrl() const { return m_apiUrl; }
61 inline bool ApiUrlHasBeenSet() const { return m_apiUrlHasBeenSet; }
62 template <typename ApiUrlT = Aws::String>
63 void SetApiUrl(ApiUrlT&& value) {
64 m_apiUrlHasBeenSet = true;
65 m_apiUrl = std::forward<ApiUrlT>(value);
66 }
67 template <typename ApiUrlT = Aws::String>
69 SetApiUrl(std::forward<ApiUrlT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetBody() const { return m_body; }
79 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
80 template <typename BodyT = Aws::String>
81 void SetBody(BodyT&& value) {
82 m_bodyHasBeenSet = true;
83 m_body = std::forward<BodyT>(value);
84 }
85 template <typename BodyT = Aws::String>
87 SetBody(std::forward<BodyT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_operationName;
93
94 Aws::String m_apiUrl;
95
96 Aws::String m_body;
97 bool m_operationNameHasBeenSet = false;
98 bool m_apiUrlHasBeenSet = false;
99 bool m_bodyHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace APIPortal
104} // namespace Aws
DisplayContentOverrides & WithBody(BodyT &&value)
AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const
DisplayContentOverrides & WithApiUrl(ApiUrlT &&value)
AWS_APIPORTAL_API DisplayContentOverrides()=default
DisplayContentOverrides & WithOperationName(OperationNameT &&value)
AWS_APIPORTAL_API DisplayContentOverrides(Aws::Utils::Json::JsonView jsonValue)
AWS_APIPORTAL_API DisplayContentOverrides & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue