AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PostCommentReplyRequest.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace CodeCommit
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODECOMMIT_API PostCommentReplyRequest();
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_CODECOMMIT_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetInReplyTo() const{ return m_inReplyTo; }
45 inline bool InReplyToHasBeenSet() const { return m_inReplyToHasBeenSet; }
46 inline void SetInReplyTo(const Aws::String& value) { m_inReplyToHasBeenSet = true; m_inReplyTo = value; }
47 inline void SetInReplyTo(Aws::String&& value) { m_inReplyToHasBeenSet = true; m_inReplyTo = std::move(value); }
48 inline void SetInReplyTo(const char* value) { m_inReplyToHasBeenSet = true; m_inReplyTo.assign(value); }
49 inline PostCommentReplyRequest& WithInReplyTo(const Aws::String& value) { SetInReplyTo(value); return *this;}
50 inline PostCommentReplyRequest& WithInReplyTo(Aws::String&& value) { SetInReplyTo(std::move(value)); return *this;}
51 inline PostCommentReplyRequest& WithInReplyTo(const char* value) { SetInReplyTo(value); return *this;}
53
55
61 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
62 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
63 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
64 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
65 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
67 inline PostCommentReplyRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
68 inline PostCommentReplyRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
70
72
75 inline const Aws::String& GetContent() const{ return m_content; }
76 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
77 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
78 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
79 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
80 inline PostCommentReplyRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
81 inline PostCommentReplyRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
82 inline PostCommentReplyRequest& WithContent(const char* value) { SetContent(value); return *this;}
84 private:
85
86 Aws::String m_inReplyTo;
87 bool m_inReplyToHasBeenSet = false;
88
89 Aws::String m_clientRequestToken;
90 bool m_clientRequestTokenHasBeenSet = false;
91
92 Aws::String m_content;
93 bool m_contentHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodeCommit
98} // namespace Aws
PostCommentReplyRequest & WithClientRequestToken(Aws::String &&value)
void SetInReplyTo(const char *value)
void SetClientRequestToken(const char *value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetClientRequestToken(Aws::String &&value)
void SetClientRequestToken(const Aws::String &value)
PostCommentReplyRequest & WithContent(const char *value)
const Aws::String & GetInReplyTo() const
PostCommentReplyRequest & WithInReplyTo(const char *value)
PostCommentReplyRequest & WithInReplyTo(const Aws::String &value)
void SetInReplyTo(Aws::String &&value)
void SetContent(const Aws::String &value)
AWS_CODECOMMIT_API PostCommentReplyRequest()
bool InReplyToHasBeenSet() const
void SetContent(Aws::String &&value)
PostCommentReplyRequest & WithContent(const Aws::String &value)
bool ContentHasBeenSet() const
void SetInReplyTo(const Aws::String &value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ClientRequestTokenHasBeenSet() const
void SetContent(const char *value)
PostCommentReplyRequest & WithClientRequestToken(const char *value)
virtual const char * GetServiceRequestName() const override
PostCommentReplyRequest & WithClientRequestToken(const Aws::String &value)
PostCommentReplyRequest & WithContent(Aws::String &&value)
const Aws::String & GetClientRequestToken() const
const Aws::String & GetContent() const
PostCommentReplyRequest & WithInReplyTo(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String