AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GroupInformation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Greengrass {
20namespace Model {
21
28 public:
29 AWS_GREENGRASS_API GroupInformation() = default;
30 AWS_GREENGRASS_API GroupInformation(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
46 GroupInformation& WithArn(ArnT&& value) {
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
57 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
58 template <typename CreationTimestampT = Aws::String>
59 void SetCreationTimestamp(CreationTimestampT&& value) {
60 m_creationTimestampHasBeenSet = true;
61 m_creationTimestamp = std::forward<CreationTimestampT>(value);
62 }
63 template <typename CreationTimestampT = Aws::String>
64 GroupInformation& WithCreationTimestamp(CreationTimestampT&& value) {
65 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
76 template <typename IdT = Aws::String>
77 void SetId(IdT&& value) {
78 m_idHasBeenSet = true;
79 m_id = std::forward<IdT>(value);
80 }
81 template <typename IdT = Aws::String>
82 GroupInformation& WithId(IdT&& value) {
83 SetId(std::forward<IdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
93 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
94 template <typename LastUpdatedTimestampT = Aws::String>
95 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) {
96 m_lastUpdatedTimestampHasBeenSet = true;
97 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
98 }
99 template <typename LastUpdatedTimestampT = Aws::String>
100 GroupInformation& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) {
101 SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetLatestVersion() const { return m_latestVersion; }
111 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
112 template <typename LatestVersionT = Aws::String>
113 void SetLatestVersion(LatestVersionT&& value) {
114 m_latestVersionHasBeenSet = true;
115 m_latestVersion = std::forward<LatestVersionT>(value);
116 }
117 template <typename LatestVersionT = Aws::String>
118 GroupInformation& WithLatestVersion(LatestVersionT&& value) {
119 SetLatestVersion(std::forward<LatestVersionT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetLatestVersionArn() const { return m_latestVersionArn; }
129 inline bool LatestVersionArnHasBeenSet() const { return m_latestVersionArnHasBeenSet; }
130 template <typename LatestVersionArnT = Aws::String>
131 void SetLatestVersionArn(LatestVersionArnT&& value) {
132 m_latestVersionArnHasBeenSet = true;
133 m_latestVersionArn = std::forward<LatestVersionArnT>(value);
134 }
135 template <typename LatestVersionArnT = Aws::String>
136 GroupInformation& WithLatestVersionArn(LatestVersionArnT&& value) {
137 SetLatestVersionArn(std::forward<LatestVersionArnT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetName() const { return m_name; }
147 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
148 template <typename NameT = Aws::String>
149 void SetName(NameT&& value) {
150 m_nameHasBeenSet = true;
151 m_name = std::forward<NameT>(value);
152 }
153 template <typename NameT = Aws::String>
154 GroupInformation& WithName(NameT&& value) {
155 SetName(std::forward<NameT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_arn;
161
162 Aws::String m_creationTimestamp;
163
164 Aws::String m_id;
165
166 Aws::String m_lastUpdatedTimestamp;
167
168 Aws::String m_latestVersion;
169
170 Aws::String m_latestVersionArn;
171
172 Aws::String m_name;
173 bool m_arnHasBeenSet = false;
174 bool m_creationTimestampHasBeenSet = false;
175 bool m_idHasBeenSet = false;
176 bool m_lastUpdatedTimestampHasBeenSet = false;
177 bool m_latestVersionHasBeenSet = false;
178 bool m_latestVersionArnHasBeenSet = false;
179 bool m_nameHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace Greengrass
184} // namespace Aws
GroupInformation & WithArn(ArnT &&value)
const Aws::String & GetLastUpdatedTimestamp() const
const Aws::String & GetCreationTimestamp() const
GroupInformation & WithId(IdT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
void SetLatestVersion(LatestVersionT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLatestVersionArn(LatestVersionArnT &&value)
GroupInformation & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
GroupInformation & WithName(NameT &&value)
GroupInformation & WithLatestVersion(LatestVersionT &&value)
AWS_GREENGRASS_API GroupInformation()=default
AWS_GREENGRASS_API GroupInformation(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
GroupInformation & WithCreationTimestamp(CreationTimestampT &&value)
GroupInformation & WithLatestVersionArn(LatestVersionArnT &&value)
const Aws::String & GetLatestVersion() const
AWS_GREENGRASS_API GroupInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLatestVersionArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue