AWS SDK for C++
1.8.152
AWS SDK for C++
aws-cpp-sdk-codecommit
include
aws
codecommit
model
PostCommentForComparedCommitResult.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/codecommit/CodeCommit_EXPORTS.h
>
8
#include <
aws/core/utils/memory/stl/AWSString.h
>
9
#include <
aws/codecommit/model/Location.h
>
10
#include <
aws/codecommit/model/Comment.h
>
11
#include <utility>
12
13
namespace
Aws
14
{
15
template
<
typename
RESULT_TYPE>
16
class
AmazonWebServiceResult;
17
18
namespace
Utils
19
{
20
namespace
Json
21
{
22
class
JsonValue;
23
}
// namespace Json
24
}
// namespace Utils
25
namespace
CodeCommit
26
{
27
namespace
Model
28
{
29
class
AWS_CODECOMMIT_API
PostCommentForComparedCommitResult
30
{
31
public
:
32
PostCommentForComparedCommitResult
();
33
PostCommentForComparedCommitResult
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
34
PostCommentForComparedCommitResult
&
operator=
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
35
36
41
inline
const
Aws::String
&
GetRepositoryName
()
const
{
return
m_repositoryName; }
42
47
inline
void
SetRepositoryName
(
const
Aws::String
& value) { m_repositoryName = value; }
48
53
inline
void
SetRepositoryName
(
Aws::String
&& value) { m_repositoryName = std::move(value); }
54
59
inline
void
SetRepositoryName
(
const
char
* value) { m_repositoryName.assign(value); }
60
65
inline
PostCommentForComparedCommitResult
&
WithRepositoryName
(
const
Aws::String
& value) { SetRepositoryName(value);
return
*
this
;}
66
71
inline
PostCommentForComparedCommitResult
&
WithRepositoryName
(
Aws::String
&& value) { SetRepositoryName(std::move(value));
return
*
this
;}
72
77
inline
PostCommentForComparedCommitResult
&
WithRepositoryName
(
const
char
* value) { SetRepositoryName(value);
return
*
this
;}
78
79
84
inline
const
Aws::String
&
GetBeforeCommitId
()
const
{
return
m_beforeCommitId; }
85
90
inline
void
SetBeforeCommitId
(
const
Aws::String
& value) { m_beforeCommitId = value; }
91
96
inline
void
SetBeforeCommitId
(
Aws::String
&& value) { m_beforeCommitId = std::move(value); }
97
102
inline
void
SetBeforeCommitId
(
const
char
* value) { m_beforeCommitId.assign(value); }
103
108
inline
PostCommentForComparedCommitResult
&
WithBeforeCommitId
(
const
Aws::String
& value) { SetBeforeCommitId(value);
return
*
this
;}
109
114
inline
PostCommentForComparedCommitResult
&
WithBeforeCommitId
(
Aws::String
&& value) { SetBeforeCommitId(std::move(value));
return
*
this
;}
115
120
inline
PostCommentForComparedCommitResult
&
WithBeforeCommitId
(
const
char
* value) { SetBeforeCommitId(value);
return
*
this
;}
121
122
127
inline
const
Aws::String
&
GetAfterCommitId
()
const
{
return
m_afterCommitId; }
128
133
inline
void
SetAfterCommitId
(
const
Aws::String
& value) { m_afterCommitId = value; }
134
139
inline
void
SetAfterCommitId
(
Aws::String
&& value) { m_afterCommitId = std::move(value); }
140
145
inline
void
SetAfterCommitId
(
const
char
* value) { m_afterCommitId.assign(value); }
146
151
inline
PostCommentForComparedCommitResult
&
WithAfterCommitId
(
const
Aws::String
& value) { SetAfterCommitId(value);
return
*
this
;}
152
157
inline
PostCommentForComparedCommitResult
&
WithAfterCommitId
(
Aws::String
&& value) { SetAfterCommitId(std::move(value));
return
*
this
;}
158
163
inline
PostCommentForComparedCommitResult
&
WithAfterCommitId
(
const
char
* value) { SetAfterCommitId(value);
return
*
this
;}
164
165
169
inline
const
Aws::String
&
GetBeforeBlobId
()
const
{
return
m_beforeBlobId; }
170
174
inline
void
SetBeforeBlobId
(
const
Aws::String
& value) { m_beforeBlobId = value; }
175
179
inline
void
SetBeforeBlobId
(
Aws::String
&& value) { m_beforeBlobId = std::move(value); }
180
184
inline
void
SetBeforeBlobId
(
const
char
* value) { m_beforeBlobId.assign(value); }
185
189
inline
PostCommentForComparedCommitResult
&
WithBeforeBlobId
(
const
Aws::String
& value) { SetBeforeBlobId(value);
return
*
this
;}
190
194
inline
PostCommentForComparedCommitResult
&
WithBeforeBlobId
(
Aws::String
&& value) { SetBeforeBlobId(std::move(value));
return
*
this
;}
195
199
inline
PostCommentForComparedCommitResult
&
WithBeforeBlobId
(
const
char
* value) { SetBeforeBlobId(value);
return
*
this
;}
200
201
205
inline
const
Aws::String
&
GetAfterBlobId
()
const
{
return
m_afterBlobId; }
206
210
inline
void
SetAfterBlobId
(
const
Aws::String
& value) { m_afterBlobId = value; }
211
215
inline
void
SetAfterBlobId
(
Aws::String
&& value) { m_afterBlobId = std::move(value); }
216
220
inline
void
SetAfterBlobId
(
const
char
* value) { m_afterBlobId.assign(value); }
221
225
inline
PostCommentForComparedCommitResult
&
WithAfterBlobId
(
const
Aws::String
& value) { SetAfterBlobId(value);
return
*
this
;}
226
230
inline
PostCommentForComparedCommitResult
&
WithAfterBlobId
(
Aws::String
&& value) { SetAfterBlobId(std::move(value));
return
*
this
;}
231
235
inline
PostCommentForComparedCommitResult
&
WithAfterBlobId
(
const
char
* value) { SetAfterBlobId(value);
return
*
this
;}
236
237
241
inline
const
Location
&
GetLocation
()
const
{
return
m_location; }
242
246
inline
void
SetLocation
(
const
Location
& value) { m_location = value; }
247
251
inline
void
SetLocation
(
Location
&& value) { m_location = std::move(value); }
252
256
inline
PostCommentForComparedCommitResult
&
WithLocation
(
const
Location
& value) { SetLocation(value);
return
*
this
;}
257
261
inline
PostCommentForComparedCommitResult
&
WithLocation
(
Location
&& value) { SetLocation(std::move(value));
return
*
this
;}
262
263
267
inline
const
Comment
&
GetComment
()
const
{
return
m_comment; }
268
272
inline
void
SetComment
(
const
Comment
& value) { m_comment = value; }
273
277
inline
void
SetComment
(
Comment
&& value) { m_comment = std::move(value); }
278
282
inline
PostCommentForComparedCommitResult
&
WithComment
(
const
Comment
& value) { SetComment(value);
return
*
this
;}
283
287
inline
PostCommentForComparedCommitResult
&
WithComment
(
Comment
&& value) { SetComment(std::move(value));
return
*
this
;}
288
289
private
:
290
291
Aws::String
m_repositoryName;
292
293
Aws::String
m_beforeCommitId;
294
295
Aws::String
m_afterCommitId;
296
297
Aws::String
m_beforeBlobId;
298
299
Aws::String
m_afterBlobId;
300
301
Location
m_location;
302
303
Comment
m_comment;
304
};
305
306
}
// namespace Model
307
}
// namespace CodeCommit
308
}
// namespace Aws
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetBeforeBlobId
void SetBeforeBlobId(const char *value)
Definition:
PostCommentForComparedCommitResult.h:184
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetAfterCommitId
void SetAfterCommitId(const char *value)
Definition:
PostCommentForComparedCommitResult.h:145
Aws::AmazonWebServiceResult
Definition:
AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetComment
void SetComment(const Comment &value)
Definition:
PostCommentForComparedCommitResult.h:272
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithComment
PostCommentForComparedCommitResult & WithComment(const Comment &value)
Definition:
PostCommentForComparedCommitResult.h:282
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetAfterBlobId
void SetAfterBlobId(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:210
Aws::CodeCommit::Model::Comment
Definition:
Comment.h:35
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithBeforeBlobId
PostCommentForComparedCommitResult & WithBeforeBlobId(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:189
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetLocation
void SetLocation(const Location &value)
Definition:
PostCommentForComparedCommitResult.h:246
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetRepositoryName
void SetRepositoryName(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:47
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetBeforeCommitId
void SetBeforeCommitId(const char *value)
Definition:
PostCommentForComparedCommitResult.h:102
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithRepositoryName
PostCommentForComparedCommitResult & WithRepositoryName(const char *value)
Definition:
PostCommentForComparedCommitResult.h:77
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetBeforeBlobId
void SetBeforeBlobId(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:179
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::GetLocation
const Location & GetLocation() const
Definition:
PostCommentForComparedCommitResult.h:241
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetAfterBlobId
void SetAfterBlobId(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:215
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithAfterCommitId
PostCommentForComparedCommitResult & WithAfterCommitId(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:157
Aws::CodeCommit::Model::PostCommentForComparedCommitResult
Definition:
PostCommentForComparedCommitResult.h:30
Comment.h
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetLocation
void SetLocation(Location &&value)
Definition:
PostCommentForComparedCommitResult.h:251
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::GetAfterCommitId
const Aws::String & GetAfterCommitId() const
Definition:
PostCommentForComparedCommitResult.h:127
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithLocation
PostCommentForComparedCommitResult & WithLocation(Location &&value)
Definition:
PostCommentForComparedCommitResult.h:261
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetBeforeCommitId
void SetBeforeCommitId(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:90
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::operator=
PostCommentForComparedCommitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithAfterCommitId
PostCommentForComparedCommitResult & WithAfterCommitId(const char *value)
Definition:
PostCommentForComparedCommitResult.h:163
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithRepositoryName
PostCommentForComparedCommitResult & WithRepositoryName(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:71
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetRepositoryName
void SetRepositoryName(const char *value)
Definition:
PostCommentForComparedCommitResult.h:59
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetRepositoryName
void SetRepositoryName(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:53
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::PostCommentForComparedCommitResult
PostCommentForComparedCommitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::GetAfterBlobId
const Aws::String & GetAfterBlobId() const
Definition:
PostCommentForComparedCommitResult.h:205
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetAfterBlobId
void SetAfterBlobId(const char *value)
Definition:
PostCommentForComparedCommitResult.h:220
AWSString.h
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithAfterBlobId
PostCommentForComparedCommitResult & WithAfterBlobId(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:230
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition:
CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetBeforeBlobId
void SetBeforeBlobId(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:174
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithAfterBlobId
PostCommentForComparedCommitResult & WithAfterBlobId(const char *value)
Definition:
PostCommentForComparedCommitResult.h:235
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetAfterCommitId
void SetAfterCommitId(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:133
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::GetComment
const Comment & GetComment() const
Definition:
PostCommentForComparedCommitResult.h:267
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetComment
void SetComment(Comment &&value)
Definition:
PostCommentForComparedCommitResult.h:277
Aws::CodeCommit::Model::Location
Definition:
Location.h:34
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetAfterCommitId
void SetAfterCommitId(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:139
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithBeforeBlobId
PostCommentForComparedCommitResult & WithBeforeBlobId(const char *value)
Definition:
PostCommentForComparedCommitResult.h:199
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::SetBeforeCommitId
void SetBeforeCommitId(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:96
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithComment
PostCommentForComparedCommitResult & WithComment(Comment &&value)
Definition:
PostCommentForComparedCommitResult.h:287
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithBeforeBlobId
PostCommentForComparedCommitResult & WithBeforeBlobId(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:194
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithLocation
PostCommentForComparedCommitResult & WithLocation(const Location &value)
Definition:
PostCommentForComparedCommitResult.h:256
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithAfterCommitId
PostCommentForComparedCommitResult & WithAfterCommitId(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:151
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithAfterBlobId
PostCommentForComparedCommitResult & WithAfterBlobId(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:225
Aws
Definition:
AccessManagementClient.h:15
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithBeforeCommitId
PostCommentForComparedCommitResult & WithBeforeCommitId(Aws::String &&value)
Definition:
PostCommentForComparedCommitResult.h:114
Location.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::GetRepositoryName
const Aws::String & GetRepositoryName() const
Definition:
PostCommentForComparedCommitResult.h:41
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::GetBeforeBlobId
const Aws::String & GetBeforeBlobId() const
Definition:
PostCommentForComparedCommitResult.h:169
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::PostCommentForComparedCommitResult
PostCommentForComparedCommitResult()
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithRepositoryName
PostCommentForComparedCommitResult & WithRepositoryName(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:65
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::GetBeforeCommitId
const Aws::String & GetBeforeCommitId() const
Definition:
PostCommentForComparedCommitResult.h:84
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithBeforeCommitId
PostCommentForComparedCommitResult & WithBeforeCommitId(const Aws::String &value)
Definition:
PostCommentForComparedCommitResult.h:108
Aws::CodeCommit::Model::PostCommentForComparedCommitResult::WithBeforeCommitId
PostCommentForComparedCommitResult & WithBeforeCommitId(const char *value)
Definition:
PostCommentForComparedCommitResult.h:120
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences