AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteWorkloadRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.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 Http
16{
17 class URI;
18} //namespace Http
19namespace WellArchitected
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_WELLARCHITECTED_API DeleteWorkloadRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "DeleteWorkload"; }
39
40 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
41
42 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
47 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
48 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
49 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
50 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
51 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
52 inline DeleteWorkloadRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
53 inline DeleteWorkloadRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
54 inline DeleteWorkloadRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
56
58
59 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
60 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
61 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
62 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
63 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
65 inline DeleteWorkloadRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
66 inline DeleteWorkloadRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
68 private:
69
70 Aws::String m_workloadId;
71 bool m_workloadIdHasBeenSet = false;
72
73 Aws::String m_clientRequestToken;
74 bool m_clientRequestTokenHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WellArchitected
79} // namespace Aws
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
DeleteWorkloadRequest & WithClientRequestToken(Aws::String &&value)
DeleteWorkloadRequest & WithWorkloadId(const char *value)
DeleteWorkloadRequest & WithClientRequestToken(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteWorkloadRequest & WithWorkloadId(Aws::String &&value)
DeleteWorkloadRequest & WithWorkloadId(const Aws::String &value)
DeleteWorkloadRequest & WithClientRequestToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String