AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CodeStarParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace ServiceCatalog {
20namespace Model {
21
29 public:
30 AWS_SERVICECATALOG_API CodeStarParameters() = default;
31 AWS_SERVICECATALOG_API CodeStarParameters(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SERVICECATALOG_API CodeStarParameters& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
41 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
42 template <typename ConnectionArnT = Aws::String>
43 void SetConnectionArn(ConnectionArnT&& value) {
44 m_connectionArnHasBeenSet = true;
45 m_connectionArn = std::forward<ConnectionArnT>(value);
46 }
47 template <typename ConnectionArnT = Aws::String>
48 CodeStarParameters& WithConnectionArn(ConnectionArnT&& value) {
49 SetConnectionArn(std::forward<ConnectionArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetRepository() const { return m_repository; }
60 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
61 template <typename RepositoryT = Aws::String>
62 void SetRepository(RepositoryT&& value) {
63 m_repositoryHasBeenSet = true;
64 m_repository = std::forward<RepositoryT>(value);
65 }
66 template <typename RepositoryT = Aws::String>
67 CodeStarParameters& WithRepository(RepositoryT&& value) {
68 SetRepository(std::forward<RepositoryT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetBranch() const { return m_branch; }
78 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
79 template <typename BranchT = Aws::String>
80 void SetBranch(BranchT&& value) {
81 m_branchHasBeenSet = true;
82 m_branch = std::forward<BranchT>(value);
83 }
84 template <typename BranchT = Aws::String>
85 CodeStarParameters& WithBranch(BranchT&& value) {
86 SetBranch(std::forward<BranchT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetArtifactPath() const { return m_artifactPath; }
97 inline bool ArtifactPathHasBeenSet() const { return m_artifactPathHasBeenSet; }
98 template <typename ArtifactPathT = Aws::String>
99 void SetArtifactPath(ArtifactPathT&& value) {
100 m_artifactPathHasBeenSet = true;
101 m_artifactPath = std::forward<ArtifactPathT>(value);
102 }
103 template <typename ArtifactPathT = Aws::String>
104 CodeStarParameters& WithArtifactPath(ArtifactPathT&& value) {
105 SetArtifactPath(std::forward<ArtifactPathT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_connectionArn;
111
112 Aws::String m_repository;
113
114 Aws::String m_branch;
115
116 Aws::String m_artifactPath;
117 bool m_connectionArnHasBeenSet = false;
118 bool m_repositoryHasBeenSet = false;
119 bool m_branchHasBeenSet = false;
120 bool m_artifactPathHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace ServiceCatalog
125} // namespace Aws
AWS_SERVICECATALOG_API CodeStarParameters()=default
CodeStarParameters & WithArtifactPath(ArtifactPathT &&value)
CodeStarParameters & WithRepository(RepositoryT &&value)
AWS_SERVICECATALOG_API CodeStarParameters & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API CodeStarParameters(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
CodeStarParameters & WithConnectionArn(ConnectionArnT &&value)
CodeStarParameters & WithBranch(BranchT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String