AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
CreateContactFlowModuleRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API CreateContactFlowModuleRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateContactFlowModule"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 template<typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<typename InstanceIdT = Aws::String>
48 CreateContactFlowModuleRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 CreateContactFlowModuleRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 CreateContactFlowModuleRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
82 inline const Aws::String& GetContent() const { return m_content; }
83 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
84 template<typename ContentT = Aws::String>
85 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
86 template<typename ContentT = Aws::String>
87 CreateContactFlowModuleRequest& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
89
91
95 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
96 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
97 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
99 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 CreateContactFlowModuleRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
101 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
102 CreateContactFlowModuleRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
103 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
104 }
106
108
115 inline const Aws::String& GetClientToken() const { return m_clientToken; }
116 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
117 template<typename ClientTokenT = Aws::String>
118 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
119 template<typename ClientTokenT = Aws::String>
120 CreateContactFlowModuleRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
122 private:
123
124 Aws::String m_instanceId;
125 bool m_instanceIdHasBeenSet = false;
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::String m_content;
134 bool m_contentHasBeenSet = false;
135
137 bool m_tagsHasBeenSet = false;
138
139 Aws::String m_clientToken;
140 bool m_clientTokenHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Connect
145} // namespace Aws
CreateContactFlowModuleRequest & WithDescription(DescriptionT &&value)
CreateContactFlowModuleRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateContactFlowModuleRequest & WithContent(ContentT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONNECT_API Aws::String SerializePayload() const override
AWS_CONNECT_API CreateContactFlowModuleRequest()=default
CreateContactFlowModuleRequest & WithTags(TagsT &&value)
CreateContactFlowModuleRequest & WithClientToken(ClientTokenT &&value)
CreateContactFlowModuleRequest & WithInstanceId(InstanceIdT &&value)
CreateContactFlowModuleRequest & WithName(NameT &&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