AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisReport.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pi/model/ServiceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/pi/model/AnalysisStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/pi/model/Insight.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace PI
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_PI_API AnalysisReport();
44
45
47
50 inline const Aws::String& GetAnalysisReportId() const{ return m_analysisReportId; }
51 inline bool AnalysisReportIdHasBeenSet() const { return m_analysisReportIdHasBeenSet; }
52 inline void SetAnalysisReportId(const Aws::String& value) { m_analysisReportIdHasBeenSet = true; m_analysisReportId = value; }
53 inline void SetAnalysisReportId(Aws::String&& value) { m_analysisReportIdHasBeenSet = true; m_analysisReportId = std::move(value); }
54 inline void SetAnalysisReportId(const char* value) { m_analysisReportIdHasBeenSet = true; m_analysisReportId.assign(value); }
55 inline AnalysisReport& WithAnalysisReportId(const Aws::String& value) { SetAnalysisReportId(value); return *this;}
56 inline AnalysisReport& WithAnalysisReportId(Aws::String&& value) { SetAnalysisReportId(std::move(value)); return *this;}
57 inline AnalysisReport& WithAnalysisReportId(const char* value) { SetAnalysisReportId(value); return *this;}
59
61
64 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
65 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
66 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
67 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
68 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
69 inline AnalysisReport& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
70 inline AnalysisReport& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
71 inline AnalysisReport& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
73
75
80 inline const ServiceType& GetServiceType() const{ return m_serviceType; }
81 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
82 inline void SetServiceType(const ServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
83 inline void SetServiceType(ServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); }
84 inline AnalysisReport& WithServiceType(const ServiceType& value) { SetServiceType(value); return *this;}
85 inline AnalysisReport& WithServiceType(ServiceType&& value) { SetServiceType(std::move(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
93 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
94 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
95 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
96 inline AnalysisReport& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
97 inline AnalysisReport& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
105 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
106 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
107 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
108 inline AnalysisReport& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
109 inline AnalysisReport& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
117 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
118 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
119 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
120 inline AnalysisReport& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
121 inline AnalysisReport& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
123
125
128 inline const AnalysisStatus& GetStatus() const{ return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(const AnalysisStatus& value) { m_statusHasBeenSet = true; m_status = value; }
131 inline void SetStatus(AnalysisStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 inline AnalysisReport& WithStatus(const AnalysisStatus& value) { SetStatus(value); return *this;}
133 inline AnalysisReport& WithStatus(AnalysisStatus&& value) { SetStatus(std::move(value)); return *this;}
135
137
140 inline const Aws::Vector<Insight>& GetInsights() const{ return m_insights; }
141 inline bool InsightsHasBeenSet() const { return m_insightsHasBeenSet; }
142 inline void SetInsights(const Aws::Vector<Insight>& value) { m_insightsHasBeenSet = true; m_insights = value; }
143 inline void SetInsights(Aws::Vector<Insight>&& value) { m_insightsHasBeenSet = true; m_insights = std::move(value); }
144 inline AnalysisReport& WithInsights(const Aws::Vector<Insight>& value) { SetInsights(value); return *this;}
145 inline AnalysisReport& WithInsights(Aws::Vector<Insight>&& value) { SetInsights(std::move(value)); return *this;}
146 inline AnalysisReport& AddInsights(const Insight& value) { m_insightsHasBeenSet = true; m_insights.push_back(value); return *this; }
147 inline AnalysisReport& AddInsights(Insight&& value) { m_insightsHasBeenSet = true; m_insights.push_back(std::move(value)); return *this; }
149 private:
150
151 Aws::String m_analysisReportId;
152 bool m_analysisReportIdHasBeenSet = false;
153
154 Aws::String m_identifier;
155 bool m_identifierHasBeenSet = false;
156
157 ServiceType m_serviceType;
158 bool m_serviceTypeHasBeenSet = false;
159
160 Aws::Utils::DateTime m_createTime;
161 bool m_createTimeHasBeenSet = false;
162
163 Aws::Utils::DateTime m_startTime;
164 bool m_startTimeHasBeenSet = false;
165
166 Aws::Utils::DateTime m_endTime;
167 bool m_endTimeHasBeenSet = false;
168
169 AnalysisStatus m_status;
170 bool m_statusHasBeenSet = false;
171
172 Aws::Vector<Insight> m_insights;
173 bool m_insightsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace PI
178} // namespace Aws
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetAnalysisReportId() const
void SetStartTime(const Aws::Utils::DateTime &value)
AnalysisReport & WithAnalysisReportId(Aws::String &&value)
void SetAnalysisReportId(const char *value)
AnalysisReport & WithInsights(Aws::Vector< Insight > &&value)
AnalysisReport & WithIdentifier(Aws::String &&value)
AnalysisReport & WithAnalysisReportId(const Aws::String &value)
void SetInsights(Aws::Vector< Insight > &&value)
AnalysisReport & AddInsights(Insight &&value)
AnalysisReport & AddInsights(const Insight &value)
AnalysisReport & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_PI_API AnalysisReport(Aws::Utils::Json::JsonView jsonValue)
AnalysisReport & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::String & GetIdentifier() const
AnalysisReport & WithIdentifier(const char *value)
const ServiceType & GetServiceType() const
AnalysisReport & WithCreateTime(const Aws::Utils::DateTime &value)
void SetStatus(AnalysisStatus &&value)
AnalysisReport & WithInsights(const Aws::Vector< Insight > &value)
AnalysisReport & WithStartTime(Aws::Utils::DateTime &&value)
void SetIdentifier(Aws::String &&value)
void SetIdentifier(const char *value)
void SetCreateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreateTime() const
AWS_PI_API AnalysisReport & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
AnalysisReport & WithEndTime(Aws::Utils::DateTime &&value)
AnalysisReport & WithStartTime(const Aws::Utils::DateTime &value)
AnalysisReport & WithIdentifier(const Aws::String &value)
void SetServiceType(ServiceType &&value)
const AnalysisStatus & GetStatus() const
void SetIdentifier(const Aws::String &value)
void SetStatus(const AnalysisStatus &value)
void SetAnalysisReportId(const Aws::String &value)
void SetAnalysisReportId(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetServiceType(const ServiceType &value)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Insight > & GetInsights() const
AnalysisReport & WithStatus(const AnalysisStatus &value)
void SetInsights(const Aws::Vector< Insight > &value)
AnalysisReport & WithServiceType(const ServiceType &value)
AnalysisReport & WithStatus(AnalysisStatus &&value)
AnalysisReport & WithServiceType(ServiceType &&value)
AnalysisReport & WithAnalysisReportId(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetCreateTime(const Aws::Utils::DateTime &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