AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectorVersionSummary.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/DetectorVersionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FRAUDDETECTOR_API DetectorVersionSummary();
36 AWS_FRAUDDETECTOR_API DetectorVersionSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
46 inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; }
47 inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = value; }
48 inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::move(value); }
49 inline void SetDetectorVersionId(const char* value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId.assign(value); }
51 inline DetectorVersionSummary& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
52 inline DetectorVersionSummary& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
54
56
59 inline const DetectorVersionStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const DetectorVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(DetectorVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline DetectorVersionSummary& WithStatus(const DetectorVersionStatus& value) { SetStatus(value); return *this;}
64 inline DetectorVersionSummary& WithStatus(DetectorVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline DetectorVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline DetectorVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline DetectorVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
85 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
86 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
87 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
88 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
89 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
90 inline DetectorVersionSummary& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
91 inline DetectorVersionSummary& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
92 inline DetectorVersionSummary& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
94 private:
95
96 Aws::String m_detectorVersionId;
97 bool m_detectorVersionIdHasBeenSet = false;
98
99 DetectorVersionStatus m_status;
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104
105 Aws::String m_lastUpdatedTime;
106 bool m_lastUpdatedTimeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace FraudDetector
111} // namespace Aws
DetectorVersionSummary & WithLastUpdatedTime(const char *value)
DetectorVersionSummary & WithDetectorVersionId(Aws::String &&value)
DetectorVersionSummary & WithDescription(const char *value)
AWS_FRAUDDETECTOR_API DetectorVersionSummary(Aws::Utils::Json::JsonView jsonValue)
DetectorVersionSummary & WithDescription(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
DetectorVersionSummary & WithLastUpdatedTime(Aws::String &&value)
DetectorVersionSummary & WithDetectorVersionId(const char *value)
DetectorVersionSummary & WithLastUpdatedTime(const Aws::String &value)
DetectorVersionSummary & WithDescription(Aws::String &&value)
AWS_FRAUDDETECTOR_API DetectorVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DetectorVersionStatus & GetStatus() const
DetectorVersionSummary & WithDetectorVersionId(const Aws::String &value)
DetectorVersionSummary & WithStatus(DetectorVersionStatus &&value)
DetectorVersionSummary & WithStatus(const DetectorVersionStatus &value)
void SetStatus(const DetectorVersionStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue