AWS SDK for C++  1.9.102
AWS SDK for C++
PutImageScanningConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ECR
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetRegistryId() const{ return m_registryId; }
40 
44  inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
45 
49  inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
50 
54  inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
55 
59  inline PutImageScanningConfigurationResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
60 
64  inline PutImageScanningConfigurationResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
65 
69  inline PutImageScanningConfigurationResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
70 
71 
75  inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
76 
80  inline void SetRepositoryName(const Aws::String& value) { m_repositoryName = value; }
81 
85  inline void SetRepositoryName(Aws::String&& value) { m_repositoryName = std::move(value); }
86 
90  inline void SetRepositoryName(const char* value) { m_repositoryName.assign(value); }
91 
95  inline PutImageScanningConfigurationResult& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
96 
100  inline PutImageScanningConfigurationResult& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
101 
105  inline PutImageScanningConfigurationResult& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
106 
107 
111  inline const ImageScanningConfiguration& GetImageScanningConfiguration() const{ return m_imageScanningConfiguration; }
112 
116  inline void SetImageScanningConfiguration(const ImageScanningConfiguration& value) { m_imageScanningConfiguration = value; }
117 
121  inline void SetImageScanningConfiguration(ImageScanningConfiguration&& value) { m_imageScanningConfiguration = std::move(value); }
122 
126  inline PutImageScanningConfigurationResult& WithImageScanningConfiguration(const ImageScanningConfiguration& value) { SetImageScanningConfiguration(value); return *this;}
127 
131  inline PutImageScanningConfigurationResult& WithImageScanningConfiguration(ImageScanningConfiguration&& value) { SetImageScanningConfiguration(std::move(value)); return *this;}
132 
133  private:
134 
135  Aws::String m_registryId;
136 
137  Aws::String m_repositoryName;
138 
139  ImageScanningConfiguration m_imageScanningConfiguration;
140  };
141 
142 } // namespace Model
143 } // namespace ECR
144 } // namespace Aws
Aws::ECR::Model::PutImageScanningConfigurationResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition: PutImageScanningConfigurationResult.h:90
Aws::ECR::Model::PutImageScanningConfigurationResult::PutImageScanningConfigurationResult
PutImageScanningConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::ImageScanningConfiguration
Definition: ImageScanningConfiguration.h:31
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::PutImageScanningConfigurationResult::WithRepositoryName
PutImageScanningConfigurationResult & WithRepositoryName(Aws::String &&value)
Definition: PutImageScanningConfigurationResult.h:100
Aws::ECR::Model::PutImageScanningConfigurationResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: PutImageScanningConfigurationResult.h:49
Aws::ECR::Model::PutImageScanningConfigurationResult::WithImageScanningConfiguration
PutImageScanningConfigurationResult & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
Definition: PutImageScanningConfigurationResult.h:126
Aws::ECR::Model::PutImageScanningConfigurationResult::WithRepositoryName
PutImageScanningConfigurationResult & WithRepositoryName(const Aws::String &value)
Definition: PutImageScanningConfigurationResult.h:95
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::PutImageScanningConfigurationResult::SetImageScanningConfiguration
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
Definition: PutImageScanningConfigurationResult.h:116
Aws::ECR::Model::PutImageScanningConfigurationResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition: PutImageScanningConfigurationResult.h:75
Aws::ECR::Model::PutImageScanningConfigurationResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition: PutImageScanningConfigurationResult.h:80
ECR_EXPORTS.h
Aws::ECR::Model::PutImageScanningConfigurationResult
Definition: PutImageScanningConfigurationResult.h:29
Aws::ECR::Model::PutImageScanningConfigurationResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: PutImageScanningConfigurationResult.h:54
Aws::ECR::Model::PutImageScanningConfigurationResult::GetImageScanningConfiguration
const ImageScanningConfiguration & GetImageScanningConfiguration() const
Definition: PutImageScanningConfigurationResult.h:111
Aws::ECR::Model::PutImageScanningConfigurationResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: PutImageScanningConfigurationResult.h:44
AWSString.h
Aws::ECR::Model::PutImageScanningConfigurationResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: PutImageScanningConfigurationResult.h:39
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::PutImageScanningConfigurationResult::WithRegistryId
PutImageScanningConfigurationResult & WithRegistryId(Aws::String &&value)
Definition: PutImageScanningConfigurationResult.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::PutImageScanningConfigurationResult::operator=
PutImageScanningConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::PutImageScanningConfigurationResult::WithImageScanningConfiguration
PutImageScanningConfigurationResult & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
Definition: PutImageScanningConfigurationResult.h:131
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ImageScanningConfiguration.h
Aws::ECR::Model::PutImageScanningConfigurationResult::WithRepositoryName
PutImageScanningConfigurationResult & WithRepositoryName(const char *value)
Definition: PutImageScanningConfigurationResult.h:105
Aws::ECR::Model::PutImageScanningConfigurationResult::SetImageScanningConfiguration
void SetImageScanningConfiguration(ImageScanningConfiguration &&value)
Definition: PutImageScanningConfigurationResult.h:121
Aws::ECR::Model::PutImageScanningConfigurationResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition: PutImageScanningConfigurationResult.h:85
Aws::ECR::Model::PutImageScanningConfigurationResult::WithRegistryId
PutImageScanningConfigurationResult & WithRegistryId(const char *value)
Definition: PutImageScanningConfigurationResult.h:69
Aws::ECR::Model::PutImageScanningConfigurationResult::WithRegistryId
PutImageScanningConfigurationResult & WithRegistryId(const Aws::String &value)
Definition: PutImageScanningConfigurationResult.h:59
Aws::ECR::Model::PutImageScanningConfigurationResult::PutImageScanningConfigurationResult
PutImageScanningConfigurationResult()