AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline CreateContactFlowModuleRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline CreateContactFlowModuleRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline CreateContactFlowModuleRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline CreateContactFlowModuleRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateContactFlowModuleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateContactFlowModuleRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline CreateContactFlowModuleRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline CreateContactFlowModuleRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline CreateContactFlowModuleRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
88 inline const Aws::String& GetContent() const{ return m_content; }
89 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
90 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
91 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
92 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
93 inline CreateContactFlowModuleRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
94 inline CreateContactFlowModuleRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
95 inline CreateContactFlowModuleRequest& WithContent(const char* value) { SetContent(value); return *this;}
97
99
103 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
104 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
105 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
106 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
108 inline CreateContactFlowModuleRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
109 inline CreateContactFlowModuleRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
110 inline CreateContactFlowModuleRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
111 inline CreateContactFlowModuleRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
112 inline CreateContactFlowModuleRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
113 inline CreateContactFlowModuleRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
114 inline CreateContactFlowModuleRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
115 inline CreateContactFlowModuleRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
117
119
126 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
127 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
128 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
129 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
130 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
131 inline CreateContactFlowModuleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
132 inline CreateContactFlowModuleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
133 inline CreateContactFlowModuleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
135 private:
136
137 Aws::String m_instanceId;
138 bool m_instanceIdHasBeenSet = false;
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
146 Aws::String m_content;
147 bool m_contentHasBeenSet = false;
148
150 bool m_tagsHasBeenSet = false;
151
152 Aws::String m_clientToken;
153 bool m_clientTokenHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Connect
158} // namespace Aws
CreateContactFlowModuleRequest & WithName(Aws::String &&value)
CreateContactFlowModuleRequest & WithContent(const Aws::String &value)
CreateContactFlowModuleRequest & AddTags(const char *key, const char *value)
CreateContactFlowModuleRequest & WithClientToken(const Aws::String &value)
CreateContactFlowModuleRequest & WithContent(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateContactFlowModuleRequest & AddTags(Aws::String &&key, const char *value)
CreateContactFlowModuleRequest & WithClientToken(Aws::String &&value)
CreateContactFlowModuleRequest & WithContent(Aws::String &&value)
CreateContactFlowModuleRequest & WithClientToken(const char *value)
CreateContactFlowModuleRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateContactFlowModuleRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateContactFlowModuleRequest & WithDescription(const char *value)
CreateContactFlowModuleRequest & WithInstanceId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateContactFlowModuleRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateContactFlowModuleRequest & WithInstanceId(const Aws::String &value)
CreateContactFlowModuleRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateContactFlowModuleRequest & WithInstanceId(Aws::String &&value)
CreateContactFlowModuleRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateContactFlowModuleRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateContactFlowModuleRequest & WithName(const char *value)
CreateContactFlowModuleRequest & AddTags(const char *key, Aws::String &&value)
CreateContactFlowModuleRequest & WithDescription(const Aws::String &value)
CreateContactFlowModuleRequest & WithDescription(Aws::String &&value)
CreateContactFlowModuleRequest & WithName(const Aws::String &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