AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositoryInput.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_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 CodeCatalyst
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODECATALYST_API RepositoryInput();
36 AWS_CODECATALYST_API RepositoryInput(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODECATALYST_API RepositoryInput& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
46 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
47 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
48 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
49 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
50 inline RepositoryInput& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
51 inline RepositoryInput& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
52 inline RepositoryInput& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
54
56
59 inline const Aws::String& GetBranchName() const{ return m_branchName; }
60 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
61 inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; }
62 inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); }
63 inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); }
64 inline RepositoryInput& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;}
65 inline RepositoryInput& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;}
66 inline RepositoryInput& WithBranchName(const char* value) { SetBranchName(value); return *this;}
68 private:
69
70 Aws::String m_repositoryName;
71 bool m_repositoryNameHasBeenSet = false;
72
73 Aws::String m_branchName;
74 bool m_branchNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodeCatalyst
79} // namespace Aws
AWS_CODECATALYST_API RepositoryInput(Aws::Utils::Json::JsonView jsonValue)
RepositoryInput & WithRepositoryName(const char *value)
void SetRepositoryName(Aws::String &&value)
RepositoryInput & WithRepositoryName(Aws::String &&value)
const Aws::String & GetRepositoryName() const
void SetBranchName(const Aws::String &value)
RepositoryInput & WithBranchName(const Aws::String &value)
AWS_CODECATALYST_API RepositoryInput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBranchName() const
RepositoryInput & WithBranchName(const char *value)
RepositoryInput & WithRepositoryName(const Aws::String &value)
void SetRepositoryName(const Aws::String &value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryInput & WithBranchName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue