AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExperimentResultsResult.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/evidently/model/ExperimentReport.h>
11#include <aws/evidently/model/ExperimentResultsData.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace CloudWatchEvidently
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CLOUDWATCHEVIDENTLY_API GetExperimentResultsResult();
37
38
40
46 inline const Aws::String& GetDetails() const{ return m_details; }
47 inline void SetDetails(const Aws::String& value) { m_details = value; }
48 inline void SetDetails(Aws::String&& value) { m_details = std::move(value); }
49 inline void SetDetails(const char* value) { m_details.assign(value); }
50 inline GetExperimentResultsResult& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
51 inline GetExperimentResultsResult& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
52 inline GetExperimentResultsResult& WithDetails(const char* value) { SetDetails(value); return *this;}
54
56
59 inline const Aws::Vector<ExperimentReport>& GetReports() const{ return m_reports; }
60 inline void SetReports(const Aws::Vector<ExperimentReport>& value) { m_reports = value; }
61 inline void SetReports(Aws::Vector<ExperimentReport>&& value) { m_reports = std::move(value); }
63 inline GetExperimentResultsResult& WithReports(Aws::Vector<ExperimentReport>&& value) { SetReports(std::move(value)); return *this;}
64 inline GetExperimentResultsResult& AddReports(const ExperimentReport& value) { m_reports.push_back(value); return *this; }
65 inline GetExperimentResultsResult& AddReports(ExperimentReport&& value) { m_reports.push_back(std::move(value)); return *this; }
67
69
73 inline const Aws::Vector<ExperimentResultsData>& GetResultsData() const{ return m_resultsData; }
74 inline void SetResultsData(const Aws::Vector<ExperimentResultsData>& value) { m_resultsData = value; }
75 inline void SetResultsData(Aws::Vector<ExperimentResultsData>&& value) { m_resultsData = std::move(value); }
78 inline GetExperimentResultsResult& AddResultsData(const ExperimentResultsData& value) { m_resultsData.push_back(value); return *this; }
79 inline GetExperimentResultsResult& AddResultsData(ExperimentResultsData&& value) { m_resultsData.push_back(std::move(value)); return *this; }
81
83
86 inline const Aws::Vector<Aws::Utils::DateTime>& GetTimestamps() const{ return m_timestamps; }
87 inline void SetTimestamps(const Aws::Vector<Aws::Utils::DateTime>& value) { m_timestamps = value; }
88 inline void SetTimestamps(Aws::Vector<Aws::Utils::DateTime>&& value) { m_timestamps = std::move(value); }
91 inline GetExperimentResultsResult& AddTimestamps(const Aws::Utils::DateTime& value) { m_timestamps.push_back(value); return *this; }
92 inline GetExperimentResultsResult& AddTimestamps(Aws::Utils::DateTime&& value) { m_timestamps.push_back(std::move(value)); return *this; }
94
96
97 inline const Aws::String& GetRequestId() const{ return m_requestId; }
98 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
99 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
100 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
101 inline GetExperimentResultsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
102 inline GetExperimentResultsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
103 inline GetExperimentResultsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
105 private:
106
107 Aws::String m_details;
108
110
112
114
115 Aws::String m_requestId;
116 };
117
118} // namespace Model
119} // namespace CloudWatchEvidently
120} // namespace Aws
GetExperimentResultsResult & WithTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
GetExperimentResultsResult & WithRequestId(const Aws::String &value)
const Aws::Vector< ExperimentReport > & GetReports() const
GetExperimentResultsResult & AddTimestamps(Aws::Utils::DateTime &&value)
GetExperimentResultsResult & WithRequestId(const char *value)
void SetReports(const Aws::Vector< ExperimentReport > &value)
AWS_CLOUDWATCHEVIDENTLY_API GetExperimentResultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExperimentResultsResult & WithTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
GetExperimentResultsResult & AddResultsData(const ExperimentResultsData &value)
GetExperimentResultsResult & AddReports(const ExperimentReport &value)
const Aws::Vector< Aws::Utils::DateTime > & GetTimestamps() const
const Aws::Vector< ExperimentResultsData > & GetResultsData() const
GetExperimentResultsResult & WithReports(const Aws::Vector< ExperimentReport > &value)
GetExperimentResultsResult & WithDetails(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API GetExperimentResultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExperimentResultsResult & WithReports(Aws::Vector< ExperimentReport > &&value)
GetExperimentResultsResult & WithDetails(Aws::String &&value)
void SetTimestamps(const Aws::Vector< Aws::Utils::DateTime > &value)
GetExperimentResultsResult & AddReports(ExperimentReport &&value)
GetExperimentResultsResult & WithResultsData(Aws::Vector< ExperimentResultsData > &&value)
void SetResultsData(Aws::Vector< ExperimentResultsData > &&value)
GetExperimentResultsResult & WithRequestId(Aws::String &&value)
GetExperimentResultsResult & AddTimestamps(const Aws::Utils::DateTime &value)
GetExperimentResultsResult & WithResultsData(const Aws::Vector< ExperimentResultsData > &value)
GetExperimentResultsResult & WithDetails(const char *value)
void SetTimestamps(Aws::Vector< Aws::Utils::DateTime > &&value)
void SetResultsData(const Aws::Vector< ExperimentResultsData > &value)
GetExperimentResultsResult & AddResultsData(ExperimentResultsData &&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