AWS SDK for C++  1.9.131
AWS SDK for C++
DescribeQuerySuggestionsBlockListRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace kendra
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeQuerySuggestionsBlockList"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetIndexId() const{ return m_indexId; }
41 
45  inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
46 
50  inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
51 
55  inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
56 
60  inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
61 
65  inline DescribeQuerySuggestionsBlockListRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
66 
70  inline DescribeQuerySuggestionsBlockListRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
71 
75  inline DescribeQuerySuggestionsBlockListRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
76 
77 
81  inline const Aws::String& GetId() const{ return m_id; }
82 
86  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
87 
91  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
92 
96  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
97 
101  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
102 
106  inline DescribeQuerySuggestionsBlockListRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
107 
111  inline DescribeQuerySuggestionsBlockListRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
112 
116  inline DescribeQuerySuggestionsBlockListRequest& WithId(const char* value) { SetId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_indexId;
121  bool m_indexIdHasBeenSet;
122 
123  Aws::String m_id;
124  bool m_idHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace kendra
129 } // namespace Aws
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::SetIndexId
void SetIndexId(const char *value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:60
Aws::kendra::KendraRequest
Definition: KendraRequest.h:17
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest
Definition: DescribeQuerySuggestionsBlockListRequest.h:22
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::WithIndexId
DescribeQuerySuggestionsBlockListRequest & WithIndexId(const char *value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:75
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::SetId
void SetId(const Aws::String &value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:91
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DescribeQuerySuggestionsBlockListRequest.h:86
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::GetId
const Aws::String & GetId() const
Definition: DescribeQuerySuggestionsBlockListRequest.h:81
KendraRequest.h
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::SetIndexId
void SetIndexId(Aws::String &&value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:55
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeQuerySuggestionsBlockListRequest.h:30
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::WithId
DescribeQuerySuggestionsBlockListRequest & WithId(const Aws::String &value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:106
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::WithIndexId
DescribeQuerySuggestionsBlockListRequest & WithIndexId(Aws::String &&value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:70
Kendra_EXPORTS.h
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::SetId
void SetId(Aws::String &&value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:96
AWSString.h
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::WithId
DescribeQuerySuggestionsBlockListRequest & WithId(const char *value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:116
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::SetId
void SetId(const char *value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:101
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::GetIndexId
const Aws::String & GetIndexId() const
Definition: DescribeQuerySuggestionsBlockListRequest.h:40
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::SetIndexId
void SetIndexId(const Aws::String &value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::WithIndexId
DescribeQuerySuggestionsBlockListRequest & WithIndexId(const Aws::String &value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:65
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::IndexIdHasBeenSet
bool IndexIdHasBeenSet() const
Definition: DescribeQuerySuggestionsBlockListRequest.h:45
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::DescribeQuerySuggestionsBlockListRequest
DescribeQuerySuggestionsBlockListRequest()
Aws::kendra::Model::DescribeQuerySuggestionsBlockListRequest::WithId
DescribeQuerySuggestionsBlockListRequest & WithId(Aws::String &&value)
Definition: DescribeQuerySuggestionsBlockListRequest.h:111