AWS SDK for C++  1.9.109
AWS SDK for C++
CreateFilterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Personalize
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 "CreateFilter"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetName() const{ return m_name; }
41 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
50  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 
55  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 
60  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 
65  inline CreateFilterRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 
70  inline CreateFilterRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 
75  inline CreateFilterRequest& WithName(const char* value) { SetName(value); return *this;}
76 
77 
81  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
82 
86  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
87 
91  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
92 
96  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
97 
101  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
102 
106  inline CreateFilterRequest& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
107 
111  inline CreateFilterRequest& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
112 
116  inline CreateFilterRequest& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
117 
118 
125  inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
126 
133  inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
134 
141  inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
142 
149  inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
150 
157  inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
158 
165  inline CreateFilterRequest& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
166 
173  inline CreateFilterRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
174 
181  inline CreateFilterRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
182 
183  private:
184 
185  Aws::String m_name;
186  bool m_nameHasBeenSet;
187 
188  Aws::String m_datasetGroupArn;
189  bool m_datasetGroupArnHasBeenSet;
190 
191  Aws::String m_filterExpression;
192  bool m_filterExpressionHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace Personalize
197 } // namespace Aws
PersonalizeRequest.h
Aws::Personalize::Model::CreateFilterRequest::CreateFilterRequest
CreateFilterRequest()
Aws::Personalize::Model::CreateFilterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Personalize::Model::CreateFilterRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateFilterRequest.h:55
Aws::Personalize::Model::CreateFilterRequest::WithFilterExpression
CreateFilterRequest & WithFilterExpression(Aws::String &&value)
Definition: CreateFilterRequest.h:173
Aws::Personalize::Model::CreateFilterRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Personalize::Model::CreateFilterRequest::GetFilterExpression
const Aws::String & GetFilterExpression() const
Definition: CreateFilterRequest.h:125
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CreateFilterRequest::WithDatasetGroupArn
CreateFilterRequest & WithDatasetGroupArn(Aws::String &&value)
Definition: CreateFilterRequest.h:111
Aws::Personalize::Model::CreateFilterRequest::WithDatasetGroupArn
CreateFilterRequest & WithDatasetGroupArn(const char *value)
Definition: CreateFilterRequest.h:116
Aws::Personalize::Model::CreateFilterRequest::WithDatasetGroupArn
CreateFilterRequest & WithDatasetGroupArn(const Aws::String &value)
Definition: CreateFilterRequest.h:106
Aws::Personalize::Model::CreateFilterRequest::SetFilterExpression
void SetFilterExpression(const char *value)
Definition: CreateFilterRequest.h:157
Aws::Personalize::Model::CreateFilterRequest::WithName
CreateFilterRequest & WithName(const char *value)
Definition: CreateFilterRequest.h:75
Aws::Personalize::Model::CreateFilterRequest::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: CreateFilterRequest.h:96
Aws::Personalize::Model::CreateFilterRequest::WithName
CreateFilterRequest & WithName(Aws::String &&value)
Definition: CreateFilterRequest.h:70
Aws::Personalize::Model::CreateFilterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateFilterRequest.h:30
Aws::Personalize::Model::CreateFilterRequest::SetName
void SetName(const char *value)
Definition: CreateFilterRequest.h:60
AWSString.h
Aws::Personalize::Model::CreateFilterRequest::WithFilterExpression
CreateFilterRequest & WithFilterExpression(const Aws::String &value)
Definition: CreateFilterRequest.h:165
Aws::Personalize::PersonalizeRequest
Definition: PersonalizeRequest.h:17
Aws::Personalize::Model::CreateFilterRequest::WithName
CreateFilterRequest & WithName(const Aws::String &value)
Definition: CreateFilterRequest.h:65
Aws::Personalize::Model::CreateFilterRequest::FilterExpressionHasBeenSet
bool FilterExpressionHasBeenSet() const
Definition: CreateFilterRequest.h:133
Aws::Personalize::Model::CreateFilterRequest::GetName
const Aws::String & GetName() const
Definition: CreateFilterRequest.h:40
Aws::Personalize::Model::CreateFilterRequest::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: CreateFilterRequest.h:91
Aws::Personalize::Model::CreateFilterRequest::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: CreateFilterRequest.h:81
Aws::Personalize::Model::CreateFilterRequest::SetFilterExpression
void SetFilterExpression(const Aws::String &value)
Definition: CreateFilterRequest.h:141
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CreateFilterRequest::SetFilterExpression
void SetFilterExpression(Aws::String &&value)
Definition: CreateFilterRequest.h:149
Aws::Personalize::Model::CreateFilterRequest
Definition: CreateFilterRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CreateFilterRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateFilterRequest.h:45
Aws::Personalize::Model::CreateFilterRequest::WithFilterExpression
CreateFilterRequest & WithFilterExpression(const char *value)
Definition: CreateFilterRequest.h:181
Personalize_EXPORTS.h
Aws::Personalize::Model::CreateFilterRequest::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: CreateFilterRequest.h:86
Aws::Personalize::Model::CreateFilterRequest::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: CreateFilterRequest.h:101
Aws::Personalize::Model::CreateFilterRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateFilterRequest.h:50