AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageIdentifier.h
1
6#pragma once
7#include <aws/ecr/ECR_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 ECR
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ECR_API ImageIdentifier();
39
40
42
45 inline const Aws::String& GetImageDigest() const{ return m_imageDigest; }
46 inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; }
47 inline void SetImageDigest(const Aws::String& value) { m_imageDigestHasBeenSet = true; m_imageDigest = value; }
48 inline void SetImageDigest(Aws::String&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::move(value); }
49 inline void SetImageDigest(const char* value) { m_imageDigestHasBeenSet = true; m_imageDigest.assign(value); }
50 inline ImageIdentifier& WithImageDigest(const Aws::String& value) { SetImageDigest(value); return *this;}
51 inline ImageIdentifier& WithImageDigest(Aws::String&& value) { SetImageDigest(std::move(value)); return *this;}
52 inline ImageIdentifier& WithImageDigest(const char* value) { SetImageDigest(value); return *this;}
54
56
59 inline const Aws::String& GetImageTag() const{ return m_imageTag; }
60 inline bool ImageTagHasBeenSet() const { return m_imageTagHasBeenSet; }
61 inline void SetImageTag(const Aws::String& value) { m_imageTagHasBeenSet = true; m_imageTag = value; }
62 inline void SetImageTag(Aws::String&& value) { m_imageTagHasBeenSet = true; m_imageTag = std::move(value); }
63 inline void SetImageTag(const char* value) { m_imageTagHasBeenSet = true; m_imageTag.assign(value); }
64 inline ImageIdentifier& WithImageTag(const Aws::String& value) { SetImageTag(value); return *this;}
65 inline ImageIdentifier& WithImageTag(Aws::String&& value) { SetImageTag(std::move(value)); return *this;}
66 inline ImageIdentifier& WithImageTag(const char* value) { SetImageTag(value); return *this;}
68 private:
69
70 Aws::String m_imageDigest;
71 bool m_imageDigestHasBeenSet = false;
72
73 Aws::String m_imageTag;
74 bool m_imageTagHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ECR
79} // namespace Aws
ImageIdentifier & WithImageTag(Aws::String &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
ImageIdentifier & WithImageDigest(const char *value)
void SetImageTag(Aws::String &&value)
void SetImageDigest(Aws::String &&value)
ImageIdentifier & WithImageTag(const char *value)
AWS_ECR_API ImageIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_ECR_API ImageIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageIdentifier & WithImageTag(const Aws::String &value)
void SetImageTag(const char *value)
void SetImageTag(const Aws::String &value)
void SetImageDigest(const char *value)
ImageIdentifier & WithImageDigest(Aws::String &&value)
void SetImageDigest(const Aws::String &value)
const Aws::String & GetImageDigest() const
const Aws::String & GetImageTag() const
ImageIdentifier & WithImageDigest(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue