AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicTemplate.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/Slot.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API TopicTemplate();
38 AWS_QUICKSIGHT_API TopicTemplate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API TopicTemplate& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTemplateType() const{ return m_templateType; }
48 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
49 inline void SetTemplateType(const Aws::String& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
50 inline void SetTemplateType(Aws::String&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
51 inline void SetTemplateType(const char* value) { m_templateTypeHasBeenSet = true; m_templateType.assign(value); }
52 inline TopicTemplate& WithTemplateType(const Aws::String& value) { SetTemplateType(value); return *this;}
53 inline TopicTemplate& WithTemplateType(Aws::String&& value) { SetTemplateType(std::move(value)); return *this;}
54 inline TopicTemplate& WithTemplateType(const char* value) { SetTemplateType(value); return *this;}
56
58
61 inline const Aws::Vector<Slot>& GetSlots() const{ return m_slots; }
62 inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; }
63 inline void SetSlots(const Aws::Vector<Slot>& value) { m_slotsHasBeenSet = true; m_slots = value; }
64 inline void SetSlots(Aws::Vector<Slot>&& value) { m_slotsHasBeenSet = true; m_slots = std::move(value); }
65 inline TopicTemplate& WithSlots(const Aws::Vector<Slot>& value) { SetSlots(value); return *this;}
66 inline TopicTemplate& WithSlots(Aws::Vector<Slot>&& value) { SetSlots(std::move(value)); return *this;}
67 inline TopicTemplate& AddSlots(const Slot& value) { m_slotsHasBeenSet = true; m_slots.push_back(value); return *this; }
68 inline TopicTemplate& AddSlots(Slot&& value) { m_slotsHasBeenSet = true; m_slots.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_templateType;
73 bool m_templateTypeHasBeenSet = false;
74
75 Aws::Vector<Slot> m_slots;
76 bool m_slotsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
AWS_QUICKSIGHT_API TopicTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateType(Aws::String &&value)
TopicTemplate & WithSlots(Aws::Vector< Slot > &&value)
void SetSlots(Aws::Vector< Slot > &&value)
TopicTemplate & WithTemplateType(const char *value)
const Aws::Vector< Slot > & GetSlots() const
TopicTemplate & WithTemplateType(const Aws::String &value)
TopicTemplate & WithSlots(const Aws::Vector< Slot > &value)
TopicTemplate & AddSlots(Slot &&value)
void SetSlots(const Aws::Vector< Slot > &value)
TopicTemplate & AddSlots(const Slot &value)
const Aws::String & GetTemplateType() const
void SetTemplateType(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicTemplate & WithTemplateType(Aws::String &&value)
void SetTemplateType(const char *value)
AWS_QUICKSIGHT_API TopicTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue