AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename LabelGroupNameT = Aws::String>
48 void SetLabelGroupName(LabelGroupNameT&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::forward<LabelGroupNameT>(value); }
49 template<typename LabelGroupNameT = Aws::String>
50 LabelGroupSummary& WithLabelGroupName(LabelGroupNameT&& value) { SetLabelGroupName(std::forward<LabelGroupNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetLabelGroupArn() const { return m_labelGroupArn; }
58 inline bool LabelGroupArnHasBeenSet() const { return m_labelGroupArnHasBeenSet; }
59 template<typename LabelGroupArnT = Aws::String>
60 void SetLabelGroupArn(LabelGroupArnT&& value) { m_labelGroupArnHasBeenSet = true; m_labelGroupArn = std::forward<LabelGroupArnT>(value); }
61 template<typename LabelGroupArnT = Aws::String>
62 LabelGroupSummary& WithLabelGroupArn(LabelGroupArnT&& value) { SetLabelGroupArn(std::forward<LabelGroupArnT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
70 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
71 template<typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 LabelGroupSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
82 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
83 template<typename UpdatedAtT = Aws::Utils::DateTime>
84 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
85 template<typename UpdatedAtT = Aws::Utils::DateTime>
86 LabelGroupSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
88 private:
89
90 Aws::String m_labelGroupName;
91 bool m_labelGroupNameHasBeenSet = false;
92
93 Aws::String m_labelGroupArn;
94 bool m_labelGroupArnHasBeenSet = false;
95
96 Aws::Utils::DateTime m_createdAt{};
97 bool m_createdAtHasBeenSet = false;
98
99 Aws::Utils::DateTime m_updatedAt{};
100 bool m_updatedAtHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace LookoutEquipment
105} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
LabelGroupSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary()=default
AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
LabelGroupSummary & WithLabelGroupArn(LabelGroupArnT &&value)
LabelGroupSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
LabelGroupSummary & WithLabelGroupName(LabelGroupNameT &&value)
AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue