AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectSubscriptionRequestRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DataZone
15{
16namespace Model
17{
18
22 {
23 public:
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 "RejectSubscriptionRequest"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDecisionComment() const{ return m_decisionComment; }
40 inline bool DecisionCommentHasBeenSet() const { return m_decisionCommentHasBeenSet; }
41 inline void SetDecisionComment(const Aws::String& value) { m_decisionCommentHasBeenSet = true; m_decisionComment = value; }
42 inline void SetDecisionComment(Aws::String&& value) { m_decisionCommentHasBeenSet = true; m_decisionComment = std::move(value); }
43 inline void SetDecisionComment(const char* value) { m_decisionCommentHasBeenSet = true; m_decisionComment.assign(value); }
45 inline RejectSubscriptionRequestRequest& WithDecisionComment(Aws::String&& value) { SetDecisionComment(std::move(value)); return *this;}
46 inline RejectSubscriptionRequestRequest& WithDecisionComment(const char* value) { SetDecisionComment(value); return *this;}
48
50
54 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
55 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
56 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
57 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
58 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
60 inline RejectSubscriptionRequestRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
61 inline RejectSubscriptionRequestRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
63
65
68 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
69 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
70 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
71 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
72 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
73 inline RejectSubscriptionRequestRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
74 inline RejectSubscriptionRequestRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
75 inline RejectSubscriptionRequestRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
77 private:
78
79 Aws::String m_decisionComment;
80 bool m_decisionCommentHasBeenSet = false;
81
82 Aws::String m_domainIdentifier;
83 bool m_domainIdentifierHasBeenSet = false;
84
85 Aws::String m_identifier;
86 bool m_identifierHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DataZone
91} // namespace Aws
RejectSubscriptionRequestRequest & WithIdentifier(const char *value)
RejectSubscriptionRequestRequest & WithDecisionComment(const Aws::String &value)
RejectSubscriptionRequestRequest & WithDecisionComment(const char *value)
RejectSubscriptionRequestRequest & WithDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
RejectSubscriptionRequestRequest & WithDomainIdentifier(const char *value)
RejectSubscriptionRequestRequest & WithDecisionComment(Aws::String &&value)
RejectSubscriptionRequestRequest & WithDomainIdentifier(Aws::String &&value)
RejectSubscriptionRequestRequest & WithIdentifier(const Aws::String &value)
RejectSubscriptionRequestRequest & WithIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String