AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AttributeGroupSummary.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_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 AppRegistry
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPREGISTRY_API AttributeGroupSummary() = default;
37 AWS_APPREGISTRY_API AttributeGroupSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 AttributeGroupSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template<typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 AttributeGroupSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 AttributeGroupSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 AttributeGroupSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 AttributeGroupSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
110 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
111 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
112 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
113 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
114 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
115 AttributeGroupSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
117
119
122 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
123 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
124 template<typename CreatedByT = Aws::String>
125 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
126 template<typename CreatedByT = Aws::String>
127 AttributeGroupSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
129 private:
130
131 Aws::String m_id;
132 bool m_idHasBeenSet = false;
133
134 Aws::String m_arn;
135 bool m_arnHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_description;
141 bool m_descriptionHasBeenSet = false;
142
143 Aws::Utils::DateTime m_creationTime{};
144 bool m_creationTimeHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastUpdateTime{};
147 bool m_lastUpdateTimeHasBeenSet = false;
148
149 Aws::String m_createdBy;
150 bool m_createdByHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace AppRegistry
155} // namespace Aws
AttributeGroupSummary & WithCreatedBy(CreatedByT &&value)
AWS_APPREGISTRY_API AttributeGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeGroupSummary & WithArn(ArnT &&value)
AttributeGroupSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
AttributeGroupSummary & WithId(IdT &&value)
AWS_APPREGISTRY_API AttributeGroupSummary()=default
AttributeGroupSummary & WithCreationTime(CreationTimeT &&value)
AttributeGroupSummary & WithDescription(DescriptionT &&value)
AWS_APPREGISTRY_API AttributeGroupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_APPREGISTRY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
AttributeGroupSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue