AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLoggerDefinitionResult.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 GetLoggerDefinitionResult();
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 GetLoggerDefinitionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline GetLoggerDefinitionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline GetLoggerDefinitionResult& 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); }
58 inline GetLoggerDefinitionResult& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
59 inline GetLoggerDefinitionResult& 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 GetLoggerDefinitionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
71 inline GetLoggerDefinitionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 inline GetLoggerDefinitionResult& 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); }
85 inline GetLoggerDefinitionResult& 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 GetLoggerDefinitionResult& WithLatestVersion(const Aws::String& value) { SetLatestVersion(value); return *this;}
97 inline GetLoggerDefinitionResult& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;}
98 inline GetLoggerDefinitionResult& 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); }
110 inline GetLoggerDefinitionResult& WithLatestVersionArn(Aws::String&& value) { SetLatestVersionArn(std::move(value)); return *this;}
111 inline GetLoggerDefinitionResult& 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 GetLoggerDefinitionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
123 inline GetLoggerDefinitionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
124 inline GetLoggerDefinitionResult& 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); }
135 inline GetLoggerDefinitionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
136 inline GetLoggerDefinitionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
137 inline GetLoggerDefinitionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
138 inline GetLoggerDefinitionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
139 inline GetLoggerDefinitionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
140 inline GetLoggerDefinitionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
141 inline GetLoggerDefinitionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
142 inline GetLoggerDefinitionResult& 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 GetLoggerDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
152 inline GetLoggerDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
153 inline GetLoggerDefinitionResult& 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
GetLoggerDefinitionResult & WithId(const Aws::String &value)
GetLoggerDefinitionResult & WithCreationTimestamp(Aws::String &&value)
AWS_GREENGRASS_API GetLoggerDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggerDefinitionResult & WithName(Aws::String &&value)
GetLoggerDefinitionResult & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetLoggerDefinitionResult & WithLatestVersionArn(Aws::String &&value)
GetLoggerDefinitionResult & WithName(const char *value)
GetLoggerDefinitionResult & AddTags(const char *key, const char *value)
GetLoggerDefinitionResult & WithLatestVersionArn(const char *value)
GetLoggerDefinitionResult & WithRequestId(const char *value)
GetLoggerDefinitionResult & WithCreationTimestamp(const char *value)
GetLoggerDefinitionResult & WithRequestId(const Aws::String &value)
AWS_GREENGRASS_API GetLoggerDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggerDefinitionResult & WithLastUpdatedTimestamp(const char *value)
GetLoggerDefinitionResult & AddTags(const Aws::String &key, Aws::String &&value)
GetLoggerDefinitionResult & AddTags(Aws::String &&key, const char *value)
GetLoggerDefinitionResult & WithLatestVersion(const char *value)
GetLoggerDefinitionResult & WithLatestVersionArn(const Aws::String &value)
GetLoggerDefinitionResult & WithArn(const char *value)
GetLoggerDefinitionResult & WithLastUpdatedTimestamp(const Aws::String &value)
GetLoggerDefinitionResult & WithCreationTimestamp(const Aws::String &value)
GetLoggerDefinitionResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetLoggerDefinitionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetLoggerDefinitionResult & WithArn(const Aws::String &value)
GetLoggerDefinitionResult & WithArn(Aws::String &&value)
GetLoggerDefinitionResult & WithId(Aws::String &&value)
GetLoggerDefinitionResult & AddTags(const Aws::String &key, const Aws::String &value)
GetLoggerDefinitionResult & WithLatestVersion(Aws::String &&value)
GetLoggerDefinitionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetLoggerDefinitionResult & WithLatestVersion(const Aws::String &value)
GetLoggerDefinitionResult & AddTags(Aws::String &&key, Aws::String &&value)
GetLoggerDefinitionResult & WithLastUpdatedTimestamp(Aws::String &&value)
GetLoggerDefinitionResult & WithId(const char *value)
GetLoggerDefinitionResult & WithRequestId(Aws::String &&value)
GetLoggerDefinitionResult & WithName(const 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