AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePromptRequest.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
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API CreatePromptRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreatePrompt"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline CreatePromptRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline CreatePromptRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline CreatePromptRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreatePromptRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreatePromptRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreatePromptRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline CreatePromptRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreatePromptRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreatePromptRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
87 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
88 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
89 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
90 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
91 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
92 inline CreatePromptRequest& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
93 inline CreatePromptRequest& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
94 inline CreatePromptRequest& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
96
98
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 inline CreatePromptRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
107 inline CreatePromptRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
108 inline CreatePromptRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
109 inline CreatePromptRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
110 inline CreatePromptRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
111 inline CreatePromptRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
112 inline CreatePromptRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline CreatePromptRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline CreatePromptRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 private:
117
118 Aws::String m_instanceId;
119 bool m_instanceIdHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_description;
125 bool m_descriptionHasBeenSet = false;
126
127 Aws::String m_s3Uri;
128 bool m_s3UriHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Connect
136} // namespace Aws
CreatePromptRequest & WithInstanceId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePromptRequest & WithInstanceId(const char *value)
void SetInstanceId(const Aws::String &value)
CreatePromptRequest & WithS3Uri(Aws::String &&value)
void SetS3Uri(const Aws::String &value)
CreatePromptRequest & WithDescription(const Aws::String &value)
CreatePromptRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePromptRequest & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
CreatePromptRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePromptRequest & WithS3Uri(const Aws::String &value)
CreatePromptRequest & WithName(const char *value)
CreatePromptRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreatePromptRequest & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePromptRequest & WithS3Uri(const char *value)
CreatePromptRequest & WithDescription(const char *value)
CreatePromptRequest & WithInstanceId(Aws::String &&value)
CreatePromptRequest & WithDescription(Aws::String &&value)
CreatePromptRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePromptRequest & AddTags(Aws::String &&key, const char *value)
CreatePromptRequest & AddTags(const char *key, const char *value)
CreatePromptRequest & WithName(Aws::String &&value)
CreatePromptRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
CreatePromptRequest & WithTags(Aws::Map< Aws::String, 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