AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcrContainerImageMetadata.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Inspector2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_INSPECTOR2_API EcrContainerImageMetadata();
40 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetImagePulledAt() const{ return m_imagePulledAt; }
48 inline bool ImagePulledAtHasBeenSet() const { return m_imagePulledAtHasBeenSet; }
49 inline void SetImagePulledAt(const Aws::Utils::DateTime& value) { m_imagePulledAtHasBeenSet = true; m_imagePulledAt = value; }
50 inline void SetImagePulledAt(Aws::Utils::DateTime&& value) { m_imagePulledAtHasBeenSet = true; m_imagePulledAt = std::move(value); }
52 inline EcrContainerImageMetadata& WithImagePulledAt(Aws::Utils::DateTime&& value) { SetImagePulledAt(std::move(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetTags() const{ return m_tags; }
60 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
61 inline void SetTags(const Aws::Vector<Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
62 inline void SetTags(Aws::Vector<Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
63 inline EcrContainerImageMetadata& WithTags(const Aws::Vector<Aws::String>& value) { SetTags(value); return *this;}
64 inline EcrContainerImageMetadata& WithTags(Aws::Vector<Aws::String>&& value) { SetTags(std::move(value)); return *this;}
65 inline EcrContainerImageMetadata& AddTags(const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
66 inline EcrContainerImageMetadata& AddTags(Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
67 inline EcrContainerImageMetadata& AddTags(const char* value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
69 private:
70
71 Aws::Utils::DateTime m_imagePulledAt;
72 bool m_imagePulledAtHasBeenSet = false;
73
75 bool m_tagsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Inspector2
80} // namespace Aws
const Aws::Vector< Aws::String > & GetTags() const
EcrContainerImageMetadata & WithTags(const Aws::Vector< Aws::String > &value)
AWS_INSPECTOR2_API EcrContainerImageMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Vector< Aws::String > &&value)
EcrContainerImageMetadata & AddTags(Aws::String &&value)
EcrContainerImageMetadata & WithImagePulledAt(Aws::Utils::DateTime &&value)
EcrContainerImageMetadata & WithTags(Aws::Vector< Aws::String > &&value)
EcrContainerImageMetadata & AddTags(const Aws::String &value)
void SetImagePulledAt(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Vector< Aws::String > &value)
AWS_INSPECTOR2_API EcrContainerImageMetadata(Aws::Utils::Json::JsonView jsonValue)
EcrContainerImageMetadata & AddTags(const char *value)
EcrContainerImageMetadata & WithImagePulledAt(const Aws::Utils::DateTime &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue