AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DefinitionRepository.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/SourceReference.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Omics
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_OMICS_API DefinitionRepository() = default;
40 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
49 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
50 template<typename ConnectionArnT = Aws::String>
51 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::forward<ConnectionArnT>(value); }
52 template<typename ConnectionArnT = Aws::String>
53 DefinitionRepository& WithConnectionArn(ConnectionArnT&& value) { SetConnectionArn(std::forward<ConnectionArnT>(value)); return *this;}
55
57
61 inline const Aws::String& GetFullRepositoryId() const { return m_fullRepositoryId; }
62 inline bool FullRepositoryIdHasBeenSet() const { return m_fullRepositoryIdHasBeenSet; }
63 template<typename FullRepositoryIdT = Aws::String>
64 void SetFullRepositoryId(FullRepositoryIdT&& value) { m_fullRepositoryIdHasBeenSet = true; m_fullRepositoryId = std::forward<FullRepositoryIdT>(value); }
65 template<typename FullRepositoryIdT = Aws::String>
66 DefinitionRepository& WithFullRepositoryId(FullRepositoryIdT&& value) { SetFullRepositoryId(std::forward<FullRepositoryIdT>(value)); return *this;}
68
70
74 inline const SourceReference& GetSourceReference() const { return m_sourceReference; }
75 inline bool SourceReferenceHasBeenSet() const { return m_sourceReferenceHasBeenSet; }
76 template<typename SourceReferenceT = SourceReference>
77 void SetSourceReference(SourceReferenceT&& value) { m_sourceReferenceHasBeenSet = true; m_sourceReference = std::forward<SourceReferenceT>(value); }
78 template<typename SourceReferenceT = SourceReference>
79 DefinitionRepository& WithSourceReference(SourceReferenceT&& value) { SetSourceReference(std::forward<SourceReferenceT>(value)); return *this;}
81
83
87 inline const Aws::Vector<Aws::String>& GetExcludeFilePatterns() const { return m_excludeFilePatterns; }
88 inline bool ExcludeFilePatternsHasBeenSet() const { return m_excludeFilePatternsHasBeenSet; }
89 template<typename ExcludeFilePatternsT = Aws::Vector<Aws::String>>
90 void SetExcludeFilePatterns(ExcludeFilePatternsT&& value) { m_excludeFilePatternsHasBeenSet = true; m_excludeFilePatterns = std::forward<ExcludeFilePatternsT>(value); }
91 template<typename ExcludeFilePatternsT = Aws::Vector<Aws::String>>
92 DefinitionRepository& WithExcludeFilePatterns(ExcludeFilePatternsT&& value) { SetExcludeFilePatterns(std::forward<ExcludeFilePatternsT>(value)); return *this;}
93 template<typename ExcludeFilePatternsT = Aws::String>
94 DefinitionRepository& AddExcludeFilePatterns(ExcludeFilePatternsT&& value) { m_excludeFilePatternsHasBeenSet = true; m_excludeFilePatterns.emplace_back(std::forward<ExcludeFilePatternsT>(value)); return *this; }
96 private:
97
98 Aws::String m_connectionArn;
99 bool m_connectionArnHasBeenSet = false;
100
101 Aws::String m_fullRepositoryId;
102 bool m_fullRepositoryIdHasBeenSet = false;
103
104 SourceReference m_sourceReference;
105 bool m_sourceReferenceHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_excludeFilePatterns;
108 bool m_excludeFilePatternsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Omics
113} // namespace Aws
void SetFullRepositoryId(FullRepositoryIdT &&value)
DefinitionRepository & WithFullRepositoryId(FullRepositoryIdT &&value)
const Aws::String & GetFullRepositoryId() const
AWS_OMICS_API DefinitionRepository()=default
DefinitionRepository & AddExcludeFilePatterns(ExcludeFilePatternsT &&value)
const SourceReference & GetSourceReference() const
DefinitionRepository & WithSourceReference(SourceReferenceT &&value)
void SetConnectionArn(ConnectionArnT &&value)
void SetExcludeFilePatterns(ExcludeFilePatternsT &&value)
void SetSourceReference(SourceReferenceT &&value)
DefinitionRepository & WithConnectionArn(ConnectionArnT &&value)
AWS_OMICS_API DefinitionRepository(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API DefinitionRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectionArn() const
const Aws::Vector< Aws::String > & GetExcludeFilePatterns() const
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
DefinitionRepository & WithExcludeFilePatterns(ExcludeFilePatternsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue