AWS SDK for C++  1.9.153
AWS SDK for C++
DisassociateExternalConnectionResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 CodeArtifact
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const RepositoryDescription& GetRepository() const{ return m_repository; }
39 
43  inline void SetRepository(const RepositoryDescription& value) { m_repository = value; }
44 
48  inline void SetRepository(RepositoryDescription&& value) { m_repository = std::move(value); }
49 
53  inline DisassociateExternalConnectionResult& WithRepository(const RepositoryDescription& value) { SetRepository(value); return *this;}
54 
58  inline DisassociateExternalConnectionResult& WithRepository(RepositoryDescription&& value) { SetRepository(std::move(value)); return *this;}
59 
60  private:
61 
62  RepositoryDescription m_repository;
63  };
64 
65 } // namespace Model
66 } // namespace CodeArtifact
67 } // namespace Aws
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult::WithRepository
DisassociateExternalConnectionResult & WithRepository(RepositoryDescription &&value)
Definition: DisassociateExternalConnectionResult.h:58
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult
Definition: DisassociateExternalConnectionResult.h:28
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult::SetRepository
void SetRepository(RepositoryDescription &&value)
Definition: DisassociateExternalConnectionResult.h:48
Aws::CodeArtifact::Model::RepositoryDescription
Definition: RepositoryDescription.h:41
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult::DisassociateExternalConnectionResult
DisassociateExternalConnectionResult()
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult::DisassociateExternalConnectionResult
DisassociateExternalConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult::WithRepository
DisassociateExternalConnectionResult & WithRepository(const RepositoryDescription &value)
Definition: DisassociateExternalConnectionResult.h:53
RepositoryDescription.h
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult::operator=
DisassociateExternalConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult::GetRepository
const RepositoryDescription & GetRepository() const
Definition: DisassociateExternalConnectionResult.h:38
Aws::CodeArtifact::Model::DisassociateExternalConnectionResult::SetRepository
void SetRepository(const RepositoryDescription &value)
Definition: DisassociateExternalConnectionResult.h:43