AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteRuleRequest.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace VPCLattice
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_VPCLATTICE_API DeleteRuleRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteRule"; }
31
32 AWS_VPCLATTICE_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetListenerIdentifier() const { return m_listenerIdentifier; }
40 inline bool ListenerIdentifierHasBeenSet() const { return m_listenerIdentifierHasBeenSet; }
41 template<typename ListenerIdentifierT = Aws::String>
42 void SetListenerIdentifier(ListenerIdentifierT&& value) { m_listenerIdentifierHasBeenSet = true; m_listenerIdentifier = std::forward<ListenerIdentifierT>(value); }
43 template<typename ListenerIdentifierT = Aws::String>
44 DeleteRuleRequest& WithListenerIdentifier(ListenerIdentifierT&& value) { SetListenerIdentifier(std::forward<ListenerIdentifierT>(value)); return *this;}
46
48
51 inline const Aws::String& GetRuleIdentifier() const { return m_ruleIdentifier; }
52 inline bool RuleIdentifierHasBeenSet() const { return m_ruleIdentifierHasBeenSet; }
53 template<typename RuleIdentifierT = Aws::String>
54 void SetRuleIdentifier(RuleIdentifierT&& value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier = std::forward<RuleIdentifierT>(value); }
55 template<typename RuleIdentifierT = Aws::String>
56 DeleteRuleRequest& WithRuleIdentifier(RuleIdentifierT&& value) { SetRuleIdentifier(std::forward<RuleIdentifierT>(value)); return *this;}
58
60
63 inline const Aws::String& GetServiceIdentifier() const { return m_serviceIdentifier; }
64 inline bool ServiceIdentifierHasBeenSet() const { return m_serviceIdentifierHasBeenSet; }
65 template<typename ServiceIdentifierT = Aws::String>
66 void SetServiceIdentifier(ServiceIdentifierT&& value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier = std::forward<ServiceIdentifierT>(value); }
67 template<typename ServiceIdentifierT = Aws::String>
68 DeleteRuleRequest& WithServiceIdentifier(ServiceIdentifierT&& value) { SetServiceIdentifier(std::forward<ServiceIdentifierT>(value)); return *this;}
70 private:
71
72 Aws::String m_listenerIdentifier;
73 bool m_listenerIdentifierHasBeenSet = false;
74
75 Aws::String m_ruleIdentifier;
76 bool m_ruleIdentifierHasBeenSet = false;
77
78 Aws::String m_serviceIdentifier;
79 bool m_serviceIdentifierHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace VPCLattice
84} // namespace Aws
void SetRuleIdentifier(RuleIdentifierT &&value)
const Aws::String & GetListenerIdentifier() const
AWS_VPCLATTICE_API DeleteRuleRequest()=default
void SetListenerIdentifier(ListenerIdentifierT &&value)
DeleteRuleRequest & WithListenerIdentifier(ListenerIdentifierT &&value)
void SetServiceIdentifier(ServiceIdentifierT &&value)
const Aws::String & GetRuleIdentifier() const
DeleteRuleRequest & WithRuleIdentifier(RuleIdentifierT &&value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetServiceIdentifier() const
DeleteRuleRequest & WithServiceIdentifier(ServiceIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String