AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateModelRequest.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutequipment/model/LabelsInputConfiguration.h>
11#include <aws/lookoutequipment/model/ModelDiagnosticsOutputConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LookoutEquipment
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOOKOUTEQUIPMENT_API UpdateModelRequest();
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 "UpdateModel"; }
33
34 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
35
36 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetModelName() const{ return m_modelName; }
44 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
45 inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
46 inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
47 inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
48 inline UpdateModelRequest& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
49 inline UpdateModelRequest& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
50 inline UpdateModelRequest& WithModelName(const char* value) { SetModelName(value); return *this;}
52
54
55 inline const LabelsInputConfiguration& GetLabelsInputConfiguration() const{ return m_labelsInputConfiguration; }
56 inline bool LabelsInputConfigurationHasBeenSet() const { return m_labelsInputConfigurationHasBeenSet; }
57 inline void SetLabelsInputConfiguration(const LabelsInputConfiguration& value) { m_labelsInputConfigurationHasBeenSet = true; m_labelsInputConfiguration = value; }
58 inline void SetLabelsInputConfiguration(LabelsInputConfiguration&& value) { m_labelsInputConfigurationHasBeenSet = true; m_labelsInputConfiguration = std::move(value); }
62
64
67 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
68 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
69 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
70 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
71 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
72 inline UpdateModelRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
73 inline UpdateModelRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
74 inline UpdateModelRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
76
78
83 inline const ModelDiagnosticsOutputConfiguration& GetModelDiagnosticsOutputConfiguration() const{ return m_modelDiagnosticsOutputConfiguration; }
84 inline bool ModelDiagnosticsOutputConfigurationHasBeenSet() const { return m_modelDiagnosticsOutputConfigurationHasBeenSet; }
85 inline void SetModelDiagnosticsOutputConfiguration(const ModelDiagnosticsOutputConfiguration& value) { m_modelDiagnosticsOutputConfigurationHasBeenSet = true; m_modelDiagnosticsOutputConfiguration = value; }
86 inline void SetModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration&& value) { m_modelDiagnosticsOutputConfigurationHasBeenSet = true; m_modelDiagnosticsOutputConfiguration = std::move(value); }
90 private:
91
92 Aws::String m_modelName;
93 bool m_modelNameHasBeenSet = false;
94
95 LabelsInputConfiguration m_labelsInputConfiguration;
96 bool m_labelsInputConfigurationHasBeenSet = false;
97
98 Aws::String m_roleArn;
99 bool m_roleArnHasBeenSet = false;
100
101 ModelDiagnosticsOutputConfiguration m_modelDiagnosticsOutputConfiguration;
102 bool m_modelDiagnosticsOutputConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace LookoutEquipment
107} // namespace Aws
void SetLabelsInputConfiguration(LabelsInputConfiguration &&value)
const ModelDiagnosticsOutputConfiguration & GetModelDiagnosticsOutputConfiguration() const
UpdateModelRequest & WithRoleArn(const char *value)
UpdateModelRequest & WithLabelsInputConfiguration(LabelsInputConfiguration &&value)
UpdateModelRequest & WithRoleArn(Aws::String &&value)
UpdateModelRequest & WithModelDiagnosticsOutputConfiguration(const ModelDiagnosticsOutputConfiguration &value)
UpdateModelRequest & WithLabelsInputConfiguration(const LabelsInputConfiguration &value)
void SetModelDiagnosticsOutputConfiguration(const ModelDiagnosticsOutputConfiguration &value)
virtual const char * GetServiceRequestName() const override
UpdateModelRequest & WithModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
const LabelsInputConfiguration & GetLabelsInputConfiguration() const
void SetLabelsInputConfiguration(const LabelsInputConfiguration &value)
UpdateModelRequest & WithModelName(const Aws::String &value)
UpdateModelRequest & WithModelName(Aws::String &&value)
UpdateModelRequest & WithModelName(const char *value)
void SetModelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateModelRequest & WithRoleArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String