AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeStarParameters.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ServiceCatalog
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SERVICECATALOG_API CodeStarParameters();
36 AWS_SERVICECATALOG_API CodeStarParameters(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SERVICECATALOG_API CodeStarParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
47 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
48 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
49 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
50 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
51 inline CodeStarParameters& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
52 inline CodeStarParameters& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
53 inline CodeStarParameters& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
55
57
61 inline const Aws::String& GetRepository() const{ return m_repository; }
62 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
63 inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
64 inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
65 inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
66 inline CodeStarParameters& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
67 inline CodeStarParameters& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
68 inline CodeStarParameters& WithRepository(const char* value) { SetRepository(value); return *this;}
70
72
75 inline const Aws::String& GetBranch() const{ return m_branch; }
76 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
77 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
78 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
79 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
80 inline CodeStarParameters& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
81 inline CodeStarParameters& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
82 inline CodeStarParameters& WithBranch(const char* value) { SetBranch(value); return *this;}
84
86
90 inline const Aws::String& GetArtifactPath() const{ return m_artifactPath; }
91 inline bool ArtifactPathHasBeenSet() const { return m_artifactPathHasBeenSet; }
92 inline void SetArtifactPath(const Aws::String& value) { m_artifactPathHasBeenSet = true; m_artifactPath = value; }
93 inline void SetArtifactPath(Aws::String&& value) { m_artifactPathHasBeenSet = true; m_artifactPath = std::move(value); }
94 inline void SetArtifactPath(const char* value) { m_artifactPathHasBeenSet = true; m_artifactPath.assign(value); }
95 inline CodeStarParameters& WithArtifactPath(const Aws::String& value) { SetArtifactPath(value); return *this;}
96 inline CodeStarParameters& WithArtifactPath(Aws::String&& value) { SetArtifactPath(std::move(value)); return *this;}
97 inline CodeStarParameters& WithArtifactPath(const char* value) { SetArtifactPath(value); return *this;}
99 private:
100
101 Aws::String m_connectionArn;
102 bool m_connectionArnHasBeenSet = false;
103
104 Aws::String m_repository;
105 bool m_repositoryHasBeenSet = false;
106
107 Aws::String m_branch;
108 bool m_branchHasBeenSet = false;
109
110 Aws::String m_artifactPath;
111 bool m_artifactPathHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace ServiceCatalog
116} // namespace Aws
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
CodeStarParameters & WithBranch(const Aws::String &value)
CodeStarParameters & WithRepository(Aws::String &&value)
CodeStarParameters & WithRepository(const char *value)
CodeStarParameters & WithConnectionArn(Aws::String &&value)
void SetConnectionArn(const Aws::String &value)
CodeStarParameters & WithRepository(const Aws::String &value)
AWS_SERVICECATALOG_API CodeStarParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeStarParameters & WithConnectionArn(const Aws::String &value)
CodeStarParameters & WithArtifactPath(Aws::String &&value)
CodeStarParameters & WithConnectionArn(const char *value)
CodeStarParameters & WithBranch(const char *value)
CodeStarParameters & WithBranch(Aws::String &&value)
CodeStarParameters & WithArtifactPath(const Aws::String &value)
CodeStarParameters & WithArtifactPath(const char *value)
AWS_SERVICECATALOG_API CodeStarParameters(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue