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/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/qconnect/model/AssistantType.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace QConnect
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QCONNECT_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_QCONNECT_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
100 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
101 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
102 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
103 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
107
109
112 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
113 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
114 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
115 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
116 inline CreateAssistantRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
117 inline CreateAssistantRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
118 inline CreateAssistantRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
119 inline CreateAssistantRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
120 inline CreateAssistantRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
121 inline CreateAssistantRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
122 inline CreateAssistantRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline CreateAssistantRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
124 inline CreateAssistantRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
126
128
131 inline const AssistantType& GetType() const{ return m_type; }
132 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
133 inline void SetType(const AssistantType& value) { m_typeHasBeenSet = true; m_type = value; }
134 inline void SetType(AssistantType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
135 inline CreateAssistantRequest& WithType(const AssistantType& value) { SetType(value); return *this;}
136 inline CreateAssistantRequest& WithType(AssistantType&& value) { SetType(std::move(value)); return *this;}
138 private:
139
140 Aws::String m_clientToken;
141 bool m_clientTokenHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
146 Aws::String m_name;
147 bool m_nameHasBeenSet = false;
148
149 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
150 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
151
153 bool m_tagsHasBeenSet = false;
154
155 AssistantType m_type;
156 bool m_typeHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace QConnect
161} // namespace Aws
CreateAssistantRequest & WithType(AssistantType &&value)
CreateAssistantRequest & WithClientToken(Aws::String &&value)
CreateAssistantRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAssistantRequest & WithName(Aws::String &&value)
CreateAssistantRequest & WithName(const char *value)
CreateAssistantRequest & WithDescription(const char *value)
CreateAssistantRequest & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
CreateAssistantRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
CreateAssistantRequest & WithType(const AssistantType &value)
CreateAssistantRequest & WithDescription(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAssistantRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAssistantRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
CreateAssistantRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAssistantRequest & WithClientToken(const Aws::String &value)
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
CreateAssistantRequest & AddTags(Aws::String &&key, const char *value)
CreateAssistantRequest & WithClientToken(const char *value)
CreateAssistantRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAssistantRequest & AddTags(const char *key, const char *value)
CreateAssistantRequest & AddTags(const char *key, Aws::String &&value)
CreateAssistantRequest & WithDescription(const Aws::String &value)
CreateAssistantRequest & WithName(const Aws::String &value)
CreateAssistantRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_QCONNECT_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