AWS SDK for C++  1.9.153
AWS SDK for C++
ComponentLatestVersion.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace GreengrassV2
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
49  inline const Aws::String& GetArn() const{ return m_arn; }
50 
56  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
57 
63  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 
70  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
71 
77  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
78 
84  inline ComponentLatestVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
85 
91  inline ComponentLatestVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
92 
98  inline ComponentLatestVersion& WithArn(const char* value) { SetArn(value); return *this;}
99 
100 
104  inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
105 
109  inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
110 
114  inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
115 
119  inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
120 
124  inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
125 
129  inline ComponentLatestVersion& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;}
130 
134  inline ComponentLatestVersion& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
135 
139  inline ComponentLatestVersion& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
140 
141 
146  inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
147 
152  inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
153 
158  inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
159 
164  inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
165 
170  inline ComponentLatestVersion& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
171 
176  inline ComponentLatestVersion& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
177 
178 
182  inline const Aws::String& GetDescription() const{ return m_description; }
183 
187  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
188 
192  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
193 
197  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
198 
202  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
203 
207  inline ComponentLatestVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
208 
212  inline ComponentLatestVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
213 
217  inline ComponentLatestVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
218 
219 
223  inline const Aws::String& GetPublisher() const{ return m_publisher; }
224 
228  inline bool PublisherHasBeenSet() const { return m_publisherHasBeenSet; }
229 
233  inline void SetPublisher(const Aws::String& value) { m_publisherHasBeenSet = true; m_publisher = value; }
234 
238  inline void SetPublisher(Aws::String&& value) { m_publisherHasBeenSet = true; m_publisher = std::move(value); }
239 
243  inline void SetPublisher(const char* value) { m_publisherHasBeenSet = true; m_publisher.assign(value); }
244 
248  inline ComponentLatestVersion& WithPublisher(const Aws::String& value) { SetPublisher(value); return *this;}
249 
253  inline ComponentLatestVersion& WithPublisher(Aws::String&& value) { SetPublisher(std::move(value)); return *this;}
254 
258  inline ComponentLatestVersion& WithPublisher(const char* value) { SetPublisher(value); return *this;}
259 
260 
264  inline const Aws::Vector<ComponentPlatform>& GetPlatforms() const{ return m_platforms; }
265 
269  inline bool PlatformsHasBeenSet() const { return m_platformsHasBeenSet; }
270 
274  inline void SetPlatforms(const Aws::Vector<ComponentPlatform>& value) { m_platformsHasBeenSet = true; m_platforms = value; }
275 
279  inline void SetPlatforms(Aws::Vector<ComponentPlatform>&& value) { m_platformsHasBeenSet = true; m_platforms = std::move(value); }
280 
284  inline ComponentLatestVersion& WithPlatforms(const Aws::Vector<ComponentPlatform>& value) { SetPlatforms(value); return *this;}
285 
289  inline ComponentLatestVersion& WithPlatforms(Aws::Vector<ComponentPlatform>&& value) { SetPlatforms(std::move(value)); return *this;}
290 
294  inline ComponentLatestVersion& AddPlatforms(const ComponentPlatform& value) { m_platformsHasBeenSet = true; m_platforms.push_back(value); return *this; }
295 
299  inline ComponentLatestVersion& AddPlatforms(ComponentPlatform&& value) { m_platformsHasBeenSet = true; m_platforms.push_back(std::move(value)); return *this; }
300 
301  private:
302 
303  Aws::String m_arn;
304  bool m_arnHasBeenSet;
305 
306  Aws::String m_componentVersion;
307  bool m_componentVersionHasBeenSet;
308 
309  Aws::Utils::DateTime m_creationTimestamp;
310  bool m_creationTimestampHasBeenSet;
311 
312  Aws::String m_description;
313  bool m_descriptionHasBeenSet;
314 
315  Aws::String m_publisher;
316  bool m_publisherHasBeenSet;
317 
318  Aws::Vector<ComponentPlatform> m_platforms;
319  bool m_platformsHasBeenSet;
320  };
321 
322 } // namespace Model
323 } // namespace GreengrassV2
324 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GreengrassV2::Model::ComponentLatestVersion::WithPlatforms
ComponentLatestVersion & WithPlatforms(Aws::Vector< ComponentPlatform > &&value)
Definition: ComponentLatestVersion.h:289
Aws::GreengrassV2::Model::ComponentLatestVersion::WithPublisher
ComponentLatestVersion & WithPublisher(Aws::String &&value)
Definition: ComponentLatestVersion.h:253
Aws::GreengrassV2::Model::ComponentLatestVersion::WithComponentVersion
ComponentLatestVersion & WithComponentVersion(const char *value)
Definition: ComponentLatestVersion.h:139
Aws::GreengrassV2::Model::ComponentLatestVersion::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ComponentLatestVersion.h:56
ComponentPlatform.h
Aws::GreengrassV2::Model::ComponentLatestVersion::SetComponentVersion
void SetComponentVersion(Aws::String &&value)
Definition: ComponentLatestVersion.h:119
Aws::GreengrassV2::Model::ComponentLatestVersion::SetDescription
void SetDescription(const Aws::String &value)
Definition: ComponentLatestVersion.h:192
Aws::GreengrassV2::Model::ComponentLatestVersion::SetPublisher
void SetPublisher(Aws::String &&value)
Definition: ComponentLatestVersion.h:238
Aws::GreengrassV2::Model::ComponentLatestVersion::WithComponentVersion
ComponentLatestVersion & WithComponentVersion(const Aws::String &value)
Definition: ComponentLatestVersion.h:129
Aws::GreengrassV2::Model::ComponentLatestVersion::AddPlatforms
ComponentLatestVersion & AddPlatforms(ComponentPlatform &&value)
Definition: ComponentLatestVersion.h:299
DateTime.h
Aws::GreengrassV2::Model::ComponentLatestVersion::GetPlatforms
const Aws::Vector< ComponentPlatform > & GetPlatforms() const
Definition: ComponentLatestVersion.h:264
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::ComponentLatestVersion::GetCreationTimestamp
const Aws::Utils::DateTime & GetCreationTimestamp() const
Definition: ComponentLatestVersion.h:146
Aws::GreengrassV2::Model::ComponentLatestVersion::SetDescription
void SetDescription(Aws::String &&value)
Definition: ComponentLatestVersion.h:197
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GreengrassV2::Model::ComponentLatestVersion::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ComponentLatestVersion.h:187
AWSVector.h
Aws::GreengrassV2::Model::ComponentLatestVersion::WithPlatforms
ComponentLatestVersion & WithPlatforms(const Aws::Vector< ComponentPlatform > &value)
Definition: ComponentLatestVersion.h:284
Aws::GreengrassV2::Model::ComponentLatestVersion::SetComponentVersion
void SetComponentVersion(const Aws::String &value)
Definition: ComponentLatestVersion.h:114
Aws::GreengrassV2::Model::ComponentLatestVersion::WithArn
ComponentLatestVersion & WithArn(Aws::String &&value)
Definition: ComponentLatestVersion.h:91
Aws::GreengrassV2::Model::ComponentLatestVersion::GetDescription
const Aws::String & GetDescription() const
Definition: ComponentLatestVersion.h:182
Aws::GreengrassV2::Model::ComponentLatestVersion::WithArn
ComponentLatestVersion & WithArn(const char *value)
Definition: ComponentLatestVersion.h:98
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ComponentLatestVersion
Definition: ComponentLatestVersion.h:36
Aws::GreengrassV2::Model::ComponentLatestVersion::WithPublisher
ComponentLatestVersion & WithPublisher(const char *value)
Definition: ComponentLatestVersion.h:258
Aws::GreengrassV2::Model::ComponentLatestVersion::WithPublisher
ComponentLatestVersion & WithPublisher(const Aws::String &value)
Definition: ComponentLatestVersion.h:248
Aws::GreengrassV2::Model::ComponentLatestVersion::SetArn
void SetArn(const char *value)
Definition: ComponentLatestVersion.h:77
Aws::GreengrassV2::Model::ComponentLatestVersion::SetDescription
void SetDescription(const char *value)
Definition: ComponentLatestVersion.h:202
Aws::GreengrassV2::Model::ComponentLatestVersion::WithCreationTimestamp
ComponentLatestVersion & WithCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ComponentLatestVersion.h:176
Aws::GreengrassV2::Model::ComponentLatestVersion::operator=
ComponentLatestVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::ComponentLatestVersion::SetArn
void SetArn(const Aws::String &value)
Definition: ComponentLatestVersion.h:63
Aws::GreengrassV2::Model::ComponentPlatform
Definition: ComponentPlatform.h:34
Aws::GreengrassV2::Model::ComponentLatestVersion::PlatformsHasBeenSet
bool PlatformsHasBeenSet() const
Definition: ComponentLatestVersion.h:269
Aws::GreengrassV2::Model::ComponentLatestVersion::GetArn
const Aws::String & GetArn() const
Definition: ComponentLatestVersion.h:49
Aws::GreengrassV2::Model::ComponentLatestVersion::WithDescription
ComponentLatestVersion & WithDescription(const char *value)
Definition: ComponentLatestVersion.h:217
Aws::GreengrassV2::Model::ComponentLatestVersion::SetPublisher
void SetPublisher(const Aws::String &value)
Definition: ComponentLatestVersion.h:233
Aws::GreengrassV2::Model::ComponentLatestVersion::WithComponentVersion
ComponentLatestVersion & WithComponentVersion(Aws::String &&value)
Definition: ComponentLatestVersion.h:134
Aws::GreengrassV2::Model::ComponentLatestVersion::SetPlatforms
void SetPlatforms(const Aws::Vector< ComponentPlatform > &value)
Definition: ComponentLatestVersion.h:274
Aws::GreengrassV2::Model::ComponentLatestVersion::ComponentLatestVersion
ComponentLatestVersion()
Aws::GreengrassV2::Model::ComponentLatestVersion::WithDescription
ComponentLatestVersion & WithDescription(const Aws::String &value)
Definition: ComponentLatestVersion.h:207
Aws::GreengrassV2::Model::ComponentLatestVersion::SetComponentVersion
void SetComponentVersion(const char *value)
Definition: ComponentLatestVersion.h:124
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::ComponentLatestVersion::GetPublisher
const Aws::String & GetPublisher() const
Definition: ComponentLatestVersion.h:223
Aws::GreengrassV2::Model::ComponentLatestVersion::GetComponentVersion
const Aws::String & GetComponentVersion() const
Definition: ComponentLatestVersion.h:104
Aws::GreengrassV2::Model::ComponentLatestVersion::SetCreationTimestamp
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ComponentLatestVersion.h:164
Aws::GreengrassV2::Model::ComponentLatestVersion::ComponentLatestVersion
ComponentLatestVersion(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::ComponentLatestVersion::SetCreationTimestamp
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ComponentLatestVersion.h:158
Aws::GreengrassV2::Model::ComponentLatestVersion::AddPlatforms
ComponentLatestVersion & AddPlatforms(const ComponentPlatform &value)
Definition: ComponentLatestVersion.h:294
Aws::GreengrassV2::Model::ComponentLatestVersion::WithCreationTimestamp
ComponentLatestVersion & WithCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ComponentLatestVersion.h:170
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::GreengrassV2::Model::ComponentLatestVersion::CreationTimestampHasBeenSet
bool CreationTimestampHasBeenSet() const
Definition: ComponentLatestVersion.h:152
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::ComponentLatestVersion::WithArn
ComponentLatestVersion & WithArn(const Aws::String &value)
Definition: ComponentLatestVersion.h:84
Aws::GreengrassV2::Model::ComponentLatestVersion::PublisherHasBeenSet
bool PublisherHasBeenSet() const
Definition: ComponentLatestVersion.h:228
Aws::GreengrassV2::Model::ComponentLatestVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::ComponentLatestVersion::SetPublisher
void SetPublisher(const char *value)
Definition: ComponentLatestVersion.h:243
Aws::GreengrassV2::Model::ComponentLatestVersion::WithDescription
ComponentLatestVersion & WithDescription(Aws::String &&value)
Definition: ComponentLatestVersion.h:212
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::ComponentLatestVersion::SetPlatforms
void SetPlatforms(Aws::Vector< ComponentPlatform > &&value)
Definition: ComponentLatestVersion.h:279
Aws::GreengrassV2::Model::ComponentLatestVersion::ComponentVersionHasBeenSet
bool ComponentVersionHasBeenSet() const
Definition: ComponentLatestVersion.h:109
Aws::GreengrassV2::Model::ComponentLatestVersion::SetArn
void SetArn(Aws::String &&value)
Definition: ComponentLatestVersion.h:70