AWS SDK for C++  1.9.125
AWS SDK for C++
UpdateQuerySuggestionsBlockListRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace kendra
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "UpdateQuerySuggestionsBlockList"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetIndexId() const{ return m_indexId; }
42 
46  inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
47 
51  inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
52 
56  inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
57 
61  inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
62 
66  inline UpdateQuerySuggestionsBlockListRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
67 
71  inline UpdateQuerySuggestionsBlockListRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
72 
76  inline UpdateQuerySuggestionsBlockListRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
77 
78 
82  inline const Aws::String& GetId() const{ return m_id; }
83 
87  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
88 
92  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
93 
97  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
98 
102  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
103 
107  inline UpdateQuerySuggestionsBlockListRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
108 
112  inline UpdateQuerySuggestionsBlockListRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
113 
117  inline UpdateQuerySuggestionsBlockListRequest& WithId(const char* value) { SetId(value); return *this;}
118 
119 
123  inline const Aws::String& GetName() const{ return m_name; }
124 
128  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
129 
133  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
134 
138  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
139 
143  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
144 
148  inline UpdateQuerySuggestionsBlockListRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
149 
153  inline UpdateQuerySuggestionsBlockListRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
154 
158  inline UpdateQuerySuggestionsBlockListRequest& WithName(const char* value) { SetName(value); return *this;}
159 
160 
164  inline const Aws::String& GetDescription() const{ return m_description; }
165 
169  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
170 
174  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
175 
179  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
180 
184  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
185 
189  inline UpdateQuerySuggestionsBlockListRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
190 
194  inline UpdateQuerySuggestionsBlockListRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
195 
199  inline UpdateQuerySuggestionsBlockListRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
200 
201 
212  inline const S3Path& GetSourceS3Path() const{ return m_sourceS3Path; }
213 
224  inline bool SourceS3PathHasBeenSet() const { return m_sourceS3PathHasBeenSet; }
225 
236  inline void SetSourceS3Path(const S3Path& value) { m_sourceS3PathHasBeenSet = true; m_sourceS3Path = value; }
237 
248  inline void SetSourceS3Path(S3Path&& value) { m_sourceS3PathHasBeenSet = true; m_sourceS3Path = std::move(value); }
249 
260  inline UpdateQuerySuggestionsBlockListRequest& WithSourceS3Path(const S3Path& value) { SetSourceS3Path(value); return *this;}
261 
272  inline UpdateQuerySuggestionsBlockListRequest& WithSourceS3Path(S3Path&& value) { SetSourceS3Path(std::move(value)); return *this;}
273 
274 
279  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
280 
285  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
286 
291  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
292 
297  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
298 
303  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
304 
309  inline UpdateQuerySuggestionsBlockListRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
310 
315  inline UpdateQuerySuggestionsBlockListRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
316 
321  inline UpdateQuerySuggestionsBlockListRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
322 
323  private:
324 
325  Aws::String m_indexId;
326  bool m_indexIdHasBeenSet;
327 
328  Aws::String m_id;
329  bool m_idHasBeenSet;
330 
331  Aws::String m_name;
332  bool m_nameHasBeenSet;
333 
334  Aws::String m_description;
335  bool m_descriptionHasBeenSet;
336 
337  S3Path m_sourceS3Path;
338  bool m_sourceS3PathHasBeenSet;
339 
340  Aws::String m_roleArn;
341  bool m_roleArnHasBeenSet;
342  };
343 
344 } // namespace Model
345 } // namespace kendra
346 } // namespace Aws
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateQuerySuggestionsBlockListRequest.h:31
Aws::kendra::KendraRequest
Definition: KendraRequest.h:17
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:279
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetIndexId
void SetIndexId(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:51
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::UpdateQuerySuggestionsBlockListRequest
UpdateQuerySuggestionsBlockListRequest()
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithSourceS3Path
UpdateQuerySuggestionsBlockListRequest & WithSourceS3Path(const S3Path &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:260
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithDescription
UpdateQuerySuggestionsBlockListRequest & WithDescription(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:199
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetId
void SetId(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:102
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SourceS3PathHasBeenSet
bool SourceS3PathHasBeenSet() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:224
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetSourceS3Path
void SetSourceS3Path(const S3Path &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:236
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithName
UpdateQuerySuggestionsBlockListRequest & WithName(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:148
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::GetName
const Aws::String & GetName() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:123
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithDescription
UpdateQuerySuggestionsBlockListRequest & WithDescription(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:189
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::GetIndexId
const Aws::String & GetIndexId() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:41
KendraRequest.h
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:291
S3Path.h
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:138
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithSourceS3Path
UpdateQuerySuggestionsBlockListRequest & WithSourceS3Path(S3Path &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:272
Aws::kendra::Model::S3Path
Definition: S3Path.h:33
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetName
void SetName(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:143
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SerializePayload
Aws::String SerializePayload() const override
Kendra_EXPORTS.h
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetIndexId
void SetIndexId(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:61
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithIndexId
UpdateQuerySuggestionsBlockListRequest & WithIndexId(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:71
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithName
UpdateQuerySuggestionsBlockListRequest & WithName(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:158
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:87
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithRoleArn
UpdateQuerySuggestionsBlockListRequest & WithRoleArn(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:321
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest
Definition: UpdateQuerySuggestionsBlockListRequest.h:23
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:303
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:92
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:97
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:285
AWSString.h
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithId
UpdateQuerySuggestionsBlockListRequest & WithId(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:112
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithName
UpdateQuerySuggestionsBlockListRequest & WithName(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:153
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithIndexId
UpdateQuerySuggestionsBlockListRequest & WithIndexId(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:66
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetIndexId
void SetIndexId(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:56
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithRoleArn
UpdateQuerySuggestionsBlockListRequest & WithRoleArn(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:309
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:128
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:169
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::GetId
const Aws::String & GetId() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithDescription
UpdateQuerySuggestionsBlockListRequest & WithDescription(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:194
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:174
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::IndexIdHasBeenSet
bool IndexIdHasBeenSet() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::GetSourceS3Path
const S3Path & GetSourceS3Path() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:212
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:133
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithIndexId
UpdateQuerySuggestionsBlockListRequest & WithIndexId(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:76
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateQuerySuggestionsBlockListRequest.h:164
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithId
UpdateQuerySuggestionsBlockListRequest & WithId(const Aws::String &value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:107
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:184
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetSourceS3Path
void SetSourceS3Path(S3Path &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:248
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithId
UpdateQuerySuggestionsBlockListRequest & WithId(const char *value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:117
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:297
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::WithRoleArn
UpdateQuerySuggestionsBlockListRequest & WithRoleArn(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:315
Aws::kendra::Model::UpdateQuerySuggestionsBlockListRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateQuerySuggestionsBlockListRequest.h:179