AWS SDK for C++  1.8.71
AWS SDK for C++
DeleteProjectRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoTSiteWise
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DeleteProject"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetProjectId() const{ return m_projectId; }
46 
50  inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
51 
55  inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
56 
60  inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
61 
65  inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
66 
70  inline DeleteProjectRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
71 
75  inline DeleteProjectRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
76 
80  inline DeleteProjectRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;}
81 
82 
88  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
89 
95  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
96 
102  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
103 
109  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
110 
116  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
117 
123  inline DeleteProjectRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
124 
130  inline DeleteProjectRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
131 
137  inline DeleteProjectRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
138 
139  private:
140 
141  Aws::String m_projectId;
142  bool m_projectIdHasBeenSet;
143 
144  Aws::String m_clientToken;
145  bool m_clientTokenHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace IoTSiteWise
150 } // namespace Aws
DeleteProjectRequest & WithProjectId(Aws::String &&value)
#define AWS_IOTSITEWISE_API
DeleteProjectRequest & WithClientToken(const Aws::String &value)
DeleteProjectRequest & WithProjectId(const char *value)
DeleteProjectRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteProjectRequest & WithProjectId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteProjectRequest & WithClientToken(const char *value)