AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRuleRequest.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 GetRuleRequest();
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 "GetRule"; }
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 inline void SetListenerIdentifier(const Aws::String& value) { m_listenerIdentifierHasBeenSet = true; m_listenerIdentifier = value; }
42 inline void SetListenerIdentifier(Aws::String&& value) { m_listenerIdentifierHasBeenSet = true; m_listenerIdentifier = std::move(value); }
43 inline void SetListenerIdentifier(const char* value) { m_listenerIdentifierHasBeenSet = true; m_listenerIdentifier.assign(value); }
44 inline GetRuleRequest& WithListenerIdentifier(const Aws::String& value) { SetListenerIdentifier(value); return *this;}
45 inline GetRuleRequest& WithListenerIdentifier(Aws::String&& value) { SetListenerIdentifier(std::move(value)); return *this;}
46 inline GetRuleRequest& WithListenerIdentifier(const char* value) { SetListenerIdentifier(value); return *this;}
48
50
53 inline const Aws::String& GetRuleIdentifier() const{ return m_ruleIdentifier; }
54 inline bool RuleIdentifierHasBeenSet() const { return m_ruleIdentifierHasBeenSet; }
55 inline void SetRuleIdentifier(const Aws::String& value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier = value; }
56 inline void SetRuleIdentifier(Aws::String&& value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier = std::move(value); }
57 inline void SetRuleIdentifier(const char* value) { m_ruleIdentifierHasBeenSet = true; m_ruleIdentifier.assign(value); }
58 inline GetRuleRequest& WithRuleIdentifier(const Aws::String& value) { SetRuleIdentifier(value); return *this;}
59 inline GetRuleRequest& WithRuleIdentifier(Aws::String&& value) { SetRuleIdentifier(std::move(value)); return *this;}
60 inline GetRuleRequest& WithRuleIdentifier(const char* value) { SetRuleIdentifier(value); return *this;}
62
64
67 inline const Aws::String& GetServiceIdentifier() const{ return m_serviceIdentifier; }
68 inline bool ServiceIdentifierHasBeenSet() const { return m_serviceIdentifierHasBeenSet; }
69 inline void SetServiceIdentifier(const Aws::String& value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier = value; }
70 inline void SetServiceIdentifier(Aws::String&& value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier = std::move(value); }
71 inline void SetServiceIdentifier(const char* value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier.assign(value); }
72 inline GetRuleRequest& WithServiceIdentifier(const Aws::String& value) { SetServiceIdentifier(value); return *this;}
73 inline GetRuleRequest& WithServiceIdentifier(Aws::String&& value) { SetServiceIdentifier(std::move(value)); return *this;}
74 inline GetRuleRequest& WithServiceIdentifier(const char* value) { SetServiceIdentifier(value); return *this;}
76 private:
77
78 Aws::String m_listenerIdentifier;
79 bool m_listenerIdentifierHasBeenSet = false;
80
81 Aws::String m_ruleIdentifier;
82 bool m_ruleIdentifierHasBeenSet = false;
83
84 Aws::String m_serviceIdentifier;
85 bool m_serviceIdentifierHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace VPCLattice
90} // namespace Aws
void SetListenerIdentifier(const Aws::String &value)
void SetRuleIdentifier(const char *value)
void SetServiceIdentifier(const Aws::String &value)
GetRuleRequest & WithServiceIdentifier(const Aws::String &value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
const Aws::String & GetRuleIdentifier() const
GetRuleRequest & WithRuleIdentifier(const char *value)
GetRuleRequest & WithListenerIdentifier(Aws::String &&value)
void SetServiceIdentifier(const char *value)
GetRuleRequest & WithServiceIdentifier(Aws::String &&value)
void SetRuleIdentifier(const Aws::String &value)
void SetServiceIdentifier(Aws::String &&value)
GetRuleRequest & WithListenerIdentifier(const Aws::String &value)
void SetListenerIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
GetRuleRequest & WithServiceIdentifier(const char *value)
GetRuleRequest & WithListenerIdentifier(const char *value)
GetRuleRequest & WithRuleIdentifier(Aws::String &&value)
void SetListenerIdentifier(Aws::String &&value)
GetRuleRequest & WithRuleIdentifier(const Aws::String &value)
const Aws::String & GetListenerIdentifier() const
const Aws::String & GetServiceIdentifier() const
void SetRuleIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String