AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ViewContent.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectParticipant {
21namespace Model {
22
30 public:
31 AWS_CONNECTPARTICIPANT_API ViewContent() = default;
32 AWS_CONNECTPARTICIPANT_API ViewContent(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTPARTICIPANT_API ViewContent& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetInputSchema() const { return m_inputSchema; }
42 inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; }
43 template <typename InputSchemaT = Aws::String>
44 void SetInputSchema(InputSchemaT&& value) {
45 m_inputSchemaHasBeenSet = true;
46 m_inputSchema = std::forward<InputSchemaT>(value);
47 }
48 template <typename InputSchemaT = Aws::String>
49 ViewContent& WithInputSchema(InputSchemaT&& value) {
50 SetInputSchema(std::forward<InputSchemaT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetTemplate() const { return m_template; }
60 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
61 template <typename TemplateT = Aws::String>
62 void SetTemplate(TemplateT&& value) {
63 m_templateHasBeenSet = true;
64 m_template = std::forward<TemplateT>(value);
65 }
66 template <typename TemplateT = Aws::String>
67 ViewContent& WithTemplate(TemplateT&& value) {
68 SetTemplate(std::forward<TemplateT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<Aws::String>& GetActions() const { return m_actions; }
78 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
79 template <typename ActionsT = Aws::Vector<Aws::String>>
80 void SetActions(ActionsT&& value) {
81 m_actionsHasBeenSet = true;
82 m_actions = std::forward<ActionsT>(value);
83 }
84 template <typename ActionsT = Aws::Vector<Aws::String>>
85 ViewContent& WithActions(ActionsT&& value) {
86 SetActions(std::forward<ActionsT>(value));
87 return *this;
88 }
89 template <typename ActionsT = Aws::String>
90 ViewContent& AddActions(ActionsT&& value) {
91 m_actionsHasBeenSet = true;
92 m_actions.emplace_back(std::forward<ActionsT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_inputSchema;
98
99 Aws::String m_template;
100
101 Aws::Vector<Aws::String> m_actions;
102 bool m_inputSchemaHasBeenSet = false;
103 bool m_templateHasBeenSet = false;
104 bool m_actionsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace ConnectParticipant
109} // namespace Aws
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTPARTICIPANT_API ViewContent(Aws::Utils::Json::JsonView jsonValue)
ViewContent & WithTemplate(TemplateT &&value)
Definition ViewContent.h:67
ViewContent & AddActions(ActionsT &&value)
Definition ViewContent.h:90
const Aws::String & GetInputSchema() const
Definition ViewContent.h:41
AWS_CONNECTPARTICIPANT_API ViewContent()=default
ViewContent & WithInputSchema(InputSchemaT &&value)
Definition ViewContent.h:49
void SetInputSchema(InputSchemaT &&value)
Definition ViewContent.h:44
const Aws::String & GetTemplate() const
Definition ViewContent.h:59
const Aws::Vector< Aws::String > & GetActions() const
Definition ViewContent.h:77
AWS_CONNECTPARTICIPANT_API ViewContent & operator=(Aws::Utils::Json::JsonView jsonValue)
ViewContent & WithActions(ActionsT &&value)
Definition ViewContent.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue