AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchEvaluateFeatureRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/evidently/model/EvaluationRequest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudWatchEvidently
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDWATCHEVIDENTLY_API BatchEvaluateFeatureRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchEvaluateFeature"; }
33
34 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetProject() const{ return m_project; }
42 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
43 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
44 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
45 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
46 inline BatchEvaluateFeatureRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;}
47 inline BatchEvaluateFeatureRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
48 inline BatchEvaluateFeatureRequest& WithProject(const char* value) { SetProject(value); return *this;}
50
52
56 inline const Aws::Vector<EvaluationRequest>& GetRequests() const{ return m_requests; }
57 inline bool RequestsHasBeenSet() const { return m_requestsHasBeenSet; }
58 inline void SetRequests(const Aws::Vector<EvaluationRequest>& value) { m_requestsHasBeenSet = true; m_requests = value; }
59 inline void SetRequests(Aws::Vector<EvaluationRequest>&& value) { m_requestsHasBeenSet = true; m_requests = std::move(value); }
61 inline BatchEvaluateFeatureRequest& WithRequests(Aws::Vector<EvaluationRequest>&& value) { SetRequests(std::move(value)); return *this;}
62 inline BatchEvaluateFeatureRequest& AddRequests(const EvaluationRequest& value) { m_requestsHasBeenSet = true; m_requests.push_back(value); return *this; }
63 inline BatchEvaluateFeatureRequest& AddRequests(EvaluationRequest&& value) { m_requestsHasBeenSet = true; m_requests.push_back(std::move(value)); return *this; }
65 private:
66
67 Aws::String m_project;
68 bool m_projectHasBeenSet = false;
69
71 bool m_requestsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudWatchEvidently
76} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
BatchEvaluateFeatureRequest & WithProject(const Aws::String &value)
const Aws::Vector< EvaluationRequest > & GetRequests() const
BatchEvaluateFeatureRequest & WithRequests(Aws::Vector< EvaluationRequest > &&value)
BatchEvaluateFeatureRequest & AddRequests(EvaluationRequest &&value)
BatchEvaluateFeatureRequest & WithProject(Aws::String &&value)
BatchEvaluateFeatureRequest & WithProject(const char *value)
BatchEvaluateFeatureRequest & WithRequests(const Aws::Vector< EvaluationRequest > &value)
BatchEvaluateFeatureRequest & AddRequests(const EvaluationRequest &value)
void SetRequests(const Aws::Vector< EvaluationRequest > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector