AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopModelRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace LookoutforVision
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTFORVISION_API StopModelRequest();
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 "StopModel"; }
32
33 AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override;
34
35 AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetProjectName() const{ return m_projectName; }
43 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
44 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
45 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
46 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
47 inline StopModelRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
48 inline StopModelRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
49 inline StopModelRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
51
53
56 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
57 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
58 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
59 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
60 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
61 inline StopModelRequest& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
62 inline StopModelRequest& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
63 inline StopModelRequest& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
65
67
81 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
82 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
83 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
84 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
85 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
86 inline StopModelRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
87 inline StopModelRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
88 inline StopModelRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
90 private:
91
92 Aws::String m_projectName;
93 bool m_projectNameHasBeenSet = false;
94
95 Aws::String m_modelVersion;
96 bool m_modelVersionHasBeenSet = false;
97
98 Aws::String m_clientToken;
99 bool m_clientTokenHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace LookoutforVision
104} // namespace Aws
void SetClientToken(const Aws::String &value)
AWS_LOOKOUTFORVISION_API StopModelRequest()
virtual const char * GetServiceRequestName() const override
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetModelVersion(const Aws::String &value)
StopModelRequest & WithProjectName(const char *value)
void SetProjectName(const Aws::String &value)
StopModelRequest & WithClientToken(const Aws::String &value)
StopModelRequest & WithModelVersion(const Aws::String &value)
StopModelRequest & WithModelVersion(const char *value)
StopModelRequest & WithModelVersion(Aws::String &&value)
StopModelRequest & WithProjectName(const Aws::String &value)
StopModelRequest & WithClientToken(const char *value)
StopModelRequest & WithProjectName(Aws::String &&value)
StopModelRequest & WithClientToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String