AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteRepositoryResult.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 Repository& GetRepository() const{ return m_repository; }
39 
43  inline void SetRepository(const Repository& value) { m_repository = value; }
44 
48  inline void SetRepository(Repository&& value) { m_repository = std::move(value); }
49 
53  inline DeleteRepositoryResult& WithRepository(const Repository& value) { SetRepository(value); return *this;}
54 
58  inline DeleteRepositoryResult& WithRepository(Repository&& value) { SetRepository(std::move(value)); return *this;}
59 
60  private:
61 
62  Repository m_repository;
63  };
64 
65 } // namespace Model
66 } // namespace ECR
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECR::Model::Repository
Definition: Repository.h:36
Aws::ECR::Model::DeleteRepositoryResult::SetRepository
void SetRepository(Repository &&value)
Definition: DeleteRepositoryResult.h:48
Aws::ECR::Model::DeleteRepositoryResult::SetRepository
void SetRepository(const Repository &value)
Definition: DeleteRepositoryResult.h:43
Aws::ECR::Model::DeleteRepositoryResult::operator=
DeleteRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::DeleteRepositoryResult
Definition: DeleteRepositoryResult.h:28
Aws::ECR::Model::DeleteRepositoryResult::WithRepository
DeleteRepositoryResult & WithRepository(const Repository &value)
Definition: DeleteRepositoryResult.h:53
Aws::imagebuilder::Model::ContainerRepositoryService::NOT_SET
@ NOT_SET
ECR_EXPORTS.h
AWS_ECR_API
#define AWS_ECR_API
Definition: ECR_EXPORTS.h:28
Aws::ECR::Model::DeleteRepositoryResult::DeleteRepositoryResult
DeleteRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECR::Model::DeleteRepositoryResult::GetRepository
const Repository & GetRepository() const
Definition: DeleteRepositoryResult.h:38
Aws::ECR::Model::DeleteRepositoryResult::WithRepository
DeleteRepositoryResult & WithRepository(Repository &&value)
Definition: DeleteRepositoryResult.h:58
Aws::ECR::Model::DeleteRepositoryResult::DeleteRepositoryResult
DeleteRepositoryResult()
Aws
Definition: AccessManagementClient.h:15
Repository.h