AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutImageScanningConfigurationResult.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/ImageScanningConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ECR
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
41 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
42 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
43 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
44 inline PutImageScanningConfigurationResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
45 inline PutImageScanningConfigurationResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
46 inline PutImageScanningConfigurationResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
48
50
53 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
54 inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
55 inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
56 inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
58 inline PutImageScanningConfigurationResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
59 inline PutImageScanningConfigurationResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
61
63
66 inline const ImageScanningConfiguration& GetImageScanningConfiguration() const{ return m_imageScanningConfiguration; }
67 inline void SetImageScanningConfiguration(const ImageScanningConfiguration& value) { m_imageScanningConfiguration = value; }
68 inline void SetImageScanningConfiguration(ImageScanningConfiguration&& value) { m_imageScanningConfiguration = std::move(value); }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline PutImageScanningConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline PutImageScanningConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline PutImageScanningConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_registryId;
86
87 Aws::String m_repositoryName;
88
89 ImageScanningConfiguration m_imageScanningConfiguration;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace ECR
96} // namespace Aws
AWS_ECR_API PutImageScanningConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutImageScanningConfigurationResult & WithRepositoryName(const char *value)
PutImageScanningConfigurationResult & WithRequestId(const Aws::String &value)
PutImageScanningConfigurationResult & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
PutImageScanningConfigurationResult & WithRegistryId(const Aws::String &value)
PutImageScanningConfigurationResult & WithRequestId(Aws::String &&value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
AWS_ECR_API PutImageScanningConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutImageScanningConfigurationResult & WithRegistryId(const char *value)
PutImageScanningConfigurationResult & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
PutImageScanningConfigurationResult & WithRepositoryName(const Aws::String &value)
PutImageScanningConfigurationResult & WithRegistryId(Aws::String &&value)
PutImageScanningConfigurationResult & WithRepositoryName(Aws::String &&value)
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
PutImageScanningConfigurationResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue