AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 DevEnvironmentRepositorySummary();
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); }
51 inline DevEnvironmentRepositorySummary& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
52 inline DevEnvironmentRepositorySummary& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
54
56
60 inline const Aws::String& GetBranchName() const{ return m_branchName; }
61 inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; }
62 inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; }
63 inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); }
64 inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); }
65 inline DevEnvironmentRepositorySummary& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;}
66 inline DevEnvironmentRepositorySummary& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;}
67 inline DevEnvironmentRepositorySummary& WithBranchName(const char* value) { SetBranchName(value); return *this;}
69 private:
70
71 Aws::String m_repositoryName;
72 bool m_repositoryNameHasBeenSet = false;
73
74 Aws::String m_branchName;
75 bool m_branchNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CodeCatalyst
80} // namespace Aws
DevEnvironmentRepositorySummary & WithBranchName(Aws::String &&value)
DevEnvironmentRepositorySummary & WithRepositoryName(const Aws::String &value)
DevEnvironmentRepositorySummary & WithBranchName(const char *value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
DevEnvironmentRepositorySummary & WithBranchName(const Aws::String &value)
AWS_CODECATALYST_API DevEnvironmentRepositorySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API DevEnvironmentRepositorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DevEnvironmentRepositorySummary & WithRepositoryName(Aws::String &&value)
DevEnvironmentRepositorySummary & WithRepositoryName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue