AWS SDK for C++  1.9.106
AWS SDK for C++
DetectAnomaliesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/core/utils/Array.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace LookoutforVision
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 
38  inline const Aws::String& GetProjectName() const{ return m_projectName; }
39 
44  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
45 
50  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
51 
56  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
57 
62  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
63 
68  inline DetectAnomaliesRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
69 
74  inline DetectAnomaliesRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
75 
80  inline DetectAnomaliesRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
81 
82 
86  inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
87 
91  inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
92 
96  inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
97 
101  inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
102 
106  inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
107 
111  inline DetectAnomaliesRequest& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
112 
116  inline DetectAnomaliesRequest& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
117 
121  inline DetectAnomaliesRequest& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
122 
123  private:
124 
125  Aws::String m_projectName;
126  bool m_projectNameHasBeenSet;
127 
128  Aws::String m_modelVersion;
129  bool m_modelVersionHasBeenSet;
130 
131  };
132 
133 } // namespace Model
134 } // namespace LookoutforVision
135 } // namespace Aws
Aws::LookoutforVision::Model::DetectAnomaliesRequest::WithProjectName
DetectAnomaliesRequest & WithProjectName(Aws::String &&value)
Definition: DetectAnomaliesRequest.h:74
Aws::LookoutforVision::Model::DetectAnomaliesRequest::WithModelVersion
DetectAnomaliesRequest & WithModelVersion(const Aws::String &value)
Definition: DetectAnomaliesRequest.h:111
Aws::LookoutforVision::Model::DetectAnomaliesRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: DetectAnomaliesRequest.h:44
Aws::LookoutforVision::Model::DetectAnomaliesRequest::DetectAnomaliesRequest
DetectAnomaliesRequest()
LookoutforVisionRequest.h
Aws::LookoutforVision::Model::DetectAnomaliesRequest::WithModelVersion
DetectAnomaliesRequest & WithModelVersion(const char *value)
Definition: DetectAnomaliesRequest.h:121
Aws::LookoutforVision::Model::DetectAnomaliesRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: DetectAnomaliesRequest.h:38
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::DetectAnomaliesRequest::GetModelVersion
const Aws::String & GetModelVersion() const
Definition: DetectAnomaliesRequest.h:86
Aws::LookoutforVision::Model::DetectAnomaliesRequest::WithModelVersion
DetectAnomaliesRequest & WithModelVersion(Aws::String &&value)
Definition: DetectAnomaliesRequest.h:116
Aws::LookoutforVision::Model::DetectAnomaliesRequest::SetModelVersion
void SetModelVersion(Aws::String &&value)
Definition: DetectAnomaliesRequest.h:101
Aws::LookoutforVision::Model::DetectAnomaliesRequest::SetModelVersion
void SetModelVersion(const Aws::String &value)
Definition: DetectAnomaliesRequest.h:96
AWSString.h
Aws::LookoutforVision::Model::DetectAnomaliesRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: DetectAnomaliesRequest.h:50
Aws::LookoutforVision::Model::DetectAnomaliesRequest::SetModelVersion
void SetModelVersion(const char *value)
Definition: DetectAnomaliesRequest.h:106
Aws::AmazonStreamingWebServiceRequest
Definition: AmazonStreamingWebServiceRequest.h:26
Aws::LookoutforVision::Model::DetectAnomaliesRequest::SetProjectName
void SetProjectName(const char *value)
Definition: DetectAnomaliesRequest.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::DetectAnomaliesRequest::WithProjectName
DetectAnomaliesRequest & WithProjectName(const char *value)
Definition: DetectAnomaliesRequest.h:80
Array.h
Aws::LookoutforVision::Model::DetectAnomaliesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DetectAnomaliesRequest.h:31
Aws::LookoutforVision::Model::DetectAnomaliesRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: DetectAnomaliesRequest.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::DetectAnomaliesRequest::WithProjectName
DetectAnomaliesRequest & WithProjectName(const Aws::String &value)
Definition: DetectAnomaliesRequest.h:68
Aws::LookoutforVision::Model::DetectAnomaliesRequest
Definition: DetectAnomaliesRequest.h:23
Aws::LookoutforVision::Model::DetectAnomaliesRequest::ModelVersionHasBeenSet
bool ModelVersionHasBeenSet() const
Definition: DetectAnomaliesRequest.h:91