AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssistantRequest.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/wisdom/model/AssistantType.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace ConnectWisdomService
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CONNECTWISDOMSERVICE_API CreateAssistantRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateAssistant"; }
35
36 AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override;
37
38
40
47 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
50 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
51 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
52 inline CreateAssistantRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
53 inline CreateAssistantRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
54 inline CreateAssistantRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline CreateAssistantRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline CreateAssistantRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline CreateAssistantRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline CreateAssistantRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline CreateAssistantRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline CreateAssistantRequest& WithName(const char* value) { SetName(value); return *this;}
84
86
99 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
100 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
101 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
102 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
106
108
111 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
112 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
114 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
115 inline CreateAssistantRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
116 inline CreateAssistantRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
117 inline CreateAssistantRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
118 inline CreateAssistantRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
119 inline CreateAssistantRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline CreateAssistantRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
121 inline CreateAssistantRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
122 inline CreateAssistantRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
123 inline CreateAssistantRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
125
127
130 inline const AssistantType& GetType() const{ return m_type; }
131 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
132 inline void SetType(const AssistantType& value) { m_typeHasBeenSet = true; m_type = value; }
133 inline void SetType(AssistantType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
134 inline CreateAssistantRequest& WithType(const AssistantType& value) { SetType(value); return *this;}
135 inline CreateAssistantRequest& WithType(AssistantType&& value) { SetType(std::move(value)); return *this;}
137 private:
138
139 Aws::String m_clientToken;
140 bool m_clientTokenHasBeenSet = false;
141
142 Aws::String m_description;
143 bool m_descriptionHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
149 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
150
152 bool m_tagsHasBeenSet = false;
153
154 AssistantType m_type;
155 bool m_typeHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace ConnectWisdomService
160} // namespace Aws
CreateAssistantRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
CreateAssistantRequest & WithType(AssistantType &&value)
CreateAssistantRequest & WithName(const char *value)
CreateAssistantRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAssistantRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
CreateAssistantRequest & AddTags(const char *key, const char *value)
CreateAssistantRequest & AddTags(Aws::String &&key, const char *value)
CreateAssistantRequest & WithName(Aws::String &&value)
CreateAssistantRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAssistantRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
CreateAssistantRequest & WithDescription(const char *value)
CreateAssistantRequest & WithClientToken(const char *value)
CreateAssistantRequest & WithDescription(const Aws::String &value)
CreateAssistantRequest & AddTags(const char *key, Aws::String &&value)
CreateAssistantRequest & WithClientToken(Aws::String &&value)
CreateAssistantRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAssistantRequest & WithType(const AssistantType &value)
CreateAssistantRequest & WithName(const Aws::String &value)
CreateAssistantRequest & AddTags(const Aws::String &key, const Aws::String &value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAssistantRequest & WithClientToken(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAssistantRequest & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
CreateAssistantRequest & WithDescription(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