AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
GetRuleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace DataZone {
18namespace Model {
19
23 public:
24 AWS_DATAZONE_API GetRuleRequest() = 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 "GetRule"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
34 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
41 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
42 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
43 template <typename DomainIdentifierT = Aws::String>
44 void SetDomainIdentifier(DomainIdentifierT&& value) {
45 m_domainIdentifierHasBeenSet = true;
46 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
47 }
48 template <typename DomainIdentifierT = Aws::String>
49 GetRuleRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
50 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetIdentifier() const { return m_identifier; }
60 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
61 template <typename IdentifierT = Aws::String>
62 void SetIdentifier(IdentifierT&& value) {
63 m_identifierHasBeenSet = true;
64 m_identifier = std::forward<IdentifierT>(value);
65 }
66 template <typename IdentifierT = Aws::String>
67 GetRuleRequest& WithIdentifier(IdentifierT&& value) {
68 SetIdentifier(std::forward<IdentifierT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetRevision() const { return m_revision; }
78 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
79 template <typename RevisionT = Aws::String>
80 void SetRevision(RevisionT&& value) {
81 m_revisionHasBeenSet = true;
82 m_revision = std::forward<RevisionT>(value);
83 }
84 template <typename RevisionT = Aws::String>
85 GetRuleRequest& WithRevision(RevisionT&& value) {
86 SetRevision(std::forward<RevisionT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_domainIdentifier;
92 bool m_domainIdentifierHasBeenSet = false;
93
94 Aws::String m_identifier;
95 bool m_identifierHasBeenSet = false;
96
97 Aws::String m_revision;
98 bool m_revisionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace DataZone
103} // namespace Aws
const Aws::String & GetDomainIdentifier() const
GetRuleRequest & WithRevision(RevisionT &&value)
const Aws::String & GetRevision() const
void SetRevision(RevisionT &&value)
virtual const char * GetServiceRequestName() const override
void SetIdentifier(IdentifierT &&value)
GetRuleRequest & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API GetRuleRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::String & GetIdentifier() const
GetRuleRequest & WithDomainIdentifier(DomainIdentifierT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String