AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
EvaluationReviewRequestComment.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API EvaluationReviewRequestComment() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetComment() const { return m_comment; }
41 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
42 template <typename CommentT = Aws::String>
43 void SetComment(CommentT&& value) {
44 m_commentHasBeenSet = true;
45 m_comment = std::forward<CommentT>(value);
46 }
47 template <typename CommentT = Aws::String>
49 SetComment(std::forward<CommentT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
59 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
60 template <typename CreatedTimeT = Aws::Utils::DateTime>
61 void SetCreatedTime(CreatedTimeT&& value) {
62 m_createdTimeHasBeenSet = true;
63 m_createdTime = std::forward<CreatedTimeT>(value);
64 }
65 template <typename CreatedTimeT = Aws::Utils::DateTime>
67 SetCreatedTime(std::forward<CreatedTimeT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
77 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
78 template <typename CreatedByT = Aws::String>
79 void SetCreatedBy(CreatedByT&& value) {
80 m_createdByHasBeenSet = true;
81 m_createdBy = std::forward<CreatedByT>(value);
82 }
83 template <typename CreatedByT = Aws::String>
85 SetCreatedBy(std::forward<CreatedByT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_comment;
91
92 Aws::Utils::DateTime m_createdTime{};
93
94 Aws::String m_createdBy;
95 bool m_commentHasBeenSet = false;
96 bool m_createdTimeHasBeenSet = false;
97 bool m_createdByHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Connect
102} // namespace Aws
AWS_CONNECT_API EvaluationReviewRequestComment()=default
EvaluationReviewRequestComment & WithCreatedTime(CreatedTimeT &&value)
AWS_CONNECT_API EvaluationReviewRequestComment(Aws::Utils::Json::JsonView jsonValue)
EvaluationReviewRequestComment & WithComment(CommentT &&value)
EvaluationReviewRequestComment & WithCreatedBy(CreatedByT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API EvaluationReviewRequestComment & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue