AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteModelRequest.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 DeleteModelRequest() = 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 "DeleteModel"; }
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 template<typename ProjectNameT = Aws::String>
45 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
46 template<typename ProjectNameT = Aws::String>
47 DeleteModelRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
55 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
56 template<typename ModelVersionT = Aws::String>
57 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
58 template<typename ModelVersionT = Aws::String>
59 DeleteModelRequest& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
61
63
77 inline const Aws::String& GetClientToken() const { return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 template<typename ClientTokenT = Aws::String>
80 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
81 template<typename ClientTokenT = Aws::String>
82 DeleteModelRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
84 private:
85
86 Aws::String m_projectName;
87 bool m_projectNameHasBeenSet = false;
88
89 Aws::String m_modelVersion;
90 bool m_modelVersionHasBeenSet = false;
91
93 bool m_clientTokenHasBeenSet = true;
94 };
95
96} // namespace Model
97} // namespace LookoutforVision
98} // namespace Aws
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteModelRequest & WithClientToken(ClientTokenT &&value)
AWS_LOOKOUTFORVISION_API DeleteModelRequest()=default
DeleteModelRequest & WithProjectName(ProjectNameT &&value)
DeleteModelRequest & WithModelVersion(ModelVersionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String