AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContainerImage.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Lightsail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LIGHTSAIL_API ContainerImage();
37 AWS_LIGHTSAIL_API ContainerImage(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetImage() const{ return m_image; }
47 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
48 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
49 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
50 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
51 inline ContainerImage& WithImage(const Aws::String& value) { SetImage(value); return *this;}
52 inline ContainerImage& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
53 inline ContainerImage& WithImage(const char* value) { SetImage(value); return *this;}
55
57
60 inline const Aws::String& GetDigest() const{ return m_digest; }
61 inline bool DigestHasBeenSet() const { return m_digestHasBeenSet; }
62 inline void SetDigest(const Aws::String& value) { m_digestHasBeenSet = true; m_digest = value; }
63 inline void SetDigest(Aws::String&& value) { m_digestHasBeenSet = true; m_digest = std::move(value); }
64 inline void SetDigest(const char* value) { m_digestHasBeenSet = true; m_digest.assign(value); }
65 inline ContainerImage& WithDigest(const Aws::String& value) { SetDigest(value); return *this;}
66 inline ContainerImage& WithDigest(Aws::String&& value) { SetDigest(std::move(value)); return *this;}
67 inline ContainerImage& WithDigest(const char* value) { SetDigest(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
75 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
76 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
77 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
78 inline ContainerImage& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
79 inline ContainerImage& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_image;
84 bool m_imageHasBeenSet = false;
85
86 Aws::String m_digest;
87 bool m_digestHasBeenSet = false;
88
89 Aws::Utils::DateTime m_createdAt;
90 bool m_createdAtHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Lightsail
95} // namespace Aws
void SetImage(Aws::String &&value)
void SetDigest(Aws::String &&value)
void SetDigest(const Aws::String &value)
ContainerImage & WithImage(const char *value)
ContainerImage & WithImage(Aws::String &&value)
ContainerImage & WithDigest(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
ContainerImage & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API ContainerImage(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetImage() const
void SetImage(const Aws::String &value)
AWS_LIGHTSAIL_API ContainerImage & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
ContainerImage & WithDigest(const Aws::String &value)
ContainerImage & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetDigest() const
ContainerImage & WithDigest(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ContainerImage & WithImage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue