7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/RestoreSourceBranch.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AmplifyGen3 {
42 template <
typename BranchNameT = Aws::String>
44 m_branchNameHasBeenSet =
true;
45 m_branchName = std::forward<BranchNameT>(value);
47 template <
typename BranchNameT = Aws::String>
60 template <
typename BranchArnT = Aws::String>
62 m_branchArnHasBeenSet =
true;
63 m_branchArn = std::forward<BranchArnT>(value);
65 template <
typename BranchArnT = Aws::String>
79 template <
typename GitBranchNameT = Aws::String>
81 m_gitBranchNameHasBeenSet =
true;
82 m_gitBranchName = std::forward<GitBranchNameT>(value);
84 template <
typename GitBranchNameT = Aws::String>
98 template <
typename CreatedAtT = Aws::Utils::DateTime>
100 m_createdAtHasBeenSet =
true;
101 m_createdAt = std::forward<CreatedAtT>(value);
103 template <
typename CreatedAtT = Aws::Utils::DateTime>
117 template <
typename SourceBranchT = RestoreSourceBranch>
119 m_sourceBranchHasBeenSet =
true;
120 m_sourceBranch = std::forward<SourceBranchT>(value);
122 template <
typename SourceBranchT = RestoreSourceBranch>
137 RestoreSourceBranch m_sourceBranch;
138 bool m_branchNameHasBeenSet =
false;
139 bool m_branchArnHasBeenSet =
false;
140 bool m_gitBranchNameHasBeenSet =
false;
141 bool m_createdAtHasBeenSet =
false;
142 bool m_sourceBranchHasBeenSet =
false;
bool SourceBranchHasBeenSet() const
const Aws::String & GetBranchArn() const
void SetBranchArn(BranchArnT &&value)
const RestoreSourceBranch & GetSourceBranch() const
void SetGitBranchName(GitBranchNameT &&value)
BranchSummary & WithBranchName(BranchNameT &&value)
BranchSummary & WithGitBranchName(GitBranchNameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBranchName(BranchNameT &&value)
AWS_AMPLIFYGEN3_API BranchSummary(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
bool GitBranchNameHasBeenSet() const
BranchSummary & WithBranchArn(BranchArnT &&value)
AWS_AMPLIFYGEN3_API BranchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGitBranchName() const
BranchSummary & WithSourceBranch(SourceBranchT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool BranchArnHasBeenSet() const
BranchSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetBranchName() const
bool BranchNameHasBeenSet() const
void SetSourceBranch(SourceBranchT &&value)
AWS_AMPLIFYGEN3_API BranchSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue