AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteProjectRequest.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 DeleteProjectRequest();
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 "DeleteProject"; }
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 DeleteProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
48 inline DeleteProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
49 inline DeleteProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
51
53
67 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
68 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
69 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
70 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
71 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
72 inline DeleteProjectRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
73 inline DeleteProjectRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
74 inline DeleteProjectRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
76 private:
77
78 Aws::String m_projectName;
79 bool m_projectNameHasBeenSet = false;
80
81 Aws::String m_clientToken;
82 bool m_clientTokenHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace LookoutforVision
87} // namespace Aws
DeleteProjectRequest & WithProjectName(Aws::String &&value)
DeleteProjectRequest & WithProjectName(const Aws::String &value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
DeleteProjectRequest & WithClientToken(Aws::String &&value)
DeleteProjectRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteProjectRequest & WithClientToken(const Aws::String &value)
DeleteProjectRequest & WithProjectName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String