AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSourceRepositoryBranchResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeCatalyst
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODECATALYST_API CreateSourceRepositoryBranchResult();
34
35
37
40 inline const Aws::String& GetRef() const{ return m_ref; }
41 inline void SetRef(const Aws::String& value) { m_ref = value; }
42 inline void SetRef(Aws::String&& value) { m_ref = std::move(value); }
43 inline void SetRef(const char* value) { m_ref.assign(value); }
44 inline CreateSourceRepositoryBranchResult& WithRef(const Aws::String& value) { SetRef(value); return *this;}
45 inline CreateSourceRepositoryBranchResult& WithRef(Aws::String&& value) { SetRef(std::move(value)); return *this;}
46 inline CreateSourceRepositoryBranchResult& WithRef(const char* value) { SetRef(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline CreateSourceRepositoryBranchResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline CreateSourceRepositoryBranchResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline CreateSourceRepositoryBranchResult& WithName(const char* value) { SetName(value); return *this;}
61
63
68 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
69 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
70 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
74
76
79 inline const Aws::String& GetHeadCommitId() const{ return m_headCommitId; }
80 inline void SetHeadCommitId(const Aws::String& value) { m_headCommitId = value; }
81 inline void SetHeadCommitId(Aws::String&& value) { m_headCommitId = std::move(value); }
82 inline void SetHeadCommitId(const char* value) { m_headCommitId.assign(value); }
84 inline CreateSourceRepositoryBranchResult& WithHeadCommitId(Aws::String&& value) { SetHeadCommitId(std::move(value)); return *this;}
85 inline CreateSourceRepositoryBranchResult& WithHeadCommitId(const char* value) { SetHeadCommitId(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline CreateSourceRepositoryBranchResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline CreateSourceRepositoryBranchResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline CreateSourceRepositoryBranchResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_ref;
101
102 Aws::String m_name;
103
104 Aws::Utils::DateTime m_lastUpdatedTime;
105
106 Aws::String m_headCommitId;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace CodeCatalyst
113} // namespace Aws
CreateSourceRepositoryBranchResult & WithName(const char *value)
CreateSourceRepositoryBranchResult & WithRef(Aws::String &&value)
CreateSourceRepositoryBranchResult & WithRequestId(Aws::String &&value)
CreateSourceRepositoryBranchResult & WithRef(const Aws::String &value)
AWS_CODECATALYST_API CreateSourceRepositoryBranchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSourceRepositoryBranchResult & WithHeadCommitId(const Aws::String &value)
CreateSourceRepositoryBranchResult & WithHeadCommitId(Aws::String &&value)
CreateSourceRepositoryBranchResult & WithHeadCommitId(const char *value)
CreateSourceRepositoryBranchResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
CreateSourceRepositoryBranchResult & WithName(Aws::String &&value)
CreateSourceRepositoryBranchResult & WithName(const Aws::String &value)
AWS_CODECATALYST_API CreateSourceRepositoryBranchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSourceRepositoryBranchResult & WithRequestId(const char *value)
CreateSourceRepositoryBranchResult & WithRef(const char *value)
CreateSourceRepositoryBranchResult & WithRequestId(const Aws::String &value)
CreateSourceRepositoryBranchResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue