AWS SDK for C++

AWS SDK for C++ Version 1.11.551

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
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() = default;
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 template<typename InstanceIdT = Aws::String>
45 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
46 template<typename InstanceIdT = Aws::String>
47 CreatePromptRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 CreatePromptRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 CreatePromptRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
81 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
82 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
83 template<typename S3UriT = Aws::String>
84 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
85 template<typename S3UriT = Aws::String>
86 CreatePromptRequest& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
88
90
94 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
98 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
99 CreatePromptRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
100 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
101 CreatePromptRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
102 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
103 }
105 private:
106
107 Aws::String m_instanceId;
108 bool m_instanceIdHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
116 Aws::String m_s3Uri;
117 bool m_s3UriHasBeenSet = false;
118
120 bool m_tagsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Connect
125} // namespace Aws
CreatePromptRequest & WithInstanceId(InstanceIdT &&value)
virtual const char * GetServiceRequestName() const override
CreatePromptRequest & WithDescription(DescriptionT &&value)
CreatePromptRequest & WithTags(TagsT &&value)
CreatePromptRequest & WithName(NameT &&value)
AWS_CONNECT_API CreatePromptRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePromptRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePromptRequest & WithS3Uri(S3UriT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
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