AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
RejectSubscriptionRequestRequest.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 DataZone {
15namespace Model {
16
20 public:
21 AWS_DATAZONE_API RejectSubscriptionRequestRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RejectSubscriptionRequest"; }
28
29 AWS_DATAZONE_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetDecisionComment() const { return m_decisionComment; }
36 inline bool DecisionCommentHasBeenSet() const { return m_decisionCommentHasBeenSet; }
37 template <typename DecisionCommentT = Aws::String>
38 void SetDecisionComment(DecisionCommentT&& value) {
39 m_decisionCommentHasBeenSet = true;
40 m_decisionComment = std::forward<DecisionCommentT>(value);
41 }
42 template <typename DecisionCommentT = Aws::String>
44 SetDecisionComment(std::forward<DecisionCommentT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
55 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
56 template <typename DomainIdentifierT = Aws::String>
57 void SetDomainIdentifier(DomainIdentifierT&& value) {
58 m_domainIdentifierHasBeenSet = true;
59 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
60 }
61 template <typename DomainIdentifierT = Aws::String>
63 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetIdentifier() const { return m_identifier; }
73 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
74 template <typename IdentifierT = Aws::String>
75 void SetIdentifier(IdentifierT&& value) {
76 m_identifierHasBeenSet = true;
77 m_identifier = std::forward<IdentifierT>(value);
78 }
79 template <typename IdentifierT = Aws::String>
81 SetIdentifier(std::forward<IdentifierT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_decisionComment;
87 bool m_decisionCommentHasBeenSet = false;
88
89 Aws::String m_domainIdentifier;
90 bool m_domainIdentifierHasBeenSet = false;
91
92 Aws::String m_identifier;
93 bool m_identifierHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace DataZone
98} // namespace Aws
RejectSubscriptionRequestRequest & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API RejectSubscriptionRequestRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
RejectSubscriptionRequestRequest & WithDecisionComment(DecisionCommentT &&value)
RejectSubscriptionRequestRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String