AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ViewContent.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API ViewContent() = default;
37 AWS_CONNECT_API ViewContent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetInputSchema() const { return m_inputSchema; }
48 inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; }
49 template<typename InputSchemaT = Aws::String>
50 void SetInputSchema(InputSchemaT&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::forward<InputSchemaT>(value); }
51 template<typename InputSchemaT = Aws::String>
52 ViewContent& WithInputSchema(InputSchemaT&& value) { SetInputSchema(std::forward<InputSchemaT>(value)); return *this;}
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) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
63 template<typename TemplateT = Aws::String>
64 ViewContent& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetActions() const { return m_actions; }
72 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
73 template<typename ActionsT = Aws::Vector<Aws::String>>
74 void SetActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions = std::forward<ActionsT>(value); }
75 template<typename ActionsT = Aws::Vector<Aws::String>>
76 ViewContent& WithActions(ActionsT&& value) { SetActions(std::forward<ActionsT>(value)); return *this;}
77 template<typename ActionsT = Aws::String>
78 ViewContent& AddActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions.emplace_back(std::forward<ActionsT>(value)); return *this; }
80 private:
81
82 Aws::String m_inputSchema;
83 bool m_inputSchemaHasBeenSet = false;
84
85 Aws::String m_template;
86 bool m_templateHasBeenSet = false;
87
89 bool m_actionsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
ViewContent & WithTemplate(TemplateT &&value)
Definition ViewContent.h:64
ViewContent & WithActions(ActionsT &&value)
Definition ViewContent.h:76
const Aws::String & GetInputSchema() const
Definition ViewContent.h:47
void SetTemplate(TemplateT &&value)
Definition ViewContent.h:62
ViewContent & WithInputSchema(InputSchemaT &&value)
Definition ViewContent.h:52
void SetInputSchema(InputSchemaT &&value)
Definition ViewContent.h:50
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ViewContent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActions(ActionsT &&value)
Definition ViewContent.h:74
ViewContent & AddActions(ActionsT &&value)
Definition ViewContent.h:78
AWS_CONNECT_API ViewContent()=default
const Aws::String & GetTemplate() const
Definition ViewContent.h:59
AWS_CONNECT_API ViewContent(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetActions() const
Definition ViewContent.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue