AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageScanStatus.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/ecr/model/ScanStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 ECR
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ECR_API ImageScanStatus();
39
40
42
45 inline const ScanStatus& GetStatus() const{ return m_status; }
46 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
47 inline void SetStatus(const ScanStatus& value) { m_statusHasBeenSet = true; m_status = value; }
48 inline void SetStatus(ScanStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
49 inline ImageScanStatus& WithStatus(const ScanStatus& value) { SetStatus(value); return *this;}
50 inline ImageScanStatus& WithStatus(ScanStatus&& value) { SetStatus(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline ImageScanStatus& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline ImageScanStatus& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline ImageScanStatus& WithDescription(const char* value) { SetDescription(value); return *this;}
66 private:
67
68 ScanStatus m_status;
69 bool m_statusHasBeenSet = false;
70
71 Aws::String m_description;
72 bool m_descriptionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ECR
77} // namespace Aws
void SetDescription(Aws::String &&value)
ImageScanStatus & WithStatus(ScanStatus &&value)
void SetStatus(ScanStatus &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
ImageScanStatus & WithDescription(const char *value)
AWS_ECR_API ImageScanStatus(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const ScanStatus &value)
ImageScanStatus & WithDescription(const Aws::String &value)
AWS_ECR_API ImageScanStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageScanStatus & WithDescription(Aws::String &&value)
const ScanStatus & GetStatus() const
ImageScanStatus & WithStatus(const ScanStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue