AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelGroupSummary.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 LookoutEquipment
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary();
36 AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLabelGroupName() const{ return m_labelGroupName; }
46 inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; }
47 inline void SetLabelGroupName(const Aws::String& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = value; }
48 inline void SetLabelGroupName(Aws::String&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::move(value); }
49 inline void SetLabelGroupName(const char* value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName.assign(value); }
50 inline LabelGroupSummary& WithLabelGroupName(const Aws::String& value) { SetLabelGroupName(value); return *this;}
51 inline LabelGroupSummary& WithLabelGroupName(Aws::String&& value) { SetLabelGroupName(std::move(value)); return *this;}
52 inline LabelGroupSummary& WithLabelGroupName(const char* value) { SetLabelGroupName(value); return *this;}
54
56
59 inline const Aws::String& GetLabelGroupArn() const{ return m_labelGroupArn; }
60 inline bool LabelGroupArnHasBeenSet() const { return m_labelGroupArnHasBeenSet; }
61 inline void SetLabelGroupArn(const Aws::String& value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn = value; }
62 inline void SetLabelGroupArn(Aws::String&& value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn = std::move(value); }
63 inline void SetLabelGroupArn(const char* value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn.assign(value); }
64 inline LabelGroupSummary& WithLabelGroupArn(const Aws::String& value) { SetLabelGroupArn(value); return *this;}
65 inline LabelGroupSummary& WithLabelGroupArn(Aws::String&& value) { SetLabelGroupArn(std::move(value)); return *this;}
66 inline LabelGroupSummary& WithLabelGroupArn(const char* value) { SetLabelGroupArn(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
74 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
75 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
76 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
77 inline LabelGroupSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
78 inline LabelGroupSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
86 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
87 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
88 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
89 inline LabelGroupSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
90 inline LabelGroupSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_labelGroupName;
95 bool m_labelGroupNameHasBeenSet = false;
96
97 Aws::String m_labelGroupArn;
98 bool m_labelGroupArnHasBeenSet = false;
99
100 Aws::Utils::DateTime m_createdAt;
101 bool m_createdAtHasBeenSet = false;
102
103 Aws::Utils::DateTime m_updatedAt;
104 bool m_updatedAtHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace LookoutEquipment
109} // namespace Aws
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetLabelGroupArn(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary()
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
LabelGroupSummary & WithLabelGroupName(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
LabelGroupSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
LabelGroupSummary & WithLabelGroupName(const char *value)
LabelGroupSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
LabelGroupSummary & WithLabelGroupArn(const Aws::String &value)
LabelGroupSummary & WithLabelGroupArn(Aws::String &&value)
LabelGroupSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
LabelGroupSummary & WithLabelGroupName(Aws::String &&value)
LabelGroupSummary & WithLabelGroupArn(const char *value)
void SetLabelGroupName(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LabelGroupSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue