AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
36 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
37 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
38 template <typename DomainIdentifierT = Aws::String>
39 void SetDomainIdentifier(DomainIdentifierT&& value) {
40 m_domainIdentifierHasBeenSet = true;
41 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
42 }
43 template <typename DomainIdentifierT = Aws::String>
45 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetIdentifier() const { return m_identifier; }
55 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
56 template <typename IdentifierT = Aws::String>
57 void SetIdentifier(IdentifierT&& value) {
58 m_identifierHasBeenSet = true;
59 m_identifier = std::forward<IdentifierT>(value);
60 }
61 template <typename IdentifierT = Aws::String>
63 SetIdentifier(std::forward<IdentifierT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDecisionComment() const { return m_decisionComment; }
73 inline bool DecisionCommentHasBeenSet() const { return m_decisionCommentHasBeenSet; }
74 template <typename DecisionCommentT = Aws::String>
75 void SetDecisionComment(DecisionCommentT&& value) {
76 m_decisionCommentHasBeenSet = true;
77 m_decisionComment = std::forward<DecisionCommentT>(value);
78 }
79 template <typename DecisionCommentT = Aws::String>
81 SetDecisionComment(std::forward<DecisionCommentT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_domainIdentifier;
87
88 Aws::String m_identifier;
89
90 Aws::String m_decisionComment;
91 bool m_domainIdentifierHasBeenSet = false;
92 bool m_identifierHasBeenSet = false;
93 bool m_decisionCommentHasBeenSet = 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