7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename RefT = Aws::String>
42 void SetRef(RefT&& value) { m_refHasBeenSet =
true; m_ref = std::forward<RefT>(value); }
43 template<
typename RefT = Aws::String>
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
65 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
66 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
67 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
76 template<
typename HeadCommitIdT = Aws::String>
77 void SetHeadCommitId(HeadCommitIdT&& value) { m_headCommitIdHasBeenSet =
true; m_headCommitId = std::forward<HeadCommitIdT>(value); }
78 template<
typename HeadCommitIdT = Aws::String>
85 template<
typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
87 template<
typename RequestIdT = Aws::String>
93 bool m_refHasBeenSet =
false;
96 bool m_nameHasBeenSet =
false;
99 bool m_lastUpdatedTimeHasBeenSet =
false;
102 bool m_headCommitIdHasBeenSet =
false;
105 bool m_requestIdHasBeenSet =
false;
void SetName(NameT &&value)
const Aws::String & GetRef() const
CreateSourceRepositoryBranchResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
CreateSourceRepositoryBranchResult & WithRequestId(RequestIdT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_CODECATALYST_API CreateSourceRepositoryBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetHeadCommitId(HeadCommitIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
CreateSourceRepositoryBranchResult & WithHeadCommitId(HeadCommitIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
CreateSourceRepositoryBranchResult & WithRef(RefT &&value)
const Aws::String & GetHeadCommitId() const
CreateSourceRepositoryBranchResult & WithName(NameT &&value)
void SetRef(RefT &&value)
AWS_CODECATALYST_API CreateSourceRepositoryBranchResult()=default
AWS_CODECATALYST_API CreateSourceRepositoryBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue