AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DetectAnomaliesRequest.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/lookoutvision/LookoutforVisionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutforVision
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTFORVISION_API DetectAnomaliesRequest() = default;
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 "DetectAnomalies"; }
32
33
35
39 inline const Aws::String& GetProjectName() const { return m_projectName; }
40 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
41 template<typename ProjectNameT = Aws::String>
42 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
43 template<typename ProjectNameT = Aws::String>
44 DetectAnomaliesRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
52 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
53 template<typename ModelVersionT = Aws::String>
54 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
55 template<typename ModelVersionT = Aws::String>
56 DetectAnomaliesRequest& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
58 private:
59
60 Aws::String m_projectName;
61 bool m_projectNameHasBeenSet = false;
62
63 Aws::String m_modelVersion;
64 bool m_modelVersionHasBeenSet = false;
65
66 };
67
68} // namespace Model
69} // namespace LookoutforVision
70} // namespace Aws
DetectAnomaliesRequest & WithModelVersion(ModelVersionT &&value)
DetectAnomaliesRequest & WithProjectName(ProjectNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_LOOKOUTFORVISION_API DetectAnomaliesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String