AWS SDK for C++  1.9.20
AWS SDK for C++
PutOutcomeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace FraudDetector
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "PutOutcome"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetName() const{ return m_name; }
43 
47  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 
52  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 
57  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 
62  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 
67  inline PutOutcomeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 
72  inline PutOutcomeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 
77  inline PutOutcomeRequest& WithName(const char* value) { SetName(value); return *this;}
78 
79 
83  inline const Aws::String& GetDescription() const{ return m_description; }
84 
88  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 
93  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
94 
98  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
99 
103  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
104 
108  inline PutOutcomeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
109 
113  inline PutOutcomeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 
118  inline PutOutcomeRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
119 
120 
124  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
125 
129  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 
134  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
135 
139  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
140 
144  inline PutOutcomeRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
145 
149  inline PutOutcomeRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
150 
154  inline PutOutcomeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
155 
159  inline PutOutcomeRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
160 
161  private:
162 
163  Aws::String m_name;
164  bool m_nameHasBeenSet;
165 
166  Aws::String m_description;
167  bool m_descriptionHasBeenSet;
168 
169  Aws::Vector<Tag> m_tags;
170  bool m_tagsHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace FraudDetector
175 } // namespace Aws
Aws::FraudDetector::Model::PutOutcomeRequest::WithTags
PutOutcomeRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: PutOutcomeRequest.h:149
FraudDetectorRequest.h
Aws::FraudDetector::Model::PutOutcomeRequest::GetDescription
const Aws::String & GetDescription() const
Definition: PutOutcomeRequest.h:83
Aws::FraudDetector::Model::PutOutcomeRequest::WithDescription
PutOutcomeRequest & WithDescription(Aws::String &&value)
Definition: PutOutcomeRequest.h:113
Aws::FraudDetector::Model::PutOutcomeRequest::GetName
const Aws::String & GetName() const
Definition: PutOutcomeRequest.h:42
Aws::FraudDetector::Model::PutOutcomeRequest::SetName
void SetName(Aws::String &&value)
Definition: PutOutcomeRequest.h:57
Tag.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::PutOutcomeRequest::SetName
void SetName(const char *value)
Definition: PutOutcomeRequest.h:62
Aws::FraudDetector::Model::PutOutcomeRequest::WithName
PutOutcomeRequest & WithName(const char *value)
Definition: PutOutcomeRequest.h:77
Aws::FraudDetector::Model::PutOutcomeRequest::SetName
void SetName(const Aws::String &value)
Definition: PutOutcomeRequest.h:52
Aws::FraudDetector::Model::PutOutcomeRequest::PutOutcomeRequest
PutOutcomeRequest()
Aws::FraudDetector::Model::PutOutcomeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutOutcomeRequest.h:32
Aws::FraudDetector::Model::Tag
Definition: Tag.h:32
Aws::FraudDetector::Model::PutOutcomeRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: PutOutcomeRequest.h:93
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::FraudDetector::Model::PutOutcomeRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: PutOutcomeRequest.h:129
Aws::FraudDetector::Model::PutOutcomeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::PutOutcomeRequest::SetDescription
void SetDescription(const char *value)
Definition: PutOutcomeRequest.h:103
Aws::FraudDetector::Model::PutOutcomeRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PutOutcomeRequest.h:47
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::PutOutcomeRequest::WithDescription
PutOutcomeRequest & WithDescription(const char *value)
Definition: PutOutcomeRequest.h:118
Aws::FraudDetector::Model::PutOutcomeRequest::AddTags
PutOutcomeRequest & AddTags(Tag &&value)
Definition: PutOutcomeRequest.h:159
Aws::FraudDetector::Model::PutOutcomeRequest::WithTags
PutOutcomeRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: PutOutcomeRequest.h:144
AWSString.h
Aws::FraudDetector::Model::PutOutcomeRequest::AddTags
PutOutcomeRequest & AddTags(const Tag &value)
Definition: PutOutcomeRequest.h:154
Aws::FraudDetector::Model::PutOutcomeRequest
Definition: PutOutcomeRequest.h:24
Aws::FraudDetector::Model::PutOutcomeRequest::WithDescription
PutOutcomeRequest & WithDescription(const Aws::String &value)
Definition: PutOutcomeRequest.h:108
Aws::FraudDetector::Model::PutOutcomeRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: PutOutcomeRequest.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::PutOutcomeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::PutOutcomeRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PutOutcomeRequest.h:88
Aws::FraudDetector::Model::PutOutcomeRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: PutOutcomeRequest.h:134
Aws::FraudDetector::Model::PutOutcomeRequest::WithName
PutOutcomeRequest & WithName(const Aws::String &value)
Definition: PutOutcomeRequest.h:67
Aws::FraudDetector::Model::PutOutcomeRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: PutOutcomeRequest.h:124
Aws::FraudDetector::Model::PutOutcomeRequest::WithName
PutOutcomeRequest & WithName(Aws::String &&value)
Definition: PutOutcomeRequest.h:72
Aws::FraudDetector::Model::PutOutcomeRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: PutOutcomeRequest.h:139