AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DevEnvironmentRepositorySummary.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeCatalyst {
20namespace Model {
21
29 public:
30 AWS_CODECATALYST_API DevEnvironmentRepositorySummary() = default;
33 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
40 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
41 template <typename RepositoryNameT = Aws::String>
42 void SetRepositoryName(RepositoryNameT&& value) {
43 m_repositoryNameHasBeenSet = true;
44 m_repositoryName = std::forward<RepositoryNameT>(value);
45 }
46 template <typename RepositoryNameT = Aws::String>
48 SetRepositoryName(std::forward<RepositoryNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetBranchName() const { return m_branchName; }
59 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
60 template <typename BranchNameT = Aws::String>
61 void SetBranchName(BranchNameT&& value) {
62 m_branchNameHasBeenSet = true;
63 m_branchName = std::forward<BranchNameT>(value);
64 }
65 template <typename BranchNameT = Aws::String>
67 SetBranchName(std::forward<BranchNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_repositoryName;
73 bool m_repositoryNameHasBeenSet = false;
74
75 Aws::String m_branchName;
76 bool m_branchNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CodeCatalyst
81} // namespace Aws
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
DevEnvironmentRepositorySummary & WithBranchName(BranchNameT &&value)
AWS_CODECATALYST_API DevEnvironmentRepositorySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API DevEnvironmentRepositorySummary()=default
AWS_CODECATALYST_API DevEnvironmentRepositorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DevEnvironmentRepositorySummary & WithRepositoryName(RepositoryNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue