AWS SDK for C++  1.9.71
AWS SDK for C++
PutEntityTypeRequest.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 "PutEntityType"; }
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 PutEntityTypeRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 
72  inline PutEntityTypeRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 
77  inline PutEntityTypeRequest& 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 PutEntityTypeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
109 
113  inline PutEntityTypeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 
118  inline PutEntityTypeRequest& 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 PutEntityTypeRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
145 
149  inline PutEntityTypeRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
150 
154  inline PutEntityTypeRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
155 
159  inline PutEntityTypeRequest& 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
FraudDetectorRequest.h
Aws::FraudDetector::Model::PutEntityTypeRequest::WithName
PutEntityTypeRequest & WithName(const Aws::String &value)
Definition: PutEntityTypeRequest.h:67
Aws::FraudDetector::Model::PutEntityTypeRequest::GetName
const Aws::String & GetName() const
Definition: PutEntityTypeRequest.h:42
Tag.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::PutEntityTypeRequest::WithName
PutEntityTypeRequest & WithName(Aws::String &&value)
Definition: PutEntityTypeRequest.h:72
Aws::FraudDetector::Model::PutEntityTypeRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PutEntityTypeRequest.h:88
Aws::FraudDetector::Model::PutEntityTypeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::PutEntityTypeRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PutEntityTypeRequest.h:47
Aws::FraudDetector::Model::PutEntityTypeRequest::AddTags
PutEntityTypeRequest & AddTags(Tag &&value)
Definition: PutEntityTypeRequest.h:159
Aws::FraudDetector::Model::Tag
Definition: Tag.h:32
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::PutEntityTypeRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: PutEntityTypeRequest.h:134
Aws::FraudDetector::Model::PutEntityTypeRequest::AddTags
PutEntityTypeRequest & AddTags(const Tag &value)
Definition: PutEntityTypeRequest.h:154
AWSVector.h
Aws::FraudDetector::Model::PutEntityTypeRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: PutEntityTypeRequest.h:98
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::PutEntityTypeRequest::WithDescription
PutEntityTypeRequest & WithDescription(Aws::String &&value)
Definition: PutEntityTypeRequest.h:113
Aws::FraudDetector::Model::PutEntityTypeRequest::WithDescription
PutEntityTypeRequest & WithDescription(const Aws::String &value)
Definition: PutEntityTypeRequest.h:108
Aws::FraudDetector::Model::PutEntityTypeRequest::SetName
void SetName(const Aws::String &value)
Definition: PutEntityTypeRequest.h:52
Aws::FraudDetector::Model::PutEntityTypeRequest::PutEntityTypeRequest
PutEntityTypeRequest()
Aws::FraudDetector::Model::PutEntityTypeRequest::SetName
void SetName(Aws::String &&value)
Definition: PutEntityTypeRequest.h:57
Aws::FraudDetector::Model::PutEntityTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutEntityTypeRequest.h:32
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::PutEntityTypeRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: PutEntityTypeRequest.h:93
Aws::FraudDetector::Model::PutEntityTypeRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: PutEntityTypeRequest.h:139
Aws::FraudDetector::Model::PutEntityTypeRequest::SetName
void SetName(const char *value)
Definition: PutEntityTypeRequest.h:62
Aws::FraudDetector::Model::PutEntityTypeRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::FraudDetector::Model::PutEntityTypeRequest::WithDescription
PutEntityTypeRequest & WithDescription(const char *value)
Definition: PutEntityTypeRequest.h:118
Aws::FraudDetector::Model::PutEntityTypeRequest::WithName
PutEntityTypeRequest & WithName(const char *value)
Definition: PutEntityTypeRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::PutEntityTypeRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: PutEntityTypeRequest.h:129
Aws::FraudDetector::Model::PutEntityTypeRequest
Definition: PutEntityTypeRequest.h:24
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::PutEntityTypeRequest::SetDescription
void SetDescription(const char *value)
Definition: PutEntityTypeRequest.h:103
Aws::FraudDetector::Model::PutEntityTypeRequest::GetDescription
const Aws::String & GetDescription() const
Definition: PutEntityTypeRequest.h:83
Aws::FraudDetector::Model::PutEntityTypeRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: PutEntityTypeRequest.h:124
Aws::FraudDetector::Model::PutEntityTypeRequest::WithTags
PutEntityTypeRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: PutEntityTypeRequest.h:149
Aws::FraudDetector::Model::PutEntityTypeRequest::WithTags
PutEntityTypeRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: PutEntityTypeRequest.h:144