AWS SDK for C++

AWS SDK for C++ Version 1.11.611

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() = default;
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 template<typename TemplateT = Aws::String>
50 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
51 template<typename TemplateT = Aws::String>
52 ViewInputContent& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetActions() const { return m_actions; }
60 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
61 template<typename ActionsT = Aws::Vector<Aws::String>>
62 void SetActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions = std::forward<ActionsT>(value); }
63 template<typename ActionsT = Aws::Vector<Aws::String>>
64 ViewInputContent& WithActions(ActionsT&& value) { SetActions(std::forward<ActionsT>(value)); return *this;}
65 template<typename ActionsT = Aws::String>
66 ViewInputContent& AddActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions.emplace_back(std::forward<ActionsT>(value)); return *this; }
68 private:
69
70 Aws::String m_template;
71 bool m_templateHasBeenSet = false;
72
74 bool m_actionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
ViewInputContent & WithTemplate(TemplateT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ViewInputContent & AddActions(ActionsT &&value)
const Aws::Vector< Aws::String > & GetActions() const
const Aws::String & GetTemplate() const
AWS_CONNECT_API ViewInputContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ViewInputContent(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ViewInputContent()=default
ViewInputContent & WithActions(ActionsT &&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