AWS SDK for C++  1.9.20
AWS SDK for C++
Outcome.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace FraudDetector
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline Outcome& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline Outcome& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline Outcome& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDescription() const{ return m_description; }
85 
89  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 
94  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 
99  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
100 
104  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 
109  inline Outcome& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 
114  inline Outcome& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 
119  inline Outcome& WithDescription(const char* value) { SetDescription(value); return *this;}
120 
121 
125  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
126 
130  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
131 
135  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
136 
140  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
141 
145  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
146 
150  inline Outcome& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
151 
155  inline Outcome& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
156 
160  inline Outcome& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
161 
162 
166  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
167 
171  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
172 
176  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
177 
181  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
182 
186  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
187 
191  inline Outcome& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
192 
196  inline Outcome& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
197 
201  inline Outcome& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
202 
203 
207  inline const Aws::String& GetArn() const{ return m_arn; }
208 
212  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
213 
217  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
218 
222  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
223 
227  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
228 
232  inline Outcome& WithArn(const Aws::String& value) { SetArn(value); return *this;}
233 
237  inline Outcome& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
238 
242  inline Outcome& WithArn(const char* value) { SetArn(value); return *this;}
243 
244  private:
245 
246  Aws::String m_name;
247  bool m_nameHasBeenSet;
248 
249  Aws::String m_description;
250  bool m_descriptionHasBeenSet;
251 
252  Aws::String m_lastUpdatedTime;
253  bool m_lastUpdatedTimeHasBeenSet;
254 
255  Aws::String m_createdTime;
256  bool m_createdTimeHasBeenSet;
257 
258  Aws::String m_arn;
259  bool m_arnHasBeenSet;
260  };
261 
262 } // namespace Model
263 } // namespace FraudDetector
264 } // namespace Aws
Aws::FraudDetector::Model::Outcome::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: Outcome.h:140
Aws::FraudDetector::Model::Outcome::SetArn
void SetArn(Aws::String &&value)
Definition: Outcome.h:222
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::Outcome::WithName
Outcome & WithName(const char *value)
Definition: Outcome.h:78
Aws::FraudDetector::Model::Outcome::WithArn
Outcome & WithArn(const char *value)
Definition: Outcome.h:242
Aws::FraudDetector::Model::Outcome::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Outcome.h:89
Aws::FraudDetector::Model::Outcome::GetDescription
const Aws::String & GetDescription() const
Definition: Outcome.h:84
Aws::FraudDetector::Model::Outcome::WithDescription
Outcome & WithDescription(Aws::String &&value)
Definition: Outcome.h:114
Aws::FraudDetector::Model::Outcome::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Outcome.h:212
Aws::FraudDetector::Model::Outcome::SetDescription
void SetDescription(const char *value)
Definition: Outcome.h:104
Aws::FraudDetector::Model::Outcome
Definition: Outcome.h:32
Aws::FraudDetector::Model::Outcome::Outcome
Outcome()
Aws::FraudDetector::Model::Outcome::SetName
void SetName(Aws::String &&value)
Definition: Outcome.h:58
Aws::FraudDetector::Model::Outcome::WithArn
Outcome & WithArn(Aws::String &&value)
Definition: Outcome.h:237
Aws::FraudDetector::Model::Outcome::operator=
Outcome & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Outcome::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: Outcome.h:130
Aws::FraudDetector::Model::Outcome::WithArn
Outcome & WithArn(const Aws::String &value)
Definition: Outcome.h:232
Aws::FraudDetector::Model::Outcome::SetName
void SetName(const Aws::String &value)
Definition: Outcome.h:53
Aws::FraudDetector::Model::Outcome::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Outcome.h:48
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::Outcome::SetArn
void SetArn(const char *value)
Definition: Outcome.h:227
Aws::FraudDetector::Model::Outcome::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: Outcome.h:176
Aws::FraudDetector::Model::Outcome::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: Outcome.h:166
Aws::FraudDetector::Model::Outcome::GetArn
const Aws::String & GetArn() const
Definition: Outcome.h:207
Aws::FraudDetector::Model::Outcome::WithDescription
Outcome & WithDescription(const Aws::String &value)
Definition: Outcome.h:109
Aws::FraudDetector::Model::Outcome::WithCreatedTime
Outcome & WithCreatedTime(Aws::String &&value)
Definition: Outcome.h:196
Aws::FraudDetector::Model::Outcome::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: Outcome.h:135
Aws::FraudDetector::Model::Outcome::WithLastUpdatedTime
Outcome & WithLastUpdatedTime(Aws::String &&value)
Definition: Outcome.h:155
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::FraudDetector::Model::Outcome::SetName
void SetName(const char *value)
Definition: Outcome.h:63
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::Outcome::WithName
Outcome & WithName(const Aws::String &value)
Definition: Outcome.h:68
Aws::FraudDetector::Model::Outcome::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: Outcome.h:181
Aws::FraudDetector::Model::Outcome::SetArn
void SetArn(const Aws::String &value)
Definition: Outcome.h:217
Aws::FraudDetector::Model::Outcome::GetName
const Aws::String & GetName() const
Definition: Outcome.h:43
Aws::FraudDetector::Model::Outcome::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: Outcome.h:145
Aws::FraudDetector::Model::Outcome::Outcome
Outcome(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::Outcome::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: Outcome.h:171
Aws::FraudDetector::Model::Outcome::SetDescription
void SetDescription(Aws::String &&value)
Definition: Outcome.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::Outcome::WithCreatedTime
Outcome & WithCreatedTime(const char *value)
Definition: Outcome.h:201
Aws::FraudDetector::Model::Outcome::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: Outcome.h:125
Aws::FraudDetector::Model::Outcome::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: Outcome.h:186
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::Outcome::WithDescription
Outcome & WithDescription(const char *value)
Definition: Outcome.h:119
Aws::FraudDetector::Model::Outcome::WithLastUpdatedTime
Outcome & WithLastUpdatedTime(const Aws::String &value)
Definition: Outcome.h:150
Aws::FraudDetector::Model::Outcome::WithName
Outcome & WithName(Aws::String &&value)
Definition: Outcome.h:73
Aws::FraudDetector::Model::Outcome::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::Outcome::SetDescription
void SetDescription(const Aws::String &value)
Definition: Outcome.h:94
Aws::FraudDetector::Model::Outcome::WithCreatedTime
Outcome & WithCreatedTime(const Aws::String &value)
Definition: Outcome.h:191
Aws::FraudDetector::Model::Outcome::WithLastUpdatedTime
Outcome & WithLastUpdatedTime(const char *value)
Definition: Outcome.h:160