AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGroupResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Greengrass
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GREENGRASS_API GetGroupResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline GetGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline GetGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline GetGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
54 inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestamp = value; }
55 inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestamp = std::move(value); }
56 inline void SetCreationTimestamp(const char* value) { m_creationTimestamp.assign(value); }
57 inline GetGroupResult& WithCreationTimestamp(const Aws::String& value) { SetCreationTimestamp(value); return *this;}
58 inline GetGroupResult& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
59 inline GetGroupResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
61
63
66 inline const Aws::String& GetId() const{ return m_id; }
67 inline void SetId(const Aws::String& value) { m_id = value; }
68 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
69 inline void SetId(const char* value) { m_id.assign(value); }
70 inline GetGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
71 inline GetGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 inline GetGroupResult& WithId(const char* value) { SetId(value); return *this;}
74
76
79 inline const Aws::String& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
80 inline void SetLastUpdatedTimestamp(const Aws::String& value) { m_lastUpdatedTimestamp = value; }
81 inline void SetLastUpdatedTimestamp(Aws::String&& value) { m_lastUpdatedTimestamp = std::move(value); }
82 inline void SetLastUpdatedTimestamp(const char* value) { m_lastUpdatedTimestamp.assign(value); }
83 inline GetGroupResult& WithLastUpdatedTimestamp(const Aws::String& value) { SetLastUpdatedTimestamp(value); return *this;}
84 inline GetGroupResult& WithLastUpdatedTimestamp(Aws::String&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
85 inline GetGroupResult& WithLastUpdatedTimestamp(const char* value) { SetLastUpdatedTimestamp(value); return *this;}
87
89
92 inline const Aws::String& GetLatestVersion() const{ return m_latestVersion; }
93 inline void SetLatestVersion(const Aws::String& value) { m_latestVersion = value; }
94 inline void SetLatestVersion(Aws::String&& value) { m_latestVersion = std::move(value); }
95 inline void SetLatestVersion(const char* value) { m_latestVersion.assign(value); }
96 inline GetGroupResult& WithLatestVersion(const Aws::String& value) { SetLatestVersion(value); return *this;}
97 inline GetGroupResult& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;}
98 inline GetGroupResult& WithLatestVersion(const char* value) { SetLatestVersion(value); return *this;}
100
102
105 inline const Aws::String& GetLatestVersionArn() const{ return m_latestVersionArn; }
106 inline void SetLatestVersionArn(const Aws::String& value) { m_latestVersionArn = value; }
107 inline void SetLatestVersionArn(Aws::String&& value) { m_latestVersionArn = std::move(value); }
108 inline void SetLatestVersionArn(const char* value) { m_latestVersionArn.assign(value); }
109 inline GetGroupResult& WithLatestVersionArn(const Aws::String& value) { SetLatestVersionArn(value); return *this;}
110 inline GetGroupResult& WithLatestVersionArn(Aws::String&& value) { SetLatestVersionArn(std::move(value)); return *this;}
111 inline GetGroupResult& WithLatestVersionArn(const char* value) { SetLatestVersionArn(value); return *this;}
113
115
118 inline const Aws::String& GetName() const{ return m_name; }
119 inline void SetName(const Aws::String& value) { m_name = value; }
120 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
121 inline void SetName(const char* value) { m_name.assign(value); }
122 inline GetGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
123 inline GetGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
124 inline GetGroupResult& WithName(const char* value) { SetName(value); return *this;}
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
132 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
133 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
134 inline GetGroupResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
135 inline GetGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
136 inline GetGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
137 inline GetGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
138 inline GetGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
139 inline GetGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
140 inline GetGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
141 inline GetGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
142 inline GetGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
144
146
147 inline const Aws::String& GetRequestId() const{ return m_requestId; }
148 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
149 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
150 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
151 inline GetGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
152 inline GetGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
153 inline GetGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
155 private:
156
157 Aws::String m_arn;
158
159 Aws::String m_creationTimestamp;
160
161 Aws::String m_id;
162
163 Aws::String m_lastUpdatedTimestamp;
164
165 Aws::String m_latestVersion;
166
167 Aws::String m_latestVersionArn;
168
169 Aws::String m_name;
170
172
173 Aws::String m_requestId;
174 };
175
176} // namespace Model
177} // namespace Greengrass
178} // namespace Aws
GetGroupResult & WithLatestVersion(const Aws::String &value)
const Aws::String & GetLastUpdatedTimestamp() const
GetGroupResult & AddTags(const char *key, Aws::String &&value)
GetGroupResult & WithName(Aws::String &&value)
void SetLatestVersion(const Aws::String &value)
void SetLastUpdatedTimestamp(const Aws::String &value)
void SetArn(const Aws::String &value)
GetGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetLastUpdatedTimestamp(Aws::String &&value)
GetGroupResult & WithLastUpdatedTimestamp(const Aws::String &value)
GetGroupResult & WithLatestVersionArn(const Aws::String &value)
GetGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetLatestVersion() const
const Aws::String & GetArn() const
GetGroupResult & WithLastUpdatedTimestamp(const char *value)
void SetCreationTimestamp(Aws::String &&value)
GetGroupResult & AddTags(Aws::String &&key, const char *value)
GetGroupResult & WithId(const char *value)
const Aws::String & GetLatestVersionArn() const
void SetLatestVersionArn(const char *value)
GetGroupResult & WithRequestId(const Aws::String &value)
GetGroupResult & WithArn(const char *value)
void SetLatestVersionArn(Aws::String &&value)
GetGroupResult & WithArn(Aws::String &&value)
GetGroupResult & WithLastUpdatedTimestamp(Aws::String &&value)
AWS_GREENGRASS_API GetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGroupResult & WithArn(const Aws::String &value)
GetGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
GetGroupResult & WithLatestVersionArn(Aws::String &&value)
GetGroupResult & WithId(const Aws::String &value)
AWS_GREENGRASS_API GetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGroupResult & WithRequestId(const char *value)
GetGroupResult & WithRequestId(Aws::String &&value)
void SetCreationTimestamp(const Aws::String &value)
GetGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
GetGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetId() const
const Aws::String & GetRequestId() const
void SetRequestId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetGroupResult & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetGroupResult & WithCreationTimestamp(Aws::String &&value)
const Aws::String & GetCreationTimestamp() const
GetGroupResult & WithLatestVersionArn(const char *value)
void SetId(const Aws::String &value)
GetGroupResult & WithName(const char *value)
GetGroupResult & AddTags(const char *key, const char *value)
GetGroupResult & WithLatestVersion(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreationTimestamp(const char *value)
GetGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetGroupResult & WithId(Aws::String &&value)
const Aws::String & GetName() const
GetGroupResult & WithCreationTimestamp(const Aws::String &value)
void SetLastUpdatedTimestamp(const char *value)
void SetName(const Aws::String &value)
void SetLatestVersion(const char *value)
GetGroupResult & WithCreationTimestamp(const char *value)
GetGroupResult & WithLatestVersion(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetLatestVersionArn(const Aws::String &value)
void SetLatestVersion(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue