AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeRegistryResult.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 DescribeRegistryResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
60 
64  inline DescribeRegistryResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
65 
69  inline DescribeRegistryResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
70 
71 
75  inline const ReplicationConfiguration& GetReplicationConfiguration() const{ return m_replicationConfiguration; }
76 
80  inline void SetReplicationConfiguration(const ReplicationConfiguration& value) { m_replicationConfiguration = value; }
81 
85  inline void SetReplicationConfiguration(ReplicationConfiguration&& value) { m_replicationConfiguration = std::move(value); }
86 
90  inline DescribeRegistryResult& WithReplicationConfiguration(const ReplicationConfiguration& value) { SetReplicationConfiguration(value); return *this;}
91 
95  inline DescribeRegistryResult& WithReplicationConfiguration(ReplicationConfiguration&& value) { SetReplicationConfiguration(std::move(value)); return *this;}
96 
97  private:
98 
99  Aws::String m_registryId;
100 
101  ReplicationConfiguration m_replicationConfiguration;
102  };
103 
104 } // namespace Model
105 } // namespace ECR
106 } // namespace Aws
Aws::ECR::Model::DescribeRegistryResult::SetRegistryId
void SetRegistryId(const char *value)
Definition: DescribeRegistryResult.h:54
Aws::ECR::Model::DescribeRegistryResult::WithRegistryId
DescribeRegistryResult & WithRegistryId(const Aws::String &value)
Definition: DescribeRegistryResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::DescribeRegistryResult::SetReplicationConfiguration
void SetReplicationConfiguration(const ReplicationConfiguration &value)
Definition: DescribeRegistryResult.h:80
Aws::ECR::Model::DescribeRegistryResult::SetRegistryId
void SetRegistryId(Aws::String &&value)
Definition: DescribeRegistryResult.h:49
ReplicationConfiguration.h
Aws::ECR::Model::DescribeRegistryResult::WithRegistryId
DescribeRegistryResult & WithRegistryId(const char *value)
Definition: DescribeRegistryResult.h:69
Aws::ECR::Model::DescribeRegistryResult::GetRegistryId
const Aws::String & GetRegistryId() const
Definition: DescribeRegistryResult.h:39
Aws::ECR::Model::DescribeRegistryResult::WithReplicationConfiguration
DescribeRegistryResult & WithReplicationConfiguration(ReplicationConfiguration &&value)
Definition: DescribeRegistryResult.h:95
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::DescribeRegistryResult
Definition: DescribeRegistryResult.h:29
ECR_EXPORTS.h
Aws::ECR::Model::DescribeRegistryResult::operator=
DescribeRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::ECR::Model::DescribeRegistryResult::DescribeRegistryResult
DescribeRegistryResult()
Aws::ECR::Model::ReplicationConfiguration
Definition: ReplicationConfiguration.h:33
Aws::ECR::Model::DescribeRegistryResult::WithRegistryId
DescribeRegistryResult & WithRegistryId(Aws::String &&value)
Definition: DescribeRegistryResult.h:64
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::DescribeRegistryResult::DescribeRegistryResult
DescribeRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::DescribeRegistryResult::SetReplicationConfiguration
void SetReplicationConfiguration(ReplicationConfiguration &&value)
Definition: DescribeRegistryResult.h:85
Aws::ECR::Model::DescribeRegistryResult::SetRegistryId
void SetRegistryId(const Aws::String &value)
Definition: DescribeRegistryResult.h:44
Aws::ECR::Model::DescribeRegistryResult::GetReplicationConfiguration
const ReplicationConfiguration & GetReplicationConfiguration() const
Definition: DescribeRegistryResult.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECR::Model::DescribeRegistryResult::WithReplicationConfiguration
DescribeRegistryResult & WithReplicationConfiguration(const ReplicationConfiguration &value)
Definition: DescribeRegistryResult.h:90