AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestCase.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeBuild
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CODEBUILD_API TestCase();
38 AWS_CODEBUILD_API TestCase(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEBUILD_API TestCase& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetReportArn() const{ return m_reportArn; }
48 inline bool ReportArnHasBeenSet() const { return m_reportArnHasBeenSet; }
49 inline void SetReportArn(const Aws::String& value) { m_reportArnHasBeenSet = true; m_reportArn = value; }
50 inline void SetReportArn(Aws::String&& value) { m_reportArnHasBeenSet = true; m_reportArn = std::move(value); }
51 inline void SetReportArn(const char* value) { m_reportArnHasBeenSet = true; m_reportArn.assign(value); }
52 inline TestCase& WithReportArn(const Aws::String& value) { SetReportArn(value); return *this;}
53 inline TestCase& WithReportArn(Aws::String&& value) { SetReportArn(std::move(value)); return *this;}
54 inline TestCase& WithReportArn(const char* value) { SetReportArn(value); return *this;}
56
58
61 inline const Aws::String& GetTestRawDataPath() const{ return m_testRawDataPath; }
62 inline bool TestRawDataPathHasBeenSet() const { return m_testRawDataPathHasBeenSet; }
63 inline void SetTestRawDataPath(const Aws::String& value) { m_testRawDataPathHasBeenSet = true; m_testRawDataPath = value; }
64 inline void SetTestRawDataPath(Aws::String&& value) { m_testRawDataPathHasBeenSet = true; m_testRawDataPath = std::move(value); }
65 inline void SetTestRawDataPath(const char* value) { m_testRawDataPathHasBeenSet = true; m_testRawDataPath.assign(value); }
66 inline TestCase& WithTestRawDataPath(const Aws::String& value) { SetTestRawDataPath(value); return *this;}
67 inline TestCase& WithTestRawDataPath(Aws::String&& value) { SetTestRawDataPath(std::move(value)); return *this;}
68 inline TestCase& WithTestRawDataPath(const char* value) { SetTestRawDataPath(value); return *this;}
70
72
77 inline const Aws::String& GetPrefix() const{ return m_prefix; }
78 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
79 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
80 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
81 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
82 inline TestCase& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
83 inline TestCase& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
84 inline TestCase& WithPrefix(const char* value) { SetPrefix(value); return *this;}
86
88
91 inline const Aws::String& GetName() const{ return m_name; }
92 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
94 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
95 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
96 inline TestCase& WithName(const Aws::String& value) { SetName(value); return *this;}
97 inline TestCase& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
98 inline TestCase& WithName(const char* value) { SetName(value); return *this;}
100
102
107 inline const Aws::String& GetStatus() const{ return m_status; }
108 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
109 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
110 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
111 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
112 inline TestCase& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
113 inline TestCase& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
114 inline TestCase& WithStatus(const char* value) { SetStatus(value); return *this;}
116
118
121 inline long long GetDurationInNanoSeconds() const{ return m_durationInNanoSeconds; }
122 inline bool DurationInNanoSecondsHasBeenSet() const { return m_durationInNanoSecondsHasBeenSet; }
123 inline void SetDurationInNanoSeconds(long long value) { m_durationInNanoSecondsHasBeenSet = true; m_durationInNanoSeconds = value; }
124 inline TestCase& WithDurationInNanoSeconds(long long value) { SetDurationInNanoSeconds(value); return *this;}
126
128
132 inline const Aws::String& GetMessage() const{ return m_message; }
133 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
134 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
135 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
136 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
137 inline TestCase& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
138 inline TestCase& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
139 inline TestCase& WithMessage(const char* value) { SetMessage(value); return *this;}
141
143
147 inline const Aws::Utils::DateTime& GetExpired() const{ return m_expired; }
148 inline bool ExpiredHasBeenSet() const { return m_expiredHasBeenSet; }
149 inline void SetExpired(const Aws::Utils::DateTime& value) { m_expiredHasBeenSet = true; m_expired = value; }
150 inline void SetExpired(Aws::Utils::DateTime&& value) { m_expiredHasBeenSet = true; m_expired = std::move(value); }
151 inline TestCase& WithExpired(const Aws::Utils::DateTime& value) { SetExpired(value); return *this;}
152 inline TestCase& WithExpired(Aws::Utils::DateTime&& value) { SetExpired(std::move(value)); return *this;}
154 private:
155
156 Aws::String m_reportArn;
157 bool m_reportArnHasBeenSet = false;
158
159 Aws::String m_testRawDataPath;
160 bool m_testRawDataPathHasBeenSet = false;
161
162 Aws::String m_prefix;
163 bool m_prefixHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_status;
169 bool m_statusHasBeenSet = false;
170
171 long long m_durationInNanoSeconds;
172 bool m_durationInNanoSecondsHasBeenSet = false;
173
174 Aws::String m_message;
175 bool m_messageHasBeenSet = false;
176
177 Aws::Utils::DateTime m_expired;
178 bool m_expiredHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace CodeBuild
183} // namespace Aws
void SetReportArn(Aws::String &&value)
Definition TestCase.h:50
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API TestCase & operator=(Aws::Utils::Json::JsonView jsonValue)
TestCase & WithTestRawDataPath(const Aws::String &value)
Definition TestCase.h:66
TestCase & WithMessage(Aws::String &&value)
Definition TestCase.h:138
const Aws::String & GetReportArn() const
Definition TestCase.h:47
AWS_CODEBUILD_API TestCase(Aws::Utils::Json::JsonView jsonValue)
TestCase & WithName(const Aws::String &value)
Definition TestCase.h:96
TestCase & WithStatus(Aws::String &&value)
Definition TestCase.h:113
const Aws::String & GetMessage() const
Definition TestCase.h:132
void SetExpired(Aws::Utils::DateTime &&value)
Definition TestCase.h:150
void SetMessage(const Aws::String &value)
Definition TestCase.h:134
TestCase & WithStatus(const char *value)
Definition TestCase.h:114
TestCase & WithTestRawDataPath(const char *value)
Definition TestCase.h:68
void SetPrefix(const char *value)
Definition TestCase.h:81
void SetMessage(Aws::String &&value)
Definition TestCase.h:135
void SetExpired(const Aws::Utils::DateTime &value)
Definition TestCase.h:149
bool DurationInNanoSecondsHasBeenSet() const
Definition TestCase.h:122
const Aws::String & GetName() const
Definition TestCase.h:91
TestCase & WithStatus(const Aws::String &value)
Definition TestCase.h:112
TestCase & WithName(Aws::String &&value)
Definition TestCase.h:97
const Aws::String & GetStatus() const
Definition TestCase.h:107
void SetDurationInNanoSeconds(long long value)
Definition TestCase.h:123
TestCase & WithPrefix(Aws::String &&value)
Definition TestCase.h:83
void SetName(const char *value)
Definition TestCase.h:95
void SetStatus(const Aws::String &value)
Definition TestCase.h:109
AWS_CODEBUILD_API TestCase()
TestCase & WithPrefix(const char *value)
Definition TestCase.h:84
long long GetDurationInNanoSeconds() const
Definition TestCase.h:121
TestCase & WithExpired(Aws::Utils::DateTime &&value)
Definition TestCase.h:152
const Aws::String & GetPrefix() const
Definition TestCase.h:77
void SetReportArn(const Aws::String &value)
Definition TestCase.h:49
void SetPrefix(const Aws::String &value)
Definition TestCase.h:79
void SetPrefix(Aws::String &&value)
Definition TestCase.h:80
const Aws::String & GetTestRawDataPath() const
Definition TestCase.h:61
void SetStatus(Aws::String &&value)
Definition TestCase.h:110
TestCase & WithTestRawDataPath(Aws::String &&value)
Definition TestCase.h:67
TestCase & WithExpired(const Aws::Utils::DateTime &value)
Definition TestCase.h:151
void SetTestRawDataPath(const Aws::String &value)
Definition TestCase.h:63
void SetTestRawDataPath(const char *value)
Definition TestCase.h:65
TestCase & WithReportArn(const char *value)
Definition TestCase.h:54
TestCase & WithMessage(const Aws::String &value)
Definition TestCase.h:137
TestCase & WithReportArn(const Aws::String &value)
Definition TestCase.h:52
bool TestRawDataPathHasBeenSet() const
Definition TestCase.h:62
TestCase & WithDurationInNanoSeconds(long long value)
Definition TestCase.h:124
void SetName(const Aws::String &value)
Definition TestCase.h:93
void SetName(Aws::String &&value)
Definition TestCase.h:94
TestCase & WithMessage(const char *value)
Definition TestCase.h:139
TestCase & WithPrefix(const Aws::String &value)
Definition TestCase.h:82
TestCase & WithReportArn(Aws::String &&value)
Definition TestCase.h:53
void SetReportArn(const char *value)
Definition TestCase.h:51
void SetTestRawDataPath(Aws::String &&value)
Definition TestCase.h:64
TestCase & WithName(const char *value)
Definition TestCase.h:98
void SetMessage(const char *value)
Definition TestCase.h:136
const Aws::Utils::DateTime & GetExpired() const
Definition TestCase.h:147
void SetStatus(const char *value)
Definition TestCase.h:111
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue