AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImageScanResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecr/model/ImageIdentifier.h>
10#include <aws/ecr/model/ImageScanStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ECR
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ECR_API StartImageScanResult();
35
36
38
41 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
42 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
43 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
44 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
45 inline StartImageScanResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
46 inline StartImageScanResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
47 inline StartImageScanResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
49
51
54 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
55 inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
56 inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
57 inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
58 inline StartImageScanResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
59 inline StartImageScanResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
60 inline StartImageScanResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
62
64
65 inline const ImageIdentifier& GetImageId() const{ return m_imageId; }
66 inline void SetImageId(const ImageIdentifier& value) { m_imageId = value; }
67 inline void SetImageId(ImageIdentifier&& value) { m_imageId = std::move(value); }
68 inline StartImageScanResult& WithImageId(const ImageIdentifier& value) { SetImageId(value); return *this;}
69 inline StartImageScanResult& WithImageId(ImageIdentifier&& value) { SetImageId(std::move(value)); return *this;}
71
73
76 inline const ImageScanStatus& GetImageScanStatus() const{ return m_imageScanStatus; }
77 inline void SetImageScanStatus(const ImageScanStatus& value) { m_imageScanStatus = value; }
78 inline void SetImageScanStatus(ImageScanStatus&& value) { m_imageScanStatus = std::move(value); }
79 inline StartImageScanResult& WithImageScanStatus(const ImageScanStatus& value) { SetImageScanStatus(value); return *this;}
80 inline StartImageScanResult& WithImageScanStatus(ImageScanStatus&& value) { SetImageScanStatus(std::move(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline StartImageScanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline StartImageScanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline StartImageScanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::String m_registryId;
96
97 Aws::String m_repositoryName;
98
99 ImageIdentifier m_imageId;
100
101 ImageScanStatus m_imageScanStatus;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace ECR
108} // namespace Aws
StartImageScanResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRepositoryName() const
const ImageScanStatus & GetImageScanStatus() const
void SetImageScanStatus(const ImageScanStatus &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
StartImageScanResult & WithRegistryId(const char *value)
const ImageIdentifier & GetImageId() const
StartImageScanResult & WithRegistryId(const Aws::String &value)
void SetRegistryId(const Aws::String &value)
const Aws::String & GetRegistryId() const
void SetRepositoryName(const Aws::String &value)
StartImageScanResult & WithRequestId(const Aws::String &value)
AWS_ECR_API StartImageScanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImageScanResult & WithRegistryId(Aws::String &&value)
StartImageScanResult & WithImageId(ImageIdentifier &&value)
AWS_ECR_API StartImageScanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetImageId(ImageIdentifier &&value)
StartImageScanResult & WithImageScanStatus(const ImageScanStatus &value)
StartImageScanResult & WithRequestId(const char *value)
StartImageScanResult & WithImageScanStatus(ImageScanStatus &&value)
void SetImageId(const ImageIdentifier &value)
void SetRepositoryName(Aws::String &&value)
StartImageScanResult & WithRepositoryName(Aws::String &&value)
StartImageScanResult & WithRepositoryName(const char *value)
void SetImageScanStatus(ImageScanStatus &&value)
StartImageScanResult & WithImageId(const ImageIdentifier &value)
StartImageScanResult & WithRepositoryName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue