AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ViewInputContent.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
35 {
36 public:
37 AWS_CONNECT_API ViewInputContent();
38 AWS_CONNECT_API ViewInputContent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTemplate() const{ return m_template; }
48 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
49 inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
50 inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
51 inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
52 inline ViewInputContent& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
53 inline ViewInputContent& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
54 inline ViewInputContent& WithTemplate(const char* value) { SetTemplate(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetActions() const{ return m_actions; }
62 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
63 inline void SetActions(const Aws::Vector<Aws::String>& value) { m_actionsHasBeenSet = true; m_actions = value; }
64 inline void SetActions(Aws::Vector<Aws::String>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
65 inline ViewInputContent& WithActions(const Aws::Vector<Aws::String>& value) { SetActions(value); return *this;}
66 inline ViewInputContent& WithActions(Aws::Vector<Aws::String>&& value) { SetActions(std::move(value)); return *this;}
67 inline ViewInputContent& AddActions(const Aws::String& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
68 inline ViewInputContent& AddActions(Aws::String&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
69 inline ViewInputContent& AddActions(const char* value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
71 private:
72
73 Aws::String m_template;
74 bool m_templateHasBeenSet = false;
75
77 bool m_actionsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Connect
82} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ViewInputContent & AddActions(const Aws::String &value)
void SetTemplate(const Aws::String &value)
ViewInputContent & WithTemplate(const char *value)
void SetTemplate(Aws::String &&value)
ViewInputContent & WithActions(Aws::Vector< Aws::String > &&value)
ViewInputContent & AddActions(const char *value)
void SetActions(const Aws::Vector< Aws::String > &value)
void SetActions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetActions() const
const Aws::String & GetTemplate() const
AWS_CONNECT_API ViewInputContent & operator=(Aws::Utils::Json::JsonView jsonValue)
ViewInputContent & WithActions(const Aws::Vector< Aws::String > &value)
ViewInputContent & AddActions(Aws::String &&value)
ViewInputContent & WithTemplate(const Aws::String &value)
AWS_CONNECT_API ViewInputContent(Aws::Utils::Json::JsonView jsonValue)
ViewInputContent & WithTemplate(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue