AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReviewInformation.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/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SSM_API ReviewInformation();
41
42
44
47 inline const Aws::Utils::DateTime& GetReviewedTime() const{ return m_reviewedTime; }
48 inline bool ReviewedTimeHasBeenSet() const { return m_reviewedTimeHasBeenSet; }
49 inline void SetReviewedTime(const Aws::Utils::DateTime& value) { m_reviewedTimeHasBeenSet = true; m_reviewedTime = value; }
50 inline void SetReviewedTime(Aws::Utils::DateTime&& value) { m_reviewedTimeHasBeenSet = true; m_reviewedTime = std::move(value); }
51 inline ReviewInformation& WithReviewedTime(const Aws::Utils::DateTime& value) { SetReviewedTime(value); return *this;}
52 inline ReviewInformation& WithReviewedTime(Aws::Utils::DateTime&& value) { SetReviewedTime(std::move(value)); return *this;}
54
56
59 inline const ReviewStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const ReviewStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(ReviewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline ReviewInformation& WithStatus(const ReviewStatus& value) { SetStatus(value); return *this;}
64 inline ReviewInformation& WithStatus(ReviewStatus&& value) { SetStatus(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetReviewer() const{ return m_reviewer; }
72 inline bool ReviewerHasBeenSet() const { return m_reviewerHasBeenSet; }
73 inline void SetReviewer(const Aws::String& value) { m_reviewerHasBeenSet = true; m_reviewer = value; }
74 inline void SetReviewer(Aws::String&& value) { m_reviewerHasBeenSet = true; m_reviewer = std::move(value); }
75 inline void SetReviewer(const char* value) { m_reviewerHasBeenSet = true; m_reviewer.assign(value); }
76 inline ReviewInformation& WithReviewer(const Aws::String& value) { SetReviewer(value); return *this;}
77 inline ReviewInformation& WithReviewer(Aws::String&& value) { SetReviewer(std::move(value)); return *this;}
78 inline ReviewInformation& WithReviewer(const char* value) { SetReviewer(value); return *this;}
80 private:
81
82 Aws::Utils::DateTime m_reviewedTime;
83 bool m_reviewedTimeHasBeenSet = false;
84
85 ReviewStatus m_status;
86 bool m_statusHasBeenSet = false;
87
88 Aws::String m_reviewer;
89 bool m_reviewerHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SSM
94} // namespace Aws
ReviewInformation & WithStatus(ReviewStatus &&value)
const Aws::Utils::DateTime & GetReviewedTime() const
ReviewInformation & WithReviewedTime(const Aws::Utils::DateTime &value)
void SetReviewer(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReviewedTime(const Aws::Utils::DateTime &value)
void SetReviewedTime(Aws::Utils::DateTime &&value)
ReviewInformation & WithReviewer(const Aws::String &value)
void SetReviewer(Aws::String &&value)
AWS_SSM_API ReviewInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
ReviewInformation & WithReviewer(const char *value)
void SetStatus(const ReviewStatus &value)
ReviewInformation & WithStatus(const ReviewStatus &value)
ReviewInformation & WithReviewer(Aws::String &&value)
const Aws::String & GetReviewer() const
AWS_SSM_API ReviewInformation(Aws::Utils::Json::JsonView jsonValue)
const ReviewStatus & GetStatus() const
ReviewInformation & WithReviewedTime(Aws::Utils::DateTime &&value)
void SetStatus(ReviewStatus &&value)
void SetReviewer(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue