AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInputSchema(const Aws::String& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = value; }
50 inline void SetInputSchema(Aws::String&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::move(value); }
51 inline void SetInputSchema(const char* value) { m_inputSchemaHasBeenSet = true; m_inputSchema.assign(value); }
52 inline ViewContent& WithInputSchema(const Aws::String& value) { SetInputSchema(value); return *this;}
53 inline ViewContent& WithInputSchema(Aws::String&& value) { SetInputSchema(std::move(value)); return *this;}
54 inline ViewContent& WithInputSchema(const char* value) { SetInputSchema(value); return *this;}
56
58
61 inline const Aws::String& GetTemplate() const{ return m_template; }
62 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
63 inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
64 inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
65 inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
66 inline ViewContent& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
67 inline ViewContent& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
68 inline ViewContent& WithTemplate(const char* value) { SetTemplate(value); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetActions() const{ return m_actions; }
76 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
77 inline void SetActions(const Aws::Vector<Aws::String>& value) { m_actionsHasBeenSet = true; m_actions = value; }
78 inline void SetActions(Aws::Vector<Aws::String>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
79 inline ViewContent& WithActions(const Aws::Vector<Aws::String>& value) { SetActions(value); return *this;}
80 inline ViewContent& WithActions(Aws::Vector<Aws::String>&& value) { SetActions(std::move(value)); return *this;}
81 inline ViewContent& AddActions(const Aws::String& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
82 inline ViewContent& AddActions(Aws::String&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
83 inline ViewContent& AddActions(const char* value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
85 private:
86
87 Aws::String m_inputSchema;
88 bool m_inputSchemaHasBeenSet = false;
89
90 Aws::String m_template;
91 bool m_templateHasBeenSet = false;
92
94 bool m_actionsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Connect
99} // namespace Aws
ViewContent & WithActions(const Aws::Vector< Aws::String > &value)
Definition ViewContent.h:79
const Aws::String & GetInputSchema() const
Definition ViewContent.h:47
ViewContent & WithInputSchema(const char *value)
Definition ViewContent.h:54
void SetActions(Aws::Vector< Aws::String > &&value)
Definition ViewContent.h:78
ViewContent & WithTemplate(Aws::String &&value)
Definition ViewContent.h:67
ViewContent & AddActions(const Aws::String &value)
Definition ViewContent.h:81
ViewContent & AddActions(Aws::String &&value)
Definition ViewContent.h:82
ViewContent & WithTemplate(const Aws::String &value)
Definition ViewContent.h:66
void SetInputSchema(const Aws::String &value)
Definition ViewContent.h:49
ViewContent & WithActions(Aws::Vector< Aws::String > &&value)
Definition ViewContent.h:80
ViewContent & WithInputSchema(Aws::String &&value)
Definition ViewContent.h:53
void SetTemplate(Aws::String &&value)
Definition ViewContent.h:64
void SetTemplate(const char *value)
Definition ViewContent.h:65
void SetTemplate(const Aws::String &value)
Definition ViewContent.h:63
ViewContent & WithTemplate(const char *value)
Definition ViewContent.h:68
void SetActions(const Aws::Vector< Aws::String > &value)
Definition ViewContent.h:77
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ViewContent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTemplate() const
Definition ViewContent.h:61
void SetInputSchema(Aws::String &&value)
Definition ViewContent.h:50
AWS_CONNECT_API ViewContent(Aws::Utils::Json::JsonView jsonValue)
ViewContent & WithInputSchema(const Aws::String &value)
Definition ViewContent.h:52
void SetInputSchema(const char *value)
Definition ViewContent.h:51
const Aws::Vector< Aws::String > & GetActions() const
Definition ViewContent.h:75
ViewContent & AddActions(const char *value)
Definition ViewContent.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue