AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
LabelGroupSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LookoutEquipment {
21namespace Model {
22
29 public:
30 AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary() = default;
31 AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LOOKOUTEQUIPMENT_API LabelGroupSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
40 inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; }
41 template <typename LabelGroupNameT = Aws::String>
42 void SetLabelGroupName(LabelGroupNameT&& value) {
43 m_labelGroupNameHasBeenSet = true;
44 m_labelGroupName = std::forward<LabelGroupNameT>(value);
45 }
46 template <typename LabelGroupNameT = Aws::String>
47 LabelGroupSummary& WithLabelGroupName(LabelGroupNameT&& value) {
48 SetLabelGroupName(std::forward<LabelGroupNameT>(value));
49 return *this;
50 }
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) {
61 m_labelGroupArnHasBeenSet = true;
62 m_labelGroupArn = std::forward<LabelGroupArnT>(value);
63 }
64 template <typename LabelGroupArnT = Aws::String>
65 LabelGroupSummary& WithLabelGroupArn(LabelGroupArnT&& value) {
66 SetLabelGroupArn(std::forward<LabelGroupArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
76 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
77 template <typename CreatedAtT = Aws::Utils::DateTime>
78 void SetCreatedAt(CreatedAtT&& value) {
79 m_createdAtHasBeenSet = true;
80 m_createdAt = std::forward<CreatedAtT>(value);
81 }
82 template <typename CreatedAtT = Aws::Utils::DateTime>
83 LabelGroupSummary& WithCreatedAt(CreatedAtT&& value) {
84 SetCreatedAt(std::forward<CreatedAtT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
94 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
95 template <typename UpdatedAtT = Aws::Utils::DateTime>
96 void SetUpdatedAt(UpdatedAtT&& value) {
97 m_updatedAtHasBeenSet = true;
98 m_updatedAt = std::forward<UpdatedAtT>(value);
99 }
100 template <typename UpdatedAtT = Aws::Utils::DateTime>
101 LabelGroupSummary& WithUpdatedAt(UpdatedAtT&& value) {
102 SetUpdatedAt(std::forward<UpdatedAtT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_labelGroupName;
108 bool m_labelGroupNameHasBeenSet = false;
109
110 Aws::String m_labelGroupArn;
111 bool m_labelGroupArnHasBeenSet = false;
112
113 Aws::Utils::DateTime m_createdAt{};
114 bool m_createdAtHasBeenSet = false;
115
116 Aws::Utils::DateTime m_updatedAt{};
117 bool m_updatedAtHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace LookoutEquipment
122} // 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