AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefinitionInformation.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Greengrass
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GREENGRASS_API DefinitionInformation();
38 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline DefinitionInformation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline DefinitionInformation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline DefinitionInformation& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
60 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
61 inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
62 inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
63 inline void SetCreationTimestamp(const char* value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp.assign(value); }
64 inline DefinitionInformation& WithCreationTimestamp(const Aws::String& value) { SetCreationTimestamp(value); return *this;}
65 inline DefinitionInformation& WithCreationTimestamp(Aws::String&& value) { SetCreationTimestamp(std::move(value)); return *this;}
66 inline DefinitionInformation& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
68
70
73 inline const Aws::String& GetId() const{ return m_id; }
74 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
75 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
76 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
77 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
78 inline DefinitionInformation& WithId(const Aws::String& value) { SetId(value); return *this;}
79 inline DefinitionInformation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
80 inline DefinitionInformation& WithId(const char* value) { SetId(value); return *this;}
82
84
87 inline const Aws::String& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
88 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
89 inline void SetLastUpdatedTimestamp(const Aws::String& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
90 inline void SetLastUpdatedTimestamp(Aws::String&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
91 inline void SetLastUpdatedTimestamp(const char* value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp.assign(value); }
93 inline DefinitionInformation& WithLastUpdatedTimestamp(Aws::String&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
94 inline DefinitionInformation& WithLastUpdatedTimestamp(const char* value) { SetLastUpdatedTimestamp(value); return *this;}
96
98
101 inline const Aws::String& GetLatestVersion() const{ return m_latestVersion; }
102 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
103 inline void SetLatestVersion(const Aws::String& value) { m_latestVersionHasBeenSet = true; m_latestVersion = value; }
104 inline void SetLatestVersion(Aws::String&& value) { m_latestVersionHasBeenSet = true; m_latestVersion = std::move(value); }
105 inline void SetLatestVersion(const char* value) { m_latestVersionHasBeenSet = true; m_latestVersion.assign(value); }
106 inline DefinitionInformation& WithLatestVersion(const Aws::String& value) { SetLatestVersion(value); return *this;}
107 inline DefinitionInformation& WithLatestVersion(Aws::String&& value) { SetLatestVersion(std::move(value)); return *this;}
108 inline DefinitionInformation& WithLatestVersion(const char* value) { SetLatestVersion(value); return *this;}
110
112
115 inline const Aws::String& GetLatestVersionArn() const{ return m_latestVersionArn; }
116 inline bool LatestVersionArnHasBeenSet() const { return m_latestVersionArnHasBeenSet; }
117 inline void SetLatestVersionArn(const Aws::String& value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn = value; }
118 inline void SetLatestVersionArn(Aws::String&& value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn = std::move(value); }
119 inline void SetLatestVersionArn(const char* value) { m_latestVersionArnHasBeenSet = true; m_latestVersionArn.assign(value); }
120 inline DefinitionInformation& WithLatestVersionArn(const Aws::String& value) { SetLatestVersionArn(value); return *this;}
121 inline DefinitionInformation& WithLatestVersionArn(Aws::String&& value) { SetLatestVersionArn(std::move(value)); return *this;}
122 inline DefinitionInformation& WithLatestVersionArn(const char* value) { SetLatestVersionArn(value); return *this;}
124
126
129 inline const Aws::String& GetName() const{ return m_name; }
130 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
131 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
132 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
133 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
134 inline DefinitionInformation& WithName(const Aws::String& value) { SetName(value); return *this;}
135 inline DefinitionInformation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
136 inline DefinitionInformation& WithName(const char* value) { SetName(value); return *this;}
138
140
143 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
144 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
145 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
146 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
147 inline DefinitionInformation& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
148 inline DefinitionInformation& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
149 inline DefinitionInformation& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
150 inline DefinitionInformation& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline DefinitionInformation& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
152 inline DefinitionInformation& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
153 inline DefinitionInformation& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
154 inline DefinitionInformation& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
155 inline DefinitionInformation& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
157 private:
158
159 Aws::String m_arn;
160 bool m_arnHasBeenSet = false;
161
162 Aws::String m_creationTimestamp;
163 bool m_creationTimestampHasBeenSet = false;
164
165 Aws::String m_id;
166 bool m_idHasBeenSet = false;
167
168 Aws::String m_lastUpdatedTimestamp;
169 bool m_lastUpdatedTimestampHasBeenSet = false;
170
171 Aws::String m_latestVersion;
172 bool m_latestVersionHasBeenSet = false;
173
174 Aws::String m_latestVersionArn;
175 bool m_latestVersionArnHasBeenSet = false;
176
177 Aws::String m_name;
178 bool m_nameHasBeenSet = false;
179
181 bool m_tagsHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace Greengrass
186} // namespace Aws
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
DefinitionInformation & WithCreationTimestamp(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DefinitionInformation & WithArn(const char *value)
DefinitionInformation & WithName(const char *value)
DefinitionInformation & WithLastUpdatedTimestamp(const Aws::String &value)
DefinitionInformation & AddTags(const Aws::String &key, const Aws::String &value)
DefinitionInformation & WithName(Aws::String &&value)
DefinitionInformation & WithLastUpdatedTimestamp(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GREENGRASS_API DefinitionInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
DefinitionInformation & AddTags(const char *key, Aws::String &&value)
DefinitionInformation & AddTags(const char *key, const char *value)
DefinitionInformation & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DefinitionInformation & AddTags(Aws::String &&key, Aws::String &&value)
DefinitionInformation & WithId(const Aws::String &value)
DefinitionInformation & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DefinitionInformation & WithLatestVersion(const Aws::String &value)
DefinitionInformation & WithArn(Aws::String &&value)
DefinitionInformation & AddTags(const Aws::String &key, Aws::String &&value)
void SetLastUpdatedTimestamp(const Aws::String &value)
DefinitionInformation & WithCreationTimestamp(const Aws::String &value)
DefinitionInformation & WithName(const Aws::String &value)
DefinitionInformation & WithLastUpdatedTimestamp(Aws::String &&value)
DefinitionInformation & WithId(Aws::String &&value)
DefinitionInformation & WithLatestVersion(const char *value)
DefinitionInformation & WithArn(const Aws::String &value)
DefinitionInformation & AddTags(Aws::String &&key, const Aws::String &value)
DefinitionInformation & WithCreationTimestamp(const char *value)
DefinitionInformation & WithLatestVersionArn(const char *value)
DefinitionInformation & WithLatestVersionArn(const Aws::String &value)
DefinitionInformation & WithLatestVersion(Aws::String &&value)
AWS_GREENGRASS_API DefinitionInformation(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTimestamp(const Aws::String &value)
DefinitionInformation & WithLatestVersionArn(Aws::String &&value)
DefinitionInformation & WithId(const char *value)
DefinitionInformation & AddTags(Aws::String &&key, const char *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