7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/model/DiffHunk.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
41 template <
typename HunksT = Aws::Vector<DiffHunk>>
43 m_hunksHasBeenSet =
true;
44 m_hunks = std::forward<HunksT>(value);
46 template <
typename HunksT = Aws::Vector<DiffHunk>>
48 SetHunks(std::forward<HunksT>(value));
51 template <
typename HunksT = DiffHunk>
53 m_hunksHasBeenSet =
true;
54 m_hunks.emplace_back(std::forward<HunksT>(value));
67 m_isBinaryHasBeenSet =
true;
83 m_beforeBlobSizeHasBeenSet =
true;
84 m_beforeBlobSize = value;
98 m_afterBlobSizeHasBeenSet =
true;
99 m_afterBlobSize = value;
114 template <
typename NextTokenT = Aws::String>
116 m_nextTokenHasBeenSet =
true;
117 m_nextToken = std::forward<NextTokenT>(value);
119 template <
typename NextTokenT = Aws::String>
129 template <
typename RequestIdT = Aws::String>
131 m_requestIdHasBeenSet =
true;
132 m_requestId = std::forward<RequestIdT>(value);
134 template <
typename RequestIdT = Aws::String>
145 bool m_isBinary{
false};
147 long long m_beforeBlobSize{0};
149 long long m_afterBlobSize{0};
155 bool m_hunksHasBeenSet =
false;
156 bool m_isBinaryHasBeenSet =
false;
157 bool m_beforeBlobSizeHasBeenSet =
false;
158 bool m_afterBlobSizeHasBeenSet =
false;
159 bool m_nextTokenHasBeenSet =
false;
160 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
GetBlobDifferencesResult & WithRequestId(RequestIdT &&value)
void SetAfterBlobSize(long long value)
GetBlobDifferencesResult & WithBeforeBlobSize(long long value)
GetBlobDifferencesResult & WithIsBinary(bool value)
long long GetAfterBlobSize() const
const Aws::Vector< DiffHunk > & GetHunks() const
void SetNextToken(NextTokenT &&value)
GetBlobDifferencesResult & WithNextToken(NextTokenT &&value)
long long GetBeforeBlobSize() const
void SetBeforeBlobSize(long long value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetBlobDifferencesResult & WithAfterBlobSize(long long value)
GetBlobDifferencesResult & WithHunks(HunksT &&value)
AWS_CODECOMMIT_API GetBlobDifferencesResult()=default
void SetHunks(HunksT &&value)
void SetIsBinary(bool value)
GetBlobDifferencesResult & AddHunks(HunksT &&value)
const Aws::String & GetNextToken() const
AWS_CODECOMMIT_API GetBlobDifferencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECOMMIT_API GetBlobDifferencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue