AWS SDK for C++  1.9.104
AWS SDK for C++
PutReplicationConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecr/ECR_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECR
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const ReplicationConfiguration& GetReplicationConfiguration() const{ return m_replicationConfiguration; }
39 
43  inline void SetReplicationConfiguration(const ReplicationConfiguration& value) { m_replicationConfiguration = value; }
44 
48  inline void SetReplicationConfiguration(ReplicationConfiguration&& value) { m_replicationConfiguration = std::move(value); }
49 
53  inline PutReplicationConfigurationResult& WithReplicationConfiguration(const ReplicationConfiguration& value) { SetReplicationConfiguration(value); return *this;}
54 
58  inline PutReplicationConfigurationResult& WithReplicationConfiguration(ReplicationConfiguration&& value) { SetReplicationConfiguration(std::move(value)); return *this;}
59 
60  private:
61 
62  ReplicationConfiguration m_replicationConfiguration;
63  };
64 
65 } // namespace Model
66 } // namespace ECR
67 } // namespace Aws
Aws::ECR::Model::PutReplicationConfigurationResult::operator=
PutReplicationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::PutReplicationConfigurationResult::SetReplicationConfiguration
void SetReplicationConfiguration(ReplicationConfiguration &&value)
Definition: PutReplicationConfigurationResult.h:48
Aws::ECR::Model::PutReplicationConfigurationResult::GetReplicationConfiguration
const ReplicationConfiguration & GetReplicationConfiguration() const
Definition: PutReplicationConfigurationResult.h:38
ReplicationConfiguration.h
Aws::ECR::Model::PutReplicationConfigurationResult::WithReplicationConfiguration
PutReplicationConfigurationResult & WithReplicationConfiguration(ReplicationConfiguration &&value)
Definition: PutReplicationConfigurationResult.h:58
Aws::ECR::Model::PutReplicationConfigurationResult::PutReplicationConfigurationResult
PutReplicationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
Aws::ECR::Model::PutReplicationConfigurationResult::WithReplicationConfiguration
PutReplicationConfigurationResult & WithReplicationConfiguration(const ReplicationConfiguration &value)
Definition: PutReplicationConfigurationResult.h:53
ECR_EXPORTS.h
Aws::ECR::Model::PutReplicationConfigurationResult
Definition: PutReplicationConfigurationResult.h:28
Aws::ECR::Model::ReplicationConfiguration
Definition: ReplicationConfiguration.h:33
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::ECR::Model::PutReplicationConfigurationResult::PutReplicationConfigurationResult
PutReplicationConfigurationResult()
Aws::ECR::Model::PutReplicationConfigurationResult::SetReplicationConfiguration
void SetReplicationConfiguration(const ReplicationConfiguration &value)
Definition: PutReplicationConfigurationResult.h:43