AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAlertManagerDefinitionRequest.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 DeleteAlertManagerDefinitionRequest();
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 "DeleteAlertManagerDefinition"; }
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); }
57 inline DeleteAlertManagerDefinitionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
58 inline DeleteAlertManagerDefinitionRequest& 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); }
71 inline DeleteAlertManagerDefinitionRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
72 inline DeleteAlertManagerDefinitionRequest& 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
DeleteAlertManagerDefinitionRequest & WithClientToken(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAlertManagerDefinitionRequest & WithWorkspaceId(const char *value)
DeleteAlertManagerDefinitionRequest & WithClientToken(Aws::String &&value)
DeleteAlertManagerDefinitionRequest & WithWorkspaceId(Aws::String &&value)
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
DeleteAlertManagerDefinitionRequest & WithClientToken(const char *value)
DeleteAlertManagerDefinitionRequest & WithWorkspaceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String