AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
42 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
43 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
44 inline DetectAnomaliesRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
45 inline DetectAnomaliesRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
46 inline DetectAnomaliesRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
48
50
53 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
54 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
55 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
56 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
57 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
58 inline DetectAnomaliesRequest& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
59 inline DetectAnomaliesRequest& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
60 inline DetectAnomaliesRequest& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
62 private:
63
64 Aws::String m_projectName;
65 bool m_projectNameHasBeenSet = false;
66
67 Aws::String m_modelVersion;
68 bool m_modelVersionHasBeenSet = false;
69
70 };
71
72} // namespace Model
73} // namespace LookoutforVision
74} // namespace Aws
DetectAnomaliesRequest & WithProjectName(const Aws::String &value)
DetectAnomaliesRequest & WithProjectName(const char *value)
virtual const char * GetServiceRequestName() const override
DetectAnomaliesRequest & WithModelVersion(Aws::String &&value)
DetectAnomaliesRequest & WithModelVersion(const Aws::String &value)
DetectAnomaliesRequest & WithModelVersion(const char *value)
DetectAnomaliesRequest & WithProjectName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String