AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteRuleGroupsNamespaceRequest.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 DeleteRuleGroupsNamespaceRequest();
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 "DeleteRuleGroupsNamespace"; }
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 DeleteRuleGroupsNamespaceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
57 inline DeleteRuleGroupsNamespaceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
58 inline DeleteRuleGroupsNamespaceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
60
62
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline DeleteRuleGroupsNamespaceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline DeleteRuleGroupsNamespaceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline DeleteRuleGroupsNamespaceRequest& WithName(const char* value) { SetName(value); return *this;}
74
76
80 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
81 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
82 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
83 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
84 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
85 inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
86 inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
87 inline DeleteRuleGroupsNamespaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
89 private:
90
91 Aws::String m_clientToken;
92 bool m_clientTokenHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_workspaceId;
98 bool m_workspaceIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace PrometheusService
103} // namespace Aws
DeleteRuleGroupsNamespaceRequest & WithWorkspaceId(const Aws::String &value)
DeleteRuleGroupsNamespaceRequest & WithWorkspaceId(Aws::String &&value)
DeleteRuleGroupsNamespaceRequest & WithClientToken(Aws::String &&value)
DeleteRuleGroupsNamespaceRequest & WithName(Aws::String &&value)
DeleteRuleGroupsNamespaceRequest & WithClientToken(const char *value)
DeleteRuleGroupsNamespaceRequest & WithName(const Aws::String &value)
AWS_PROMETHEUSSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
DeleteRuleGroupsNamespaceRequest & WithWorkspaceId(const char *value)
DeleteRuleGroupsNamespaceRequest & WithClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String