AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisReportSummary.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/pi/model/AnalysisStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/pi/model/Tag.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 PI
26{
27namespace Model
28{
29
37 {
38 public:
43
44
46
49 inline const Aws::String& GetAnalysisReportId() const{ return m_analysisReportId; }
50 inline bool AnalysisReportIdHasBeenSet() const { return m_analysisReportIdHasBeenSet; }
51 inline void SetAnalysisReportId(const Aws::String& value) { m_analysisReportIdHasBeenSet = true; m_analysisReportId = value; }
52 inline void SetAnalysisReportId(Aws::String&& value) { m_analysisReportIdHasBeenSet = true; m_analysisReportId = std::move(value); }
53 inline void SetAnalysisReportId(const char* value) { m_analysisReportIdHasBeenSet = true; m_analysisReportId.assign(value); }
54 inline AnalysisReportSummary& WithAnalysisReportId(const Aws::String& value) { SetAnalysisReportId(value); return *this;}
55 inline AnalysisReportSummary& WithAnalysisReportId(Aws::String&& value) { SetAnalysisReportId(std::move(value)); return *this;}
56 inline AnalysisReportSummary& WithAnalysisReportId(const char* value) { SetAnalysisReportId(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
64 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
65 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
66 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
67 inline AnalysisReportSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
68 inline AnalysisReportSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
76 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
77 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
78 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
79 inline AnalysisReportSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
80 inline AnalysisReportSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
88 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
89 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
90 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
91 inline AnalysisReportSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
92 inline AnalysisReportSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
94
96
99 inline const AnalysisStatus& GetStatus() const{ return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(const AnalysisStatus& value) { m_statusHasBeenSet = true; m_status = value; }
102 inline void SetStatus(AnalysisStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 inline AnalysisReportSummary& WithStatus(const AnalysisStatus& value) { SetStatus(value); return *this;}
104 inline AnalysisReportSummary& WithStatus(AnalysisStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
111 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
112 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
114 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
115 inline AnalysisReportSummary& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
116 inline AnalysisReportSummary& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
117 inline AnalysisReportSummary& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
118 inline AnalysisReportSummary& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
120 private:
121
122 Aws::String m_analysisReportId;
123 bool m_analysisReportIdHasBeenSet = false;
124
125 Aws::Utils::DateTime m_createTime;
126 bool m_createTimeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_startTime;
129 bool m_startTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_endTime;
132 bool m_endTimeHasBeenSet = false;
133
134 AnalysisStatus m_status;
135 bool m_statusHasBeenSet = false;
136
137 Aws::Vector<Tag> m_tags;
138 bool m_tagsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace PI
143} // namespace Aws
void SetTags(Aws::Vector< Tag > &&value)
AnalysisReportSummary & WithTags(const Aws::Vector< Tag > &value)
AnalysisReportSummary & WithCreateTime(Aws::Utils::DateTime &&value)
AnalysisReportSummary & WithAnalysisReportId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
AWS_PI_API AnalysisReportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreateTime(const Aws::Utils::DateTime &value)
AnalysisReportSummary & WithTags(Aws::Vector< Tag > &&value)
void SetStatus(const AnalysisStatus &value)
void SetEndTime(Aws::Utils::DateTime &&value)
AnalysisReportSummary & WithStatus(const AnalysisStatus &value)
void SetAnalysisReportId(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
AnalysisReportSummary & WithStatus(AnalysisStatus &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAnalysisReportId() const
AnalysisReportSummary & WithCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreateTime() const
const AnalysisStatus & GetStatus() const
AnalysisReportSummary & WithAnalysisReportId(const char *value)
AnalysisReportSummary & WithEndTime(const Aws::Utils::DateTime &value)
void SetStartTime(Aws::Utils::DateTime &&value)
AnalysisReportSummary & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
AnalysisReportSummary & AddTags(const Tag &value)
AnalysisReportSummary & AddTags(Tag &&value)
void SetAnalysisReportId(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_PI_API AnalysisReportSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
AnalysisReportSummary & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTime() const
AnalysisReportSummary & WithStartTime(Aws::Utils::DateTime &&value)
AnalysisReportSummary & WithAnalysisReportId(Aws::String &&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