AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 Label& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 Label& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
69 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
70 template<typename LastUpdatedTimeT = Aws::String>
71 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
72 template<typename LastUpdatedTimeT = Aws::String>
73 Label& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
75
77
80 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
81 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
82 template<typename CreatedTimeT = Aws::String>
83 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
84 template<typename CreatedTimeT = Aws::String>
85 Label& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
87
89
92 inline const Aws::String& GetArn() const { return m_arn; }
93 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
94 template<typename ArnT = Aws::String>
95 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
96 template<typename ArnT = Aws::String>
97 Label& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 Aws::String m_lastUpdatedTime;
108 bool m_lastUpdatedTimeHasBeenSet = false;
109
110 Aws::String m_createdTime;
111 bool m_createdTimeHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace FraudDetector
119} // namespace Aws
bool CreatedTimeHasBeenSet() const
Definition Label.h:81
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Label.h:71
const Aws::String & GetArn() const
Definition Label.h:92
const Aws::String & GetLastUpdatedTime() const
Definition Label.h:68
void SetName(NameT &&value)
Definition Label.h:47
const Aws::String & GetDescription() const
Definition Label.h:56
bool DescriptionHasBeenSet() const
Definition Label.h:57
Label & WithDescription(DescriptionT &&value)
Definition Label.h:61
void SetCreatedTime(CreatedTimeT &&value)
Definition Label.h:83
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastUpdatedTimeHasBeenSet() const
Definition Label.h:69
const Aws::String & GetName() const
Definition Label.h:44
AWS_FRAUDDETECTOR_API Label & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
Definition Label.h:95
AWS_FRAUDDETECTOR_API Label()=default
Label & WithName(NameT &&value)
Definition Label.h:49
Label & WithArn(ArnT &&value)
Definition Label.h:97
void SetDescription(DescriptionT &&value)
Definition Label.h:59
Label & WithCreatedTime(CreatedTimeT &&value)
Definition Label.h:85
const Aws::String & GetCreatedTime() const
Definition Label.h:80
Label & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Definition Label.h:73
AWS_FRAUDDETECTOR_API Label(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue