AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
DisplayContent.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 DisplayContent() = default;
30 AWS_APIGATEWAYV2_API DisplayContent(Aws::Utils::Json::JsonView jsonValue);
31 AWS_APIGATEWAYV2_API DisplayContent& operator=(Aws::Utils::Json::JsonView jsonValue);
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>
46 DisplayContent& WithBody(BodyT&& value) {
47 SetBody(std::forward<BodyT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTitle() const { return m_title; }
57 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
58 template <typename TitleT = Aws::String>
59 void SetTitle(TitleT&& value) {
60 m_titleHasBeenSet = true;
61 m_title = std::forward<TitleT>(value);
62 }
63 template <typename TitleT = Aws::String>
64 DisplayContent& WithTitle(TitleT&& value) {
65 SetTitle(std::forward<TitleT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_body;
71
72 Aws::String m_title;
73 bool m_bodyHasBeenSet = false;
74 bool m_titleHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace ApiGatewayV2
79} // namespace Aws
DisplayContent & WithBody(BodyT &&value)
const Aws::String & GetTitle() const
AWS_APIGATEWAYV2_API DisplayContent & operator=(Aws::Utils::Json::JsonView jsonValue)
DisplayContent & WithTitle(TitleT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBody() const
AWS_APIGATEWAYV2_API DisplayContent()=default
AWS_APIGATEWAYV2_API DisplayContent(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue