AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContactFlowModule.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ContactFlowModuleState.h>
10#include <aws/connect/model/ContactFlowModuleStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CONNECT_API ContactFlowModule() = default;
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 ContactFlowModule& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template<typename IdT = Aws::String>
62 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 ContactFlowModule& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 ContactFlowModule& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
86 inline const Aws::String& GetContent() const { return m_content; }
87 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
88 template<typename ContentT = Aws::String>
89 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
90 template<typename ContentT = Aws::String>
91 ContactFlowModule& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
93
95
98 inline const Aws::String& GetDescription() const { return m_description; }
99 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
100 template<typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
102 template<typename DescriptionT = Aws::String>
103 ContactFlowModule& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
105
107
110 inline ContactFlowModuleState GetState() const { return m_state; }
111 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
112 inline void SetState(ContactFlowModuleState value) { m_stateHasBeenSet = true; m_state = value; }
113 inline ContactFlowModule& WithState(ContactFlowModuleState value) { SetState(value); return *this;}
115
117
120 inline ContactFlowModuleStatus GetStatus() const { return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(ContactFlowModuleStatus value) { m_statusHasBeenSet = true; m_status = value; }
123 inline ContactFlowModule& WithStatus(ContactFlowModuleStatus value) { SetStatus(value); return *this;}
125
127
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
135 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 ContactFlowModule& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
137 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
138 ContactFlowModule& AddTags(TagsKeyT&& key, TagsValueT&& value) {
139 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
140 }
142 private:
143
144 Aws::String m_arn;
145 bool m_arnHasBeenSet = false;
146
147 Aws::String m_id;
148 bool m_idHasBeenSet = false;
149
150 Aws::String m_name;
151 bool m_nameHasBeenSet = false;
152
153 Aws::String m_content;
154 bool m_contentHasBeenSet = false;
155
156 Aws::String m_description;
157 bool m_descriptionHasBeenSet = false;
158
160 bool m_stateHasBeenSet = false;
161
163 bool m_statusHasBeenSet = false;
164
166 bool m_tagsHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace Connect
171} // namespace Aws
ContactFlowModule & WithArn(ArnT &&value)
ContactFlowModule & WithTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
ContactFlowModule & WithStatus(ContactFlowModuleStatus value)
ContactFlowModule & WithDescription(DescriptionT &&value)
ContactFlowModuleStatus GetStatus() const
ContactFlowModuleState GetState() const
const Aws::String & GetDescription() const
const Aws::String & GetContent() const
AWS_CONNECT_API ContactFlowModule()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ContactFlowModule & WithId(IdT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ContactFlowModule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(ContactFlowModuleState value)
AWS_CONNECT_API ContactFlowModule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetStatus(ContactFlowModuleStatus value)
ContactFlowModule & WithName(NameT &&value)
ContactFlowModule & AddTags(TagsKeyT &&key, TagsValueT &&value)
ContactFlowModule & WithContent(ContentT &&value)
ContactFlowModule & WithState(ContactFlowModuleState value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue