AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteWorkspaceRequest.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/PrometheusServiceRequest.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 PrometheusService
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_PROMETHEUSSERVICE_API DeleteWorkspaceRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "DeleteWorkspace"; }
40
41 AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override;
42
43 AWS_PROMETHEUSSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
51 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
52 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
53 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
54 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
55 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
56 inline DeleteWorkspaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
57 inline DeleteWorkspaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
58 inline DeleteWorkspaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
60
62
65 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
66 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
67 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
68 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
69 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
70 inline DeleteWorkspaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
71 inline DeleteWorkspaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
72 inline DeleteWorkspaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
74 private:
75
76 Aws::String m_clientToken;
77 bool m_clientTokenHasBeenSet = false;
78
79 Aws::String m_workspaceId;
80 bool m_workspaceIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace PrometheusService
85} // namespace Aws
DeleteWorkspaceRequest & WithClientToken(Aws::String &&value)
DeleteWorkspaceRequest & WithWorkspaceId(Aws::String &&value)
DeleteWorkspaceRequest & WithWorkspaceId(const char *value)
AWS_PROMETHEUSSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteWorkspaceRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteWorkspaceRequest & WithClientToken(const char *value)
DeleteWorkspaceRequest & WithWorkspaceId(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String