AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DocumentReviewerResponseSource.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/ssm/model/ReviewStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ssm/model/DocumentReviewCommentSource.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SSM
26{
27namespace Model
28{
29
37 {
38 public:
43
44
46
50 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
51 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
52 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
53 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
55 inline DocumentReviewerResponseSource& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetUpdatedTime() const{ return m_updatedTime; }
64 inline bool UpdatedTimeHasBeenSet() const { return m_updatedTimeHasBeenSet; }
65 inline void SetUpdatedTime(const Aws::Utils::DateTime& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = value; }
66 inline void SetUpdatedTime(Aws::Utils::DateTime&& value) { m_updatedTimeHasBeenSet = true; m_updatedTime = std::move(value); }
68 inline DocumentReviewerResponseSource& WithUpdatedTime(Aws::Utils::DateTime&& value) { SetUpdatedTime(std::move(value)); return *this;}
70
72
80 inline const ReviewStatus& GetReviewStatus() const{ return m_reviewStatus; }
81 inline bool ReviewStatusHasBeenSet() const { return m_reviewStatusHasBeenSet; }
82 inline void SetReviewStatus(const ReviewStatus& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = value; }
83 inline void SetReviewStatus(ReviewStatus&& value) { m_reviewStatusHasBeenSet = true; m_reviewStatus = std::move(value); }
84 inline DocumentReviewerResponseSource& WithReviewStatus(const ReviewStatus& value) { SetReviewStatus(value); return *this;}
85 inline DocumentReviewerResponseSource& WithReviewStatus(ReviewStatus&& value) { SetReviewStatus(std::move(value)); return *this;}
87
89
93 inline const Aws::Vector<DocumentReviewCommentSource>& GetComment() const{ return m_comment; }
94 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
95 inline void SetComment(const Aws::Vector<DocumentReviewCommentSource>& value) { m_commentHasBeenSet = true; m_comment = value; }
96 inline void SetComment(Aws::Vector<DocumentReviewCommentSource>&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
99 inline DocumentReviewerResponseSource& AddComment(const DocumentReviewCommentSource& value) { m_commentHasBeenSet = true; m_comment.push_back(value); return *this; }
100 inline DocumentReviewerResponseSource& AddComment(DocumentReviewCommentSource&& value) { m_commentHasBeenSet = true; m_comment.push_back(std::move(value)); return *this; }
102
104
107 inline const Aws::String& GetReviewer() const{ return m_reviewer; }
108 inline bool ReviewerHasBeenSet() const { return m_reviewerHasBeenSet; }
109 inline void SetReviewer(const Aws::String& value) { m_reviewerHasBeenSet = true; m_reviewer = value; }
110 inline void SetReviewer(Aws::String&& value) { m_reviewerHasBeenSet = true; m_reviewer = std::move(value); }
111 inline void SetReviewer(const char* value) { m_reviewerHasBeenSet = true; m_reviewer.assign(value); }
112 inline DocumentReviewerResponseSource& WithReviewer(const Aws::String& value) { SetReviewer(value); return *this;}
113 inline DocumentReviewerResponseSource& WithReviewer(Aws::String&& value) { SetReviewer(std::move(value)); return *this;}
114 inline DocumentReviewerResponseSource& WithReviewer(const char* value) { SetReviewer(value); return *this;}
116 private:
117
118 Aws::Utils::DateTime m_createTime;
119 bool m_createTimeHasBeenSet = false;
120
121 Aws::Utils::DateTime m_updatedTime;
122 bool m_updatedTimeHasBeenSet = false;
123
124 ReviewStatus m_reviewStatus;
125 bool m_reviewStatusHasBeenSet = false;
126
128 bool m_commentHasBeenSet = false;
129
130 Aws::String m_reviewer;
131 bool m_reviewerHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace SSM
136} // namespace Aws
DocumentReviewerResponseSource & WithCreateTime(const Aws::Utils::DateTime &value)
AWS_SSM_API DocumentReviewerResponseSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DocumentReviewCommentSource > & GetComment() const
DocumentReviewerResponseSource & AddComment(const DocumentReviewCommentSource &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentReviewerResponseSource & WithReviewStatus(ReviewStatus &&value)
DocumentReviewerResponseSource & WithReviewer(const Aws::String &value)
void SetComment(const Aws::Vector< DocumentReviewCommentSource > &value)
DocumentReviewerResponseSource & WithReviewer(const char *value)
void SetComment(Aws::Vector< DocumentReviewCommentSource > &&value)
DocumentReviewerResponseSource & WithUpdatedTime(Aws::Utils::DateTime &&value)
DocumentReviewerResponseSource & WithCreateTime(Aws::Utils::DateTime &&value)
DocumentReviewerResponseSource & WithUpdatedTime(const Aws::Utils::DateTime &value)
AWS_SSM_API DocumentReviewerResponseSource(Aws::Utils::Json::JsonView jsonValue)
DocumentReviewerResponseSource & WithComment(const Aws::Vector< DocumentReviewCommentSource > &value)
DocumentReviewerResponseSource & WithReviewer(Aws::String &&value)
DocumentReviewerResponseSource & WithComment(Aws::Vector< DocumentReviewCommentSource > &&value)
DocumentReviewerResponseSource & AddComment(DocumentReviewCommentSource &&value)
DocumentReviewerResponseSource & WithReviewStatus(const ReviewStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue