AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GroupInformation.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Greengrass
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GREENGRASS_API GroupInformation();
35 AWS_GREENGRASS_API GroupInformation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
49 inline GroupInformation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline GroupInformation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline GroupInformation& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
59 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
60 inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
61 inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
62 inline void SetCreationTimestamp(const char* value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp.assign(value); }
63 inline GroupInformation& WithCreationTimestamp(const Aws::String& value) { SetCreationTimestamp(value); return *this;}
64 inline GroupInformation& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
65 inline GroupInformation& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
67
69
72 inline const Aws::String& GetId() const{ return m_id; }
73 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
74 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
75 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
76 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
77 inline GroupInformation& WithId(const Aws::String& value) { SetId(value); return *this;}
78 inline GroupInformation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
79 inline GroupInformation& WithId(const char* value) { SetId(value); return *this;}
81
83
86 inline const Aws::String& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
87 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
88 inline void SetLastUpdatedTimestamp(const Aws::String& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
89 inline void SetLastUpdatedTimestamp(Aws::String&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
90 inline void SetLastUpdatedTimestamp(const char* value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp.assign(value); }
92 inline GroupInformation& WithLastUpdatedTimestamp(Aws::String&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
93 inline GroupInformation& WithLastUpdatedTimestamp(const char* value) { SetLastUpdatedTimestamp(value); return *this;}
95
97
100 inline const Aws::String& GetLatestVersion() const{ return m_latestVersion; }
101 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
102 inline void SetLatestVersion(const Aws::String& value) { m_latestVersionHasBeenSet = true; m_latestVersion = value; }
103 inline void SetLatestVersion(Aws::String&& value) { m_latestVersionHasBeenSet = true; m_latestVersion = std::move(value); }
104 inline void SetLatestVersion(const char* value) { m_latestVersionHasBeenSet = true; m_latestVersion.assign(value); }
105 inline GroupInformation& WithLatestVersion(const Aws::String& value) { SetLatestVersion(value); return *this;}
106 inline GroupInformation& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;}
107 inline GroupInformation& WithLatestVersion(const char* value) { SetLatestVersion(value); return *this;}
109
111
114 inline const Aws::String& GetLatestVersionArn() const{ return m_latestVersionArn; }
115 inline bool LatestVersionArnHasBeenSet() const { return m_latestVersionArnHasBeenSet; }
116 inline void SetLatestVersionArn(const Aws::String& value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn = value; }
117 inline void SetLatestVersionArn(Aws::String&& value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn = std::move(value); }
118 inline void SetLatestVersionArn(const char* value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn.assign(value); }
119 inline GroupInformation& WithLatestVersionArn(const Aws::String& value) { SetLatestVersionArn(value); return *this;}
120 inline GroupInformation& WithLatestVersionArn(Aws::String&& value) { SetLatestVersionArn(std::move(value)); return *this;}
121 inline GroupInformation& WithLatestVersionArn(const char* value) { SetLatestVersionArn(value); return *this;}
123
125
128 inline const Aws::String& GetName() const{ return m_name; }
129 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
130 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
131 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
132 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
133 inline GroupInformation& WithName(const Aws::String& value) { SetName(value); return *this;}
134 inline GroupInformation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
135 inline GroupInformation& WithName(const char* value) { SetName(value); return *this;}
137 private:
138
139 Aws::String m_arn;
140 bool m_arnHasBeenSet = false;
141
142 Aws::String m_creationTimestamp;
143 bool m_creationTimestampHasBeenSet = false;
144
145 Aws::String m_id;
146 bool m_idHasBeenSet = false;
147
148 Aws::String m_lastUpdatedTimestamp;
149 bool m_lastUpdatedTimestampHasBeenSet = false;
150
151 Aws::String m_latestVersion;
152 bool m_latestVersionHasBeenSet = false;
153
154 Aws::String m_latestVersionArn;
155 bool m_latestVersionArnHasBeenSet = false;
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Greengrass
163} // namespace Aws
GroupInformation & WithLatestVersionArn(Aws::String &&value)
GroupInformation & WithArn(const Aws::String &value)
GroupInformation & WithId(Aws::String &&value)
void SetCreationTimestamp(const Aws::String &value)
void SetCreationTimestamp(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetLastUpdatedTimestamp() const
const Aws::String & GetCreationTimestamp() const
GroupInformation & WithCreationTimestamp(Aws::String &&value)
GroupInformation & WithId(const Aws::String &value)
void SetLatestVersion(const Aws::String &value)
GroupInformation & WithCreationTimestamp(const char *value)
void SetLastUpdatedTimestamp(const char *value)
GroupInformation & WithLastUpdatedTimestamp(const Aws::String &value)
GroupInformation & WithName(Aws::String &&value)
GroupInformation & WithLastUpdatedTimestamp(const char *value)
GroupInformation & WithLatestVersion(const Aws::String &value)
GroupInformation & WithLatestVersionArn(const char *value)
void SetArn(const Aws::String &value)
GroupInformation & WithLatestVersionArn(const Aws::String &value)
GroupInformation & WithId(const char *value)
GroupInformation & WithCreationTimestamp(const Aws::String &value)
void SetLatestVersionArn(const Aws::String &value)
void SetLastUpdatedTimestamp(const Aws::String &value)
void SetId(const Aws::String &value)
GroupInformation & WithArn(Aws::String &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLatestVersionArn(Aws::String &&value)
GroupInformation & WithName(const char *value)
GroupInformation & WithLatestVersion(const char *value)
GroupInformation & WithName(const Aws::String &value)
AWS_GREENGRASS_API GroupInformation(Aws::Utils::Json::JsonView jsonValue)
GroupInformation & WithLatestVersion(Aws::String &&value)
const Aws::String & GetLatestVersion() const
GroupInformation & WithLastUpdatedTimestamp(Aws::String &&value)
void SetLastUpdatedTimestamp(Aws::String &&value)
GroupInformation & WithArn(const char *value)
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