AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DefinitionRepository.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/SourceReference.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Omics {
22namespace Model {
23
31 public:
32 AWS_OMICS_API DefinitionRepository() = default;
35 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
43 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
44 template <typename ConnectionArnT = Aws::String>
45 void SetConnectionArn(ConnectionArnT&& value) {
46 m_connectionArnHasBeenSet = true;
47 m_connectionArn = std::forward<ConnectionArnT>(value);
48 }
49 template <typename ConnectionArnT = Aws::String>
50 DefinitionRepository& WithConnectionArn(ConnectionArnT&& value) {
51 SetConnectionArn(std::forward<ConnectionArnT>(value));
52 return *this;
53 }
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) {
65 m_fullRepositoryIdHasBeenSet = true;
66 m_fullRepositoryId = std::forward<FullRepositoryIdT>(value);
67 }
68 template <typename FullRepositoryIdT = Aws::String>
69 DefinitionRepository& WithFullRepositoryId(FullRepositoryIdT&& value) {
70 SetFullRepositoryId(std::forward<FullRepositoryIdT>(value));
71 return *this;
72 }
74
76
80 inline const SourceReference& GetSourceReference() const { return m_sourceReference; }
81 inline bool SourceReferenceHasBeenSet() const { return m_sourceReferenceHasBeenSet; }
82 template <typename SourceReferenceT = SourceReference>
83 void SetSourceReference(SourceReferenceT&& value) {
84 m_sourceReferenceHasBeenSet = true;
85 m_sourceReference = std::forward<SourceReferenceT>(value);
86 }
87 template <typename SourceReferenceT = SourceReference>
88 DefinitionRepository& WithSourceReference(SourceReferenceT&& value) {
89 SetSourceReference(std::forward<SourceReferenceT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::Vector<Aws::String>& GetExcludeFilePatterns() const { return m_excludeFilePatterns; }
100 inline bool ExcludeFilePatternsHasBeenSet() const { return m_excludeFilePatternsHasBeenSet; }
101 template <typename ExcludeFilePatternsT = Aws::Vector<Aws::String>>
102 void SetExcludeFilePatterns(ExcludeFilePatternsT&& value) {
103 m_excludeFilePatternsHasBeenSet = true;
104 m_excludeFilePatterns = std::forward<ExcludeFilePatternsT>(value);
105 }
106 template <typename ExcludeFilePatternsT = Aws::Vector<Aws::String>>
107 DefinitionRepository& WithExcludeFilePatterns(ExcludeFilePatternsT&& value) {
108 SetExcludeFilePatterns(std::forward<ExcludeFilePatternsT>(value));
109 return *this;
110 }
111 template <typename ExcludeFilePatternsT = Aws::String>
112 DefinitionRepository& AddExcludeFilePatterns(ExcludeFilePatternsT&& value) {
113 m_excludeFilePatternsHasBeenSet = true;
114 m_excludeFilePatterns.emplace_back(std::forward<ExcludeFilePatternsT>(value));
115 return *this;
116 }
118 private:
119 Aws::String m_connectionArn;
120
121 Aws::String m_fullRepositoryId;
122
123 SourceReference m_sourceReference;
124
125 Aws::Vector<Aws::String> m_excludeFilePatterns;
126 bool m_connectionArnHasBeenSet = false;
127 bool m_fullRepositoryIdHasBeenSet = false;
128 bool m_sourceReferenceHasBeenSet = false;
129 bool m_excludeFilePatternsHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace Omics
134} // 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