AWS SDK for C++  1.8.129
AWS SDK for C++
PostCommentReplyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace CodeCommit
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "PostCommentReply"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetInReplyTo() const{ return m_inReplyTo; }
44 
50  inline bool InReplyToHasBeenSet() const { return m_inReplyToHasBeenSet; }
51 
57  inline void SetInReplyTo(const Aws::String& value) { m_inReplyToHasBeenSet = true; m_inReplyTo = value; }
58 
64  inline void SetInReplyTo(Aws::String&& value) { m_inReplyToHasBeenSet = true; m_inReplyTo = std::move(value); }
65 
71  inline void SetInReplyTo(const char* value) { m_inReplyToHasBeenSet = true; m_inReplyTo.assign(value); }
72 
78  inline PostCommentReplyRequest& WithInReplyTo(const Aws::String& value) { SetInReplyTo(value); return *this;}
79 
85  inline PostCommentReplyRequest& WithInReplyTo(Aws::String&& value) { SetInReplyTo(std::move(value)); return *this;}
86 
92  inline PostCommentReplyRequest& WithInReplyTo(const char* value) { SetInReplyTo(value); return *this;}
93 
94 
101  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
102 
109  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
110 
117  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
118 
125  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
126 
133  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
134 
141  inline PostCommentReplyRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
142 
149  inline PostCommentReplyRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
150 
157  inline PostCommentReplyRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
158 
159 
163  inline const Aws::String& GetContent() const{ return m_content; }
164 
168  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
169 
173  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
174 
178  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
179 
183  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
184 
188  inline PostCommentReplyRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
189 
193  inline PostCommentReplyRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
194 
198  inline PostCommentReplyRequest& WithContent(const char* value) { SetContent(value); return *this;}
199 
200  private:
201 
202  Aws::String m_inReplyTo;
203  bool m_inReplyToHasBeenSet;
204 
205  Aws::String m_clientRequestToken;
206  bool m_clientRequestTokenHasBeenSet;
207 
208  Aws::String m_content;
209  bool m_contentHasBeenSet;
210  };
211 
212 } // namespace Model
213 } // namespace CodeCommit
214 } // namespace Aws
Aws::CodeCommit::Model::PostCommentReplyRequest::WithClientRequestToken
PostCommentReplyRequest & WithClientRequestToken(const char *value)
Definition: PostCommentReplyRequest.h:157
Aws::CodeCommit::Model::PostCommentReplyRequest::WithInReplyTo
PostCommentReplyRequest & WithInReplyTo(const Aws::String &value)
Definition: PostCommentReplyRequest.h:78
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::PostCommentReplyRequest::GetContent
const Aws::String & GetContent() const
Definition: PostCommentReplyRequest.h:163
Aws::CodeCommit::Model::PostCommentReplyRequest::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: PostCommentReplyRequest.h:168
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CodeCommit::Model::PostCommentReplyRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodeCommit::Model::PostCommentReplyRequest::WithContent
PostCommentReplyRequest & WithContent(const char *value)
Definition: PostCommentReplyRequest.h:198
Aws::CodeCommit::Model::PostCommentReplyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PostCommentReplyRequest.h:31
Aws::CodeCommit::Model::PostCommentReplyRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: PostCommentReplyRequest.h:109
Aws::CodeCommit::Model::PostCommentReplyRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: PostCommentReplyRequest.h:133
Aws::CodeCommit::Model::PostCommentReplyRequest::SetContent
void SetContent(const char *value)
Definition: PostCommentReplyRequest.h:183
Aws::CodeCommit::Model::PostCommentReplyRequest::SetContent
void SetContent(const Aws::String &value)
Definition: PostCommentReplyRequest.h:173
Aws::CodeCommit::CodeCommitRequest
Definition: CodeCommitRequest.h:17
Aws::CodeCommit::Model::PostCommentReplyRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: PostCommentReplyRequest.h:125
Aws::CodeCommit::Model::PostCommentReplyRequest::WithInReplyTo
PostCommentReplyRequest & WithInReplyTo(Aws::String &&value)
Definition: PostCommentReplyRequest.h:85
Aws::CodeCommit::Model::PostCommentReplyRequest::SerializePayload
Aws::String SerializePayload() const override
CodeCommitRequest.h
Aws::CodeCommit::Model::PostCommentReplyRequest::SetContent
void SetContent(Aws::String &&value)
Definition: PostCommentReplyRequest.h:178
Aws::CodeCommit::Model::PostCommentReplyRequest::SetInReplyTo
void SetInReplyTo(const char *value)
Definition: PostCommentReplyRequest.h:71
Aws::CodeCommit::Model::PostCommentReplyRequest
Definition: PostCommentReplyRequest.h:23
Aws::CodeCommit::Model::PostCommentReplyRequest::PostCommentReplyRequest
PostCommentReplyRequest()
Aws::CodeCommit::Model::PostCommentReplyRequest::WithContent
PostCommentReplyRequest & WithContent(Aws::String &&value)
Definition: PostCommentReplyRequest.h:193
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::PostCommentReplyRequest::WithContent
PostCommentReplyRequest & WithContent(const Aws::String &value)
Definition: PostCommentReplyRequest.h:188
Aws::CodeCommit::Model::PostCommentReplyRequest::WithInReplyTo
PostCommentReplyRequest & WithInReplyTo(const char *value)
Definition: PostCommentReplyRequest.h:92
Aws::CodeCommit::Model::PostCommentReplyRequest::InReplyToHasBeenSet
bool InReplyToHasBeenSet() const
Definition: PostCommentReplyRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::PostCommentReplyRequest::WithClientRequestToken
PostCommentReplyRequest & WithClientRequestToken(Aws::String &&value)
Definition: PostCommentReplyRequest.h:149
Aws::CodeCommit::Model::PostCommentReplyRequest::SetInReplyTo
void SetInReplyTo(Aws::String &&value)
Definition: PostCommentReplyRequest.h:64
Aws::CodeCommit::Model::PostCommentReplyRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: PostCommentReplyRequest.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::PostCommentReplyRequest::GetInReplyTo
const Aws::String & GetInReplyTo() const
Definition: PostCommentReplyRequest.h:43
UUID.h
Aws::CodeCommit::Model::PostCommentReplyRequest::WithClientRequestToken
PostCommentReplyRequest & WithClientRequestToken(const Aws::String &value)
Definition: PostCommentReplyRequest.h:141
Aws::CodeCommit::Model::PostCommentReplyRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: PostCommentReplyRequest.h:117
Aws::CodeCommit::Model::PostCommentReplyRequest::SetInReplyTo
void SetInReplyTo(const Aws::String &value)
Definition: PostCommentReplyRequest.h:57