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/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECS
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_ECS_API ContainerImage();
48
49
51
54 inline const Aws::String& GetContainerName() const{ return m_containerName; }
55 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
56 inline void SetContainerName(const Aws::String& value) { m_containerNameHasBeenSet = true; m_containerName = value; }
57 inline void SetContainerName(Aws::String&& value) { m_containerNameHasBeenSet = true; m_containerName = std::move(value); }
58 inline void SetContainerName(const char* value) { m_containerNameHasBeenSet = true; m_containerName.assign(value); }
59 inline ContainerImage& WithContainerName(const Aws::String& value) { SetContainerName(value); return *this;}
60 inline ContainerImage& WithContainerName(Aws::String&& value) { SetContainerName(std::move(value)); return *this;}
61 inline ContainerImage& WithContainerName(const char* value) { SetContainerName(value); return *this;}
63
65
68 inline const Aws::String& GetImageDigest() const{ return m_imageDigest; }
69 inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; }
70 inline void SetImageDigest(const Aws::String& value) { m_imageDigestHasBeenSet = true; m_imageDigest = value; }
71 inline void SetImageDigest(Aws::String&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::move(value); }
72 inline void SetImageDigest(const char* value) { m_imageDigestHasBeenSet = true; m_imageDigest.assign(value); }
73 inline ContainerImage& WithImageDigest(const Aws::String& value) { SetImageDigest(value); return *this;}
74 inline ContainerImage& WithImageDigest(Aws::String&& value) { SetImageDigest(std::move(value)); return *this;}
75 inline ContainerImage& WithImageDigest(const char* value) { SetImageDigest(value); return *this;}
77
79
82 inline const Aws::String& GetImage() const{ return m_image; }
83 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
84 inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
85 inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
86 inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
87 inline ContainerImage& WithImage(const Aws::String& value) { SetImage(value); return *this;}
88 inline ContainerImage& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
89 inline ContainerImage& WithImage(const char* value) { SetImage(value); return *this;}
91 private:
92
93 Aws::String m_containerName;
94 bool m_containerNameHasBeenSet = false;
95
96 Aws::String m_imageDigest;
97 bool m_imageDigestHasBeenSet = false;
98
99 Aws::String m_image;
100 bool m_imageHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace ECS
105} // namespace Aws
void SetImage(Aws::String &&value)
ContainerImage & WithContainerName(const char *value)
const Aws::String & GetImage() const
void SetImageDigest(const Aws::String &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetImageDigest(const char *value)
void SetImage(const Aws::String &value)
AWS_ECS_API ContainerImage & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetImageDigest() const
ContainerImage & WithImageDigest(const char *value)
void SetContainerName(const char *value)
ContainerImage & WithContainerName(const Aws::String &value)
ContainerImage & WithImage(const char *value)
AWS_ECS_API ContainerImage(Aws::Utils::Json::JsonView jsonValue)
ContainerImage & WithImage(const Aws::String &value)
ContainerImage & WithImage(Aws::String &&value)
ContainerImage & WithImageDigest(Aws::String &&value)
void SetContainerName(const Aws::String &value)
void SetImageDigest(Aws::String &&value)
ContainerImage & WithContainerName(Aws::String &&value)
const Aws::String & GetContainerName() const
ContainerImage & WithImageDigest(const Aws::String &value)
void SetImage(const char *value)
void SetContainerName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue