AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListCommentsItem.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityIR
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SECURITYIR_API ListCommentsItem() = default;
36 AWS_SECURITYIR_API ListCommentsItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCommentId() const { return m_commentId; }
46 inline bool CommentIdHasBeenSet() const { return m_commentIdHasBeenSet; }
47 template<typename CommentIdT = Aws::String>
48 void SetCommentId(CommentIdT&& value) { m_commentIdHasBeenSet = true; m_commentId = std::forward<CommentIdT>(value); }
49 template<typename CommentIdT = Aws::String>
50 ListCommentsItem& WithCommentId(CommentIdT&& value) { SetCommentId(std::forward<CommentIdT>(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
58 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
59 template<typename CreatedDateT = Aws::Utils::DateTime>
60 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
61 template<typename CreatedDateT = Aws::Utils::DateTime>
62 ListCommentsItem& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
70 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
71 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
72 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
73 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
74 ListCommentsItem& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
76
78
81 inline const Aws::String& GetCreator() const { return m_creator; }
82 inline bool CreatorHasBeenSet() const { return m_creatorHasBeenSet; }
83 template<typename CreatorT = Aws::String>
84 void SetCreator(CreatorT&& value) { m_creatorHasBeenSet = true; m_creator = std::forward<CreatorT>(value); }
85 template<typename CreatorT = Aws::String>
86 ListCommentsItem& WithCreator(CreatorT&& value) { SetCreator(std::forward<CreatorT>(value)); return *this;}
88
90
93 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
94 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
95 template<typename LastUpdatedByT = Aws::String>
96 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
97 template<typename LastUpdatedByT = Aws::String>
98 ListCommentsItem& WithLastUpdatedBy(LastUpdatedByT&& value) { SetLastUpdatedBy(std::forward<LastUpdatedByT>(value)); return *this;}
100
102
105 inline const Aws::String& GetBody() const { return m_body; }
106 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
107 template<typename BodyT = Aws::String>
108 void SetBody(BodyT&& value) { m_bodyHasBeenSet = true; m_body = std::forward<BodyT>(value); }
109 template<typename BodyT = Aws::String>
110 ListCommentsItem& WithBody(BodyT&& value) { SetBody(std::forward<BodyT>(value)); return *this;}
112 private:
113
114 Aws::String m_commentId;
115 bool m_commentIdHasBeenSet = false;
116
117 Aws::Utils::DateTime m_createdDate{};
118 bool m_createdDateHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastUpdatedDate{};
121 bool m_lastUpdatedDateHasBeenSet = false;
122
123 Aws::String m_creator;
124 bool m_creatorHasBeenSet = false;
125
126 Aws::String m_lastUpdatedBy;
127 bool m_lastUpdatedByHasBeenSet = false;
128
129 Aws::String m_body;
130 bool m_bodyHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace SecurityIR
135} // namespace Aws
const Aws::String & GetLastUpdatedBy() const
AWS_SECURITYIR_API ListCommentsItem()=default
AWS_SECURITYIR_API ListCommentsItem(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYIR_API ListCommentsItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
ListCommentsItem & WithLastUpdatedDate(LastUpdatedDateT &&value)
void SetCreatedDate(CreatedDateT &&value)
ListCommentsItem & WithBody(BodyT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
ListCommentsItem & WithCommentId(CommentIdT &&value)
ListCommentsItem & WithCreatedDate(CreatedDateT &&value)
void SetLastUpdatedBy(LastUpdatedByT &&value)
const Aws::String & GetCreator() const
const Aws::String & GetCommentId() const
ListCommentsItem & WithCreator(CreatorT &&value)
ListCommentsItem & WithLastUpdatedBy(LastUpdatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue