AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ProjectT = Aws::String>
44 void SetProject(ProjectT&& value) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
45 template<typename ProjectT = Aws::String>
46 BatchEvaluateFeatureRequest& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
48
50
54 inline const Aws::Vector<EvaluationRequest>& GetRequests() const { return m_requests; }
55 inline bool RequestsHasBeenSet() const { return m_requestsHasBeenSet; }
56 template<typename RequestsT = Aws::Vector<EvaluationRequest>>
57 void SetRequests(RequestsT&& value) { m_requestsHasBeenSet = true; m_requests = std::forward<RequestsT>(value); }
58 template<typename RequestsT = Aws::Vector<EvaluationRequest>>
59 BatchEvaluateFeatureRequest& WithRequests(RequestsT&& value) { SetRequests(std::forward<RequestsT>(value)); return *this;}
60 template<typename RequestsT = EvaluationRequest>
61 BatchEvaluateFeatureRequest& AddRequests(RequestsT&& value) { m_requestsHasBeenSet = true; m_requests.emplace_back(std::forward<RequestsT>(value)); return *this; }
63 private:
64
65 Aws::String m_project;
66 bool m_projectHasBeenSet = false;
67
69 bool m_requestsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CloudWatchEvidently
74} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
BatchEvaluateFeatureRequest & WithProject(ProjectT &&value)
const Aws::Vector< EvaluationRequest > & GetRequests() const
BatchEvaluateFeatureRequest & WithRequests(RequestsT &&value)
BatchEvaluateFeatureRequest & AddRequests(RequestsT &&value)
AWS_CLOUDWATCHEVIDENTLY_API BatchEvaluateFeatureRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector