AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectPredictionsRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/RejectRule.h>
12#include <aws/datazone/model/RejectChoice.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace Http
19{
20 class URI;
21} //namespace Http
22namespace DataZone
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_DATAZONE_API RejectPredictionsRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "RejectPredictions"; }
39
40 AWS_DATAZONE_API Aws::String SerializePayload() const override;
41
42 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
50 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
51 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
52 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
53 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
54 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
55 inline RejectPredictionsRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
56 inline RejectPredictionsRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
57 inline RejectPredictionsRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
59
61
64 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
65 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
66 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
67 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
68 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
70 inline RejectPredictionsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
71 inline RejectPredictionsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
73
75
78 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
79 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
80 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
81 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
82 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
83 inline RejectPredictionsRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
84 inline RejectPredictionsRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
85 inline RejectPredictionsRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
87
89
93 inline const Aws::Vector<RejectChoice>& GetRejectChoices() const{ return m_rejectChoices; }
94 inline bool RejectChoicesHasBeenSet() const { return m_rejectChoicesHasBeenSet; }
95 inline void SetRejectChoices(const Aws::Vector<RejectChoice>& value) { m_rejectChoicesHasBeenSet = true; m_rejectChoices = value; }
96 inline void SetRejectChoices(Aws::Vector<RejectChoice>&& value) { m_rejectChoicesHasBeenSet = true; m_rejectChoices = std::move(value); }
98 inline RejectPredictionsRequest& WithRejectChoices(Aws::Vector<RejectChoice>&& value) { SetRejectChoices(std::move(value)); return *this;}
99 inline RejectPredictionsRequest& AddRejectChoices(const RejectChoice& value) { m_rejectChoicesHasBeenSet = true; m_rejectChoices.push_back(value); return *this; }
100 inline RejectPredictionsRequest& AddRejectChoices(RejectChoice&& value) { m_rejectChoicesHasBeenSet = true; m_rejectChoices.push_back(std::move(value)); return *this; }
102
104
108 inline const RejectRule& GetRejectRule() const{ return m_rejectRule; }
109 inline bool RejectRuleHasBeenSet() const { return m_rejectRuleHasBeenSet; }
110 inline void SetRejectRule(const RejectRule& value) { m_rejectRuleHasBeenSet = true; m_rejectRule = value; }
111 inline void SetRejectRule(RejectRule&& value) { m_rejectRuleHasBeenSet = true; m_rejectRule = std::move(value); }
112 inline RejectPredictionsRequest& WithRejectRule(const RejectRule& value) { SetRejectRule(value); return *this;}
113 inline RejectPredictionsRequest& WithRejectRule(RejectRule&& value) { SetRejectRule(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetRevision() const{ return m_revision; }
121 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
122 inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
123 inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
124 inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
125 inline RejectPredictionsRequest& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
126 inline RejectPredictionsRequest& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
127 inline RejectPredictionsRequest& WithRevision(const char* value) { SetRevision(value); return *this;}
129 private:
130
131 Aws::String m_clientToken;
132 bool m_clientTokenHasBeenSet = false;
133
134 Aws::String m_domainIdentifier;
135 bool m_domainIdentifierHasBeenSet = false;
136
137 Aws::String m_identifier;
138 bool m_identifierHasBeenSet = false;
139
140 Aws::Vector<RejectChoice> m_rejectChoices;
141 bool m_rejectChoicesHasBeenSet = false;
142
143 RejectRule m_rejectRule;
144 bool m_rejectRuleHasBeenSet = false;
145
146 Aws::String m_revision;
147 bool m_revisionHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace DataZone
152} // namespace Aws
RejectPredictionsRequest & AddRejectChoices(RejectChoice &&value)
RejectPredictionsRequest & WithIdentifier(const char *value)
RejectPredictionsRequest & WithClientToken(Aws::String &&value)
RejectPredictionsRequest & WithRejectRule(const RejectRule &value)
RejectPredictionsRequest & WithRevision(const char *value)
RejectPredictionsRequest & WithClientToken(const Aws::String &value)
RejectPredictionsRequest & WithRevision(const Aws::String &value)
void SetRejectChoices(Aws::Vector< RejectChoice > &&value)
RejectPredictionsRequest & WithRejectChoices(const Aws::Vector< RejectChoice > &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
RejectPredictionsRequest & AddRejectChoices(const RejectChoice &value)
RejectPredictionsRequest & WithRejectChoices(Aws::Vector< RejectChoice > &&value)
RejectPredictionsRequest & WithDomainIdentifier(Aws::String &&value)
void SetRejectChoices(const Aws::Vector< RejectChoice > &value)
RejectPredictionsRequest & WithIdentifier(Aws::String &&value)
RejectPredictionsRequest & WithIdentifier(const Aws::String &value)
RejectPredictionsRequest & WithDomainIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< RejectChoice > & GetRejectChoices() const
RejectPredictionsRequest & WithRejectRule(RejectRule &&value)
RejectPredictionsRequest & WithDomainIdentifier(const Aws::String &value)
RejectPredictionsRequest & WithClientToken(const char *value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
RejectPredictionsRequest & WithRevision(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector