AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Label.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FraudDetector
22{
23namespace Model
24{
25
31 class Label
32 {
33 public:
34 AWS_FRAUDDETECTOR_API Label();
35 AWS_FRAUDDETECTOR_API Label(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FRAUDDETECTOR_API Label& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline Label& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline Label& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline Label& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline Label& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline Label& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline Label& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
73 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
74 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
75 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
76 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
77 inline Label& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
78 inline Label& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
79 inline Label& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
81
83
86 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
87 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
88 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
89 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
90 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
91 inline Label& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
92 inline Label& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
93 inline Label& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
95
97
100 inline const Aws::String& GetArn() const{ return m_arn; }
101 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
102 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
103 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
104 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
105 inline Label& WithArn(const Aws::String& value) { SetArn(value); return *this;}
106 inline Label& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
107 inline Label& WithArn(const char* value) { SetArn(value); return *this;}
109 private:
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_lastUpdatedTime;
118 bool m_lastUpdatedTimeHasBeenSet = false;
119
120 Aws::String m_createdTime;
121 bool m_createdTimeHasBeenSet = false;
122
123 Aws::String m_arn;
124 bool m_arnHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace FraudDetector
129} // namespace Aws
Label & WithArn(const char *value)
Definition Label.h:107
bool CreatedTimeHasBeenSet() const
Definition Label.h:87
void SetCreatedTime(const char *value)
Definition Label.h:90
const Aws::String & GetArn() const
Definition Label.h:100
const Aws::String & GetLastUpdatedTime() const
Definition Label.h:72
AWS_FRAUDDETECTOR_API Label()
Label & WithName(const Aws::String &value)
Definition Label.h:49
void SetLastUpdatedTime(Aws::String &&value)
Definition Label.h:75
void SetArn(Aws::String &&value)
Definition Label.h:103
Label & WithLastUpdatedTime(Aws::String &&value)
Definition Label.h:78
void SetArn(const char *value)
Definition Label.h:104
Label & WithArn(const Aws::String &value)
Definition Label.h:105
Label & WithDescription(const Aws::String &value)
Definition Label.h:63
Label & WithCreatedTime(const Aws::String &value)
Definition Label.h:91
const Aws::String & GetDescription() const
Definition Label.h:58
bool DescriptionHasBeenSet() const
Definition Label.h:59
Label & WithDescription(const char *value)
Definition Label.h:65
Label & WithName(Aws::String &&value)
Definition Label.h:50
void SetDescription(const char *value)
Definition Label.h:62
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const Aws::String &value)
Definition Label.h:60
bool LastUpdatedTimeHasBeenSet() const
Definition Label.h:73
const Aws::String & GetName() const
Definition Label.h:44
void SetName(const Aws::String &value)
Definition Label.h:46
AWS_FRAUDDETECTOR_API Label & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(const Aws::String &value)
Definition Label.h:74
Label & WithArn(Aws::String &&value)
Definition Label.h:106
Label & WithLastUpdatedTime(const char *value)
Definition Label.h:79
void SetCreatedTime(Aws::String &&value)
Definition Label.h:89
void SetArn(const Aws::String &value)
Definition Label.h:102
Label & WithName(const char *value)
Definition Label.h:51
Label & WithCreatedTime(const char *value)
Definition Label.h:93
void SetLastUpdatedTime(const char *value)
Definition Label.h:76
Label & WithLastUpdatedTime(const Aws::String &value)
Definition Label.h:77
void SetName(Aws::String &&value)
Definition Label.h:47
void SetName(const char *value)
Definition Label.h:48
const Aws::String & GetCreatedTime() const
Definition Label.h:86
AWS_FRAUDDETECTOR_API Label(Aws::Utils::Json::JsonView jsonValue)
Label & WithCreatedTime(Aws::String &&value)
Definition Label.h:92
void SetDescription(Aws::String &&value)
Definition Label.h:61
void SetCreatedTime(const Aws::String &value)
Definition Label.h:88
Label & WithDescription(Aws::String &&value)
Definition Label.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue