7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AmplifyGen3 {
42 template <
typename BranchNameT = Aws::String>
44 m_branchNameHasBeenSet =
true;
45 m_branchName = std::forward<BranchNameT>(value);
47 template <
typename BranchNameT = Aws::String>
61 template <
typename BranchArnT = Aws::String>
63 m_branchArnHasBeenSet =
true;
64 m_branchArn = std::forward<BranchArnT>(value);
66 template <
typename BranchArnT = Aws::String>
79 template <
typename RestoreToTimeT = Aws::Utils::DateTime>
81 m_restoreToTimeHasBeenSet =
true;
82 m_restoreToTime = std::forward<RestoreToTimeT>(value);
84 template <
typename RestoreToTimeT = Aws::Utils::DateTime>
96 bool m_branchNameHasBeenSet =
false;
97 bool m_branchArnHasBeenSet =
false;
98 bool m_restoreToTimeHasBeenSet =
false;
RestoreSourceBranch & WithBranchArn(BranchArnT &&value)
void SetRestoreToTime(RestoreToTimeT &&value)
bool BranchArnHasBeenSet() const
void SetBranchArn(BranchArnT &&value)
bool BranchNameHasBeenSet() const
const Aws::String & GetBranchName() const
RestoreSourceBranch & WithRestoreToTime(RestoreToTimeT &&value)
AWS_AMPLIFYGEN3_API RestoreSourceBranch(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetRestoreToTime() const
AWS_AMPLIFYGEN3_API RestoreSourceBranch & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBranchArn() const
bool RestoreToTimeHasBeenSet() const
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBranchName(BranchNameT &&value)
AWS_AMPLIFYGEN3_API RestoreSourceBranch()=default
RestoreSourceBranch & WithBranchName(BranchNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue