AWS SDK for C++

AWS SDK for C++ Version 1.11.835

Loading...
Searching...
No Matches
ManagedMicrovmImageSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda-microvms/LambdaMicrovms_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LambdaMicrovms {
21namespace Model {
22
30 public:
31 AWS_LAMBDAMICROVMS_API ManagedMicrovmImageSummary() = default;
32 AWS_LAMBDAMICROVMS_API ManagedMicrovmImageSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LAMBDAMICROVMS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetImageArn() const { return m_imageArn; }
41 inline bool ImageArnHasBeenSet() const { return m_imageArnHasBeenSet; }
42 template <typename ImageArnT = Aws::String>
43 void SetImageArn(ImageArnT&& value) {
44 m_imageArnHasBeenSet = true;
45 m_imageArn = std::forward<ImageArnT>(value);
46 }
47 template <typename ImageArnT = Aws::String>
49 SetImageArn(std::forward<ImageArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template <typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) {
62 m_createdAtHasBeenSet = true;
63 m_createdAt = std::forward<CreatedAtT>(value);
64 }
65 template <typename CreatedAtT = Aws::Utils::DateTime>
67 SetCreatedAt(std::forward<CreatedAtT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
77 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
78 template <typename UpdatedAtT = Aws::Utils::DateTime>
79 void SetUpdatedAt(UpdatedAtT&& value) {
80 m_updatedAtHasBeenSet = true;
81 m_updatedAt = std::forward<UpdatedAtT>(value);
82 }
83 template <typename UpdatedAtT = Aws::Utils::DateTime>
85 SetUpdatedAt(std::forward<UpdatedAtT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_imageArn;
91
92 Aws::Utils::DateTime m_createdAt{};
93
94 Aws::Utils::DateTime m_updatedAt{};
95 bool m_imageArnHasBeenSet = false;
96 bool m_createdAtHasBeenSet = false;
97 bool m_updatedAtHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace LambdaMicrovms
102} // namespace Aws
ManagedMicrovmImageSummary & WithImageArn(ImageArnT &&value)
AWS_LAMBDAMICROVMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDAMICROVMS_API ManagedMicrovmImageSummary(Aws::Utils::Json::JsonView jsonValue)
ManagedMicrovmImageSummary & WithCreatedAt(CreatedAtT &&value)
AWS_LAMBDAMICROVMS_API ManagedMicrovmImageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedMicrovmImageSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_LAMBDAMICROVMS_API ManagedMicrovmImageSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue