AWS SDK for C++  1.9.14
AWS SDK for C++
DetectorVersionSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace FraudDetector
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
45 
49  inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; }
50 
54  inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = value; }
55 
59  inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::move(value); }
60 
64  inline void SetDetectorVersionId(const char* value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId.assign(value); }
65 
69  inline DetectorVersionSummary& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;}
70 
74  inline DetectorVersionSummary& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
75 
79  inline DetectorVersionSummary& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
80 
81 
85  inline const DetectorVersionStatus& GetStatus() const{ return m_status; }
86 
90  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 
95  inline void SetStatus(const DetectorVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 
100  inline void SetStatus(DetectorVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
101 
105  inline DetectorVersionSummary& WithStatus(const DetectorVersionStatus& value) { SetStatus(value); return *this;}
106 
110  inline DetectorVersionSummary& WithStatus(DetectorVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
111 
112 
116  inline const Aws::String& GetDescription() const{ return m_description; }
117 
121  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
122 
126  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
127 
131  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
132 
136  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
137 
141  inline DetectorVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
142 
146  inline DetectorVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
147 
151  inline DetectorVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
152 
153 
157  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
158 
162  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
163 
167  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
168 
172  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
173 
177  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
178 
182  inline DetectorVersionSummary& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
183 
187  inline DetectorVersionSummary& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
188 
192  inline DetectorVersionSummary& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
193 
194  private:
195 
196  Aws::String m_detectorVersionId;
197  bool m_detectorVersionIdHasBeenSet;
198 
199  DetectorVersionStatus m_status;
200  bool m_statusHasBeenSet;
201 
202  Aws::String m_description;
203  bool m_descriptionHasBeenSet;
204 
205  Aws::String m_lastUpdatedTime;
206  bool m_lastUpdatedTimeHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace FraudDetector
211 } // namespace Aws
Aws::FraudDetector::Model::DetectorVersionSummary::SetDescription
void SetDescription(const char *value)
Definition: DetectorVersionSummary.h:136
Aws::FraudDetector::Model::DetectorVersionStatus
DetectorVersionStatus
Definition: DetectorVersionStatus.h:17
Aws::FraudDetector::Model::DetectorVersionSummary::DetectorVersionIdHasBeenSet
bool DetectorVersionIdHasBeenSet() const
Definition: DetectorVersionSummary.h:49
Aws::FraudDetector::Model::DetectorVersionSummary::GetDetectorVersionId
const Aws::String & GetDetectorVersionId() const
Definition: DetectorVersionSummary.h:44
Aws::FraudDetector::Model::DetectorVersionSummary::GetDescription
const Aws::String & GetDescription() const
Definition: DetectorVersionSummary.h:116
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::DetectorVersionSummary::WithStatus
DetectorVersionSummary & WithStatus(DetectorVersionStatus &&value)
Definition: DetectorVersionSummary.h:110
Aws::FraudDetector::Model::DetectorVersionSummary::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: DetectorVersionSummary.h:162
Aws::FraudDetector::Model::DetectorVersionSummary::WithDetectorVersionId
DetectorVersionSummary & WithDetectorVersionId(const char *value)
Definition: DetectorVersionSummary.h:79
Aws::FraudDetector::Model::DetectorVersionSummary::WithDetectorVersionId
DetectorVersionSummary & WithDetectorVersionId(const Aws::String &value)
Definition: DetectorVersionSummary.h:69
Aws::FraudDetector::Model::DetectorVersionSummary::WithLastUpdatedTime
DetectorVersionSummary & WithLastUpdatedTime(const char *value)
Definition: DetectorVersionSummary.h:192
Aws::FraudDetector::Model::DetectorVersionSummary::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: DetectorVersionSummary.h:157
Aws::FraudDetector::Model::DetectorVersionSummary::WithLastUpdatedTime
DetectorVersionSummary & WithLastUpdatedTime(Aws::String &&value)
Definition: DetectorVersionSummary.h:187
Aws::FraudDetector::Model::DetectorVersionSummary::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: DetectorVersionSummary.h:172
Aws::FraudDetector::Model::DetectorVersionSummary::WithLastUpdatedTime
DetectorVersionSummary & WithLastUpdatedTime(const Aws::String &value)
Definition: DetectorVersionSummary.h:182
Aws::FraudDetector::Model::DetectorVersionSummary::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: DetectorVersionSummary.h:177
Aws::FraudDetector::Model::DetectorVersionSummary::SetStatus
void SetStatus(const DetectorVersionStatus &value)
Definition: DetectorVersionSummary.h:95
Aws::FraudDetector::Model::DetectorVersionSummary::WithStatus
DetectorVersionSummary & WithStatus(const DetectorVersionStatus &value)
Definition: DetectorVersionSummary.h:105
Aws::FraudDetector::Model::DetectorVersionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::DetectorVersionSummary::DetectorVersionSummary
DetectorVersionSummary(Aws::Utils::Json::JsonView jsonValue)
DetectorVersionStatus.h
Aws::FraudDetector::Model::DetectorVersionSummary::WithDetectorVersionId
DetectorVersionSummary & WithDetectorVersionId(Aws::String &&value)
Definition: DetectorVersionSummary.h:74
Aws::FraudDetector::Model::DetectorVersionSummary::SetDetectorVersionId
void SetDetectorVersionId(const Aws::String &value)
Definition: DetectorVersionSummary.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::FraudDetector::Model::DetectorVersionSummary::SetDetectorVersionId
void SetDetectorVersionId(Aws::String &&value)
Definition: DetectorVersionSummary.h:59
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::DetectorVersionSummary::WithDescription
DetectorVersionSummary & WithDescription(const Aws::String &value)
Definition: DetectorVersionSummary.h:141
Aws::FraudDetector::Model::DetectorVersionSummary::WithDescription
DetectorVersionSummary & WithDescription(const char *value)
Definition: DetectorVersionSummary.h:151
Aws::FraudDetector::Model::DetectorVersionSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: DetectorVersionSummary.h:126
Aws::FraudDetector::Model::DetectorVersionSummary::operator=
DetectorVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::DetectorVersionSummary
Definition: DetectorVersionSummary.h:33
Aws::FraudDetector::Model::DetectorVersionSummary::SetDetectorVersionId
void SetDetectorVersionId(const char *value)
Definition: DetectorVersionSummary.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::DetectorVersionSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: DetectorVersionSummary.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::DetectorVersionSummary::WithDescription
DetectorVersionSummary & WithDescription(Aws::String &&value)
Definition: DetectorVersionSummary.h:146
Aws::FraudDetector::Model::DetectorVersionSummary::SetStatus
void SetStatus(DetectorVersionStatus &&value)
Definition: DetectorVersionSummary.h:100
Aws::FraudDetector::Model::DetectorVersionSummary::DetectorVersionSummary
DetectorVersionSummary()
Aws::FraudDetector::Model::DetectorVersionSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: DetectorVersionSummary.h:90
Aws::FraudDetector::Model::DetectorVersionSummary::GetStatus
const DetectorVersionStatus & GetStatus() const
Definition: DetectorVersionSummary.h:85
Aws::FraudDetector::Model::DetectorVersionSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: DetectorVersionSummary.h:131
Aws::FraudDetector::Model::DetectorVersionSummary::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: DetectorVersionSummary.h:167