analytics  v3
experiment.h
1 // Copyright 2010 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 
15 // This code was generated by google-apis-code-generator 1.5.1
16 // Build date: 2018-10-08 17:45:39 UTC
17 // on: 2020-01-30, 05:27:32 UTC
18 // C++ generator version: 0.1.4
19 
20 // ----------------------------------------------------------------------------
21 // NOTE: This file is generated from Google APIs Discovery Service.
22 // Service:
23 // Google Analytics API (analytics/v3)
24 // Generated from:
25 // Version: v3
26 // Revision: 169
27 // Generated by:
28 // Tool: google-apis-code-generator 1.5.1
29 // C++: 0.1.4
30 #ifndef GOOGLE_ANALYTICS_API_EXPERIMENT_H_
31 #define GOOGLE_ANALYTICS_API_EXPERIMENT_H_
32 
33 #include <string>
34 #include "googleapis/base/integral_types.h"
35 #include "googleapis/base/macros.h"
36 #include "googleapis/client/data/jsoncpp_data.h"
37 #include "googleapis/client/util/date_time.h"
38 #include "googleapis/strings/stringpiece.h"
39 
40 namespace Json {
41 class Value;
42 } // namespace Json
43 
44 namespace google_analytics_api {
45 using namespace googleapis;
46 
52 class Experiment : public client::JsonCppData {
53  public:
60  class ExperimentParentLink : public client::JsonCppData {
61  public:
67  static ExperimentParentLink* New();
68 
74  explicit ExperimentParentLink(const Json::Value& storage);
75 
81  explicit ExperimentParentLink(Json::Value* storage);
82 
86  virtual ~ExperimentParentLink();
87 
93  const StringPiece GetTypeName() const {
94  return StringPiece("google_analytics_api::ExperimentParentLink");
95  }
96 
102  bool has_href() const {
103  return Storage().isMember("href");
104  }
105 
109  void clear_href() {
110  MutableStorage()->removeMember("href");
111  }
112 
113 
117  const StringPiece get_href() const {
118  const Json::Value& v = Storage("href");
119  if (v == Json::Value::null) return StringPiece("");
120  return StringPiece(v.asCString());
121  }
122 
131  void set_href(const StringPiece& value) {
132  *MutableStorage("href") = value.data();
133  }
134 
140  bool has_type() const {
141  return Storage().isMember("type");
142  }
143 
147  void clear_type() {
148  MutableStorage()->removeMember("type");
149  }
150 
151 
155  const StringPiece get_type() const {
156  const Json::Value& v = Storage("type");
157  if (v == Json::Value::null) return StringPiece("");
158  return StringPiece(v.asCString());
159  }
160 
168  void set_type(const StringPiece& value) {
169  *MutableStorage("type") = value.data();
170  }
171 
172  private:
173  void operator=(const ExperimentParentLink&);
174  }; // ExperimentParentLink
180  class ExperimentVariations : public client::JsonCppData {
181  public:
187  static ExperimentVariations* New();
188 
194  explicit ExperimentVariations(const Json::Value& storage);
195 
201  explicit ExperimentVariations(Json::Value* storage);
202 
206  virtual ~ExperimentVariations();
207 
213  const StringPiece GetTypeName() const {
214  return StringPiece("google_analytics_api::ExperimentVariations");
215  }
216 
222  bool has_name() const {
223  return Storage().isMember("name");
224  }
225 
229  void clear_name() {
230  MutableStorage()->removeMember("name");
231  }
232 
233 
237  const StringPiece get_name() const {
238  const Json::Value& v = Storage("name");
239  if (v == Json::Value::null) return StringPiece("");
240  return StringPiece(v.asCString());
241  }
242 
252  void set_name(const StringPiece& value) {
253  *MutableStorage("name") = value.data();
254  }
255 
261  bool has_status() const {
262  return Storage().isMember("status");
263  }
264 
268  void clear_status() {
269  MutableStorage()->removeMember("status");
270  }
271 
272 
276  const StringPiece get_status() const {
277  const Json::Value& v = Storage("status");
278  if (v == Json::Value::null) return StringPiece("");
279  return StringPiece(v.asCString());
280  }
281 
291  void set_status(const StringPiece& value) {
292  *MutableStorage("status") = value.data();
293  }
294 
300  bool has_url() const {
301  return Storage().isMember("url");
302  }
303 
307  void clear_url() {
308  MutableStorage()->removeMember("url");
309  }
310 
311 
315  const StringPiece get_url() const {
316  const Json::Value& v = Storage("url");
317  if (v == Json::Value::null) return StringPiece("");
318  return StringPiece(v.asCString());
319  }
320 
329  void set_url(const StringPiece& value) {
330  *MutableStorage("url") = value.data();
331  }
332 
338  bool has_weight() const {
339  return Storage().isMember("weight");
340  }
341 
345  void clear_weight() {
346  MutableStorage()->removeMember("weight");
347  }
348 
349 
353  double get_weight() const {
354  const Json::Value& storage = Storage("weight");
355  return client::JsonValueToCppValueHelper<double >(storage);
356  }
357 
366  void set_weight(double value) {
367  client::SetJsonValueFromCppValueHelper<double >(
368  value, MutableStorage("weight"));
369  }
370 
376  bool has_won() const {
377  return Storage().isMember("won");
378  }
379 
383  void clear_won() {
384  MutableStorage()->removeMember("won");
385  }
386 
387 
391  bool get_won() const {
392  const Json::Value& storage = Storage("won");
393  return client::JsonValueToCppValueHelper<bool >(storage);
394  }
395 
405  void set_won(bool value) {
406  client::SetJsonValueFromCppValueHelper<bool >(
407  value, MutableStorage("won"));
408  }
409 
410  private:
411  void operator=(const ExperimentVariations&);
412  }; // ExperimentVariations
418  static Experiment* New();
419 
425  explicit Experiment(const Json::Value& storage);
426 
432  explicit Experiment(Json::Value* storage);
433 
437  virtual ~Experiment();
438 
444  const StringPiece GetTypeName() const {
445  return StringPiece("google_analytics_api::Experiment");
446  }
447 
453  bool has_account_id() const {
454  return Storage().isMember("accountId");
455  }
456 
461  MutableStorage()->removeMember("accountId");
462  }
463 
464 
468  const StringPiece get_account_id() const {
469  const Json::Value& v = Storage("accountId");
470  if (v == Json::Value::null) return StringPiece("");
471  return StringPiece(v.asCString());
472  }
473 
481  void set_account_id(const StringPiece& value) {
482  *MutableStorage("accountId") = value.data();
483  }
484 
490  bool has_created() const {
491  return Storage().isMember("created");
492  }
493 
497  void clear_created() {
498  MutableStorage()->removeMember("created");
499  }
500 
501 
505  client::DateTime get_created() const {
506  const Json::Value& storage = Storage("created");
507  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
508  }
509 
517  void set_created(client::DateTime value) {
518  client::SetJsonValueFromCppValueHelper<client::DateTime >(
519  value, MutableStorage("created"));
520  }
521 
527  bool has_description() const {
528  return Storage().isMember("description");
529  }
530 
535  MutableStorage()->removeMember("description");
536  }
537 
538 
542  const StringPiece get_description() const {
543  const Json::Value& v = Storage("description");
544  if (v == Json::Value::null) return StringPiece("");
545  return StringPiece(v.asCString());
546  }
547 
555  void set_description(const StringPiece& value) {
556  *MutableStorage("description") = value.data();
557  }
558 
564  bool has_editable_in_ga_ui() const {
565  return Storage().isMember("editableInGaUi");
566  }
567 
572  MutableStorage()->removeMember("editableInGaUi");
573  }
574 
575 
579  bool get_editable_in_ga_ui() const {
580  const Json::Value& storage = Storage("editableInGaUi");
581  return client::JsonValueToCppValueHelper<bool >(storage);
582  }
583 
592  void set_editable_in_ga_ui(bool value) {
593  client::SetJsonValueFromCppValueHelper<bool >(
594  value, MutableStorage("editableInGaUi"));
595  }
596 
602  bool has_end_time() const {
603  return Storage().isMember("endTime");
604  }
605 
609  void clear_end_time() {
610  MutableStorage()->removeMember("endTime");
611  }
612 
613 
617  client::DateTime get_end_time() const {
618  const Json::Value& storage = Storage("endTime");
619  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
620  }
621 
631  void set_end_time(client::DateTime value) {
632  client::SetJsonValueFromCppValueHelper<client::DateTime >(
633  value, MutableStorage("endTime"));
634  }
635 
641  bool has_equal_weighting() const {
642  return Storage().isMember("equalWeighting");
643  }
644 
649  MutableStorage()->removeMember("equalWeighting");
650  }
651 
652 
656  bool get_equal_weighting() const {
657  const Json::Value& storage = Storage("equalWeighting");
658  return client::JsonValueToCppValueHelper<bool >(storage);
659  }
660 
672  void set_equal_weighting(bool value) {
673  client::SetJsonValueFromCppValueHelper<bool >(
674  value, MutableStorage("equalWeighting"));
675  }
676 
682  bool has_id() const {
683  return Storage().isMember("id");
684  }
685 
689  void clear_id() {
690  MutableStorage()->removeMember("id");
691  }
692 
693 
697  const StringPiece get_id() const {
698  const Json::Value& v = Storage("id");
699  if (v == Json::Value::null) return StringPiece("");
700  return StringPiece(v.asCString());
701  }
702 
710  void set_id(const StringPiece& value) {
711  *MutableStorage("id") = value.data();
712  }
713 
720  return Storage().isMember("internalWebPropertyId");
721  }
722 
727  MutableStorage()->removeMember("internalWebPropertyId");
728  }
729 
730 
734  const StringPiece get_internal_web_property_id() const {
735  const Json::Value& v = Storage("internalWebPropertyId");
736  if (v == Json::Value::null) return StringPiece("");
737  return StringPiece(v.asCString());
738  }
739 
748  void set_internal_web_property_id(const StringPiece& value) {
749  *MutableStorage("internalWebPropertyId") = value.data();
750  }
751 
757  bool has_kind() const {
758  return Storage().isMember("kind");
759  }
760 
764  void clear_kind() {
765  MutableStorage()->removeMember("kind");
766  }
767 
768 
772  const StringPiece get_kind() const {
773  const Json::Value& v = Storage("kind");
774  if (v == Json::Value::null) return StringPiece("");
775  return StringPiece(v.asCString());
776  }
777 
785  void set_kind(const StringPiece& value) {
786  *MutableStorage("kind") = value.data();
787  }
788 
797  return Storage().isMember("minimumExperimentLengthInDays");
798  }
799 
804  MutableStorage()->removeMember("minimumExperimentLengthInDays");
805  }
806 
807 
813  const Json::Value& storage = Storage("minimumExperimentLengthInDays");
814  return client::JsonValueToCppValueHelper<int32 >(storage);
815  }
816 
827  client::SetJsonValueFromCppValueHelper<int32 >(
828  value, MutableStorage("minimumExperimentLengthInDays"));
829  }
830 
836  bool has_name() const {
837  return Storage().isMember("name");
838  }
839 
843  void clear_name() {
844  MutableStorage()->removeMember("name");
845  }
846 
847 
851  const StringPiece get_name() const {
852  const Json::Value& v = Storage("name");
853  if (v == Json::Value::null) return StringPiece("");
854  return StringPiece(v.asCString());
855  }
856 
865  void set_name(const StringPiece& value) {
866  *MutableStorage("name") = value.data();
867  }
868 
874  bool has_objective_metric() const {
875  return Storage().isMember("objectiveMetric");
876  }
877 
882  MutableStorage()->removeMember("objectiveMetric");
883  }
884 
885 
889  const StringPiece get_objective_metric() const {
890  const Json::Value& v = Storage("objectiveMetric");
891  if (v == Json::Value::null) return StringPiece("");
892  return StringPiece(v.asCString());
893  }
894 
906  void set_objective_metric(const StringPiece& value) {
907  *MutableStorage("objectiveMetric") = value.data();
908  }
909 
915  bool has_optimization_type() const {
916  return Storage().isMember("optimizationType");
917  }
918 
923  MutableStorage()->removeMember("optimizationType");
924  }
925 
926 
930  const StringPiece get_optimization_type() const {
931  const Json::Value& v = Storage("optimizationType");
932  if (v == Json::Value::null) return StringPiece("");
933  return StringPiece(v.asCString());
934  }
935 
946  void set_optimization_type(const StringPiece& value) {
947  *MutableStorage("optimizationType") = value.data();
948  }
949 
955  bool has_parent_link() const {
956  return Storage().isMember("parentLink");
957  }
958 
963  MutableStorage()->removeMember("parentLink");
964  }
965 
966 
971  const Json::Value& storage = Storage("parentLink");
972  return client::JsonValueToCppValueHelper<ExperimentParentLink >(storage);
973  }
974 
985  Json::Value* storage = MutableStorage("parentLink");
986  return client::JsonValueToMutableCppValueHelper<ExperimentParentLink >(storage);
987  }
988 
994  bool has_profile_id() const {
995  return Storage().isMember("profileId");
996  }
997 
1002  MutableStorage()->removeMember("profileId");
1003  }
1004 
1005 
1009  const StringPiece get_profile_id() const {
1010  const Json::Value& v = Storage("profileId");
1011  if (v == Json::Value::null) return StringPiece("");
1012  return StringPiece(v.asCString());
1013  }
1014 
1023  void set_profile_id(const StringPiece& value) {
1024  *MutableStorage("profileId") = value.data();
1025  }
1026 
1033  return Storage().isMember("reasonExperimentEnded");
1034  }
1035 
1040  MutableStorage()->removeMember("reasonExperimentEnded");
1041  }
1042 
1043 
1047  const StringPiece get_reason_experiment_ended() const {
1048  const Json::Value& v = Storage("reasonExperimentEnded");
1049  if (v == Json::Value::null) return StringPiece("");
1050  return StringPiece(v.asCString());
1051  }
1052 
1065  void set_reason_experiment_ended(const StringPiece& value) {
1066  *MutableStorage("reasonExperimentEnded") = value.data();
1067  }
1068 
1077  return Storage().isMember("rewriteVariationUrlsAsOriginal");
1078  }
1079 
1084  MutableStorage()->removeMember("rewriteVariationUrlsAsOriginal");
1085  }
1086 
1087 
1093  const Json::Value& storage = Storage("rewriteVariationUrlsAsOriginal");
1094  return client::JsonValueToCppValueHelper<bool >(storage);
1095  }
1096 
1107  client::SetJsonValueFromCppValueHelper<bool >(
1108  value, MutableStorage("rewriteVariationUrlsAsOriginal"));
1109  }
1110 
1116  bool has_self_link() const {
1117  return Storage().isMember("selfLink");
1118  }
1119 
1124  MutableStorage()->removeMember("selfLink");
1125  }
1126 
1127 
1131  const StringPiece get_self_link() const {
1132  const Json::Value& v = Storage("selfLink");
1133  if (v == Json::Value::null) return StringPiece("");
1134  return StringPiece(v.asCString());
1135  }
1136 
1144  void set_self_link(const StringPiece& value) {
1145  *MutableStorage("selfLink") = value.data();
1146  }
1147 
1153  bool has_serving_framework() const {
1154  return Storage().isMember("servingFramework");
1155  }
1156 
1161  MutableStorage()->removeMember("servingFramework");
1162  }
1163 
1164 
1168  const StringPiece get_serving_framework() const {
1169  const Json::Value& v = Storage("servingFramework");
1170  if (v == Json::Value::null) return StringPiece("");
1171  return StringPiece(v.asCString());
1172  }
1173 
1196  void set_serving_framework(const StringPiece& value) {
1197  *MutableStorage("servingFramework") = value.data();
1198  }
1199 
1205  bool has_snippet() const {
1206  return Storage().isMember("snippet");
1207  }
1208 
1212  void clear_snippet() {
1213  MutableStorage()->removeMember("snippet");
1214  }
1215 
1216 
1220  const StringPiece get_snippet() const {
1221  const Json::Value& v = Storage("snippet");
1222  if (v == Json::Value::null) return StringPiece("");
1223  return StringPiece(v.asCString());
1224  }
1225 
1234  void set_snippet(const StringPiece& value) {
1235  *MutableStorage("snippet") = value.data();
1236  }
1237 
1243  bool has_start_time() const {
1244  return Storage().isMember("startTime");
1245  }
1246 
1251  MutableStorage()->removeMember("startTime");
1252  }
1253 
1254 
1258  client::DateTime get_start_time() const {
1259  const Json::Value& storage = Storage("startTime");
1260  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
1261  }
1262 
1272  void set_start_time(client::DateTime value) {
1273  client::SetJsonValueFromCppValueHelper<client::DateTime >(
1274  value, MutableStorage("startTime"));
1275  }
1276 
1282  bool has_status() const {
1283  return Storage().isMember("status");
1284  }
1285 
1289  void clear_status() {
1290  MutableStorage()->removeMember("status");
1291  }
1292 
1293 
1297  const StringPiece get_status() const {
1298  const Json::Value& v = Storage("status");
1299  if (v == Json::Value::null) return StringPiece("");
1300  return StringPiece(v.asCString());
1301  }
1302 
1312  void set_status(const StringPiece& value) {
1313  *MutableStorage("status") = value.data();
1314  }
1315 
1321  bool has_traffic_coverage() const {
1322  return Storage().isMember("trafficCoverage");
1323  }
1324 
1329  MutableStorage()->removeMember("trafficCoverage");
1330  }
1331 
1332 
1336  double get_traffic_coverage() const {
1337  const Json::Value& storage = Storage("trafficCoverage");
1338  return client::JsonValueToCppValueHelper<double >(storage);
1339  }
1340 
1351  void set_traffic_coverage(double value) {
1352  client::SetJsonValueFromCppValueHelper<double >(
1353  value, MutableStorage("trafficCoverage"));
1354  }
1355 
1361  bool has_updated() const {
1362  return Storage().isMember("updated");
1363  }
1364 
1368  void clear_updated() {
1369  MutableStorage()->removeMember("updated");
1370  }
1371 
1372 
1376  client::DateTime get_updated() const {
1377  const Json::Value& storage = Storage("updated");
1378  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
1379  }
1380 
1388  void set_updated(client::DateTime value) {
1389  client::SetJsonValueFromCppValueHelper<client::DateTime >(
1390  value, MutableStorage("updated"));
1391  }
1392 
1398  bool has_variations() const {
1399  return Storage().isMember("variations");
1400  }
1401 
1406  MutableStorage()->removeMember("variations");
1407  }
1408 
1409 
1413  const client::JsonCppArray<ExperimentVariations > get_variations() const {
1414  const Json::Value& storage = Storage("variations");
1415  return client::JsonValueToCppValueHelper<client::JsonCppArray<ExperimentVariations > >(storage);
1416  }
1417 
1429  client::JsonCppArray<ExperimentVariations > mutable_variations() {
1430  Json::Value* storage = MutableStorage("variations");
1431  return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<ExperimentVariations > >(storage);
1432  }
1433 
1439  bool has_web_property_id() const {
1440  return Storage().isMember("webPropertyId");
1441  }
1442 
1447  MutableStorage()->removeMember("webPropertyId");
1448  }
1449 
1450 
1454  const StringPiece get_web_property_id() const {
1455  const Json::Value& v = Storage("webPropertyId");
1456  if (v == Json::Value::null) return StringPiece("");
1457  return StringPiece(v.asCString());
1458  }
1459 
1468  void set_web_property_id(const StringPiece& value) {
1469  *MutableStorage("webPropertyId") = value.data();
1470  }
1471 
1478  return Storage().isMember("winnerConfidenceLevel");
1479  }
1480 
1485  MutableStorage()->removeMember("winnerConfidenceLevel");
1486  }
1487 
1488 
1493  const Json::Value& storage = Storage("winnerConfidenceLevel");
1494  return client::JsonValueToCppValueHelper<double >(storage);
1495  }
1496 
1506  void set_winner_confidence_level(double value) {
1507  client::SetJsonValueFromCppValueHelper<double >(
1508  value, MutableStorage("winnerConfidenceLevel"));
1509  }
1510 
1516  bool has_winner_found() const {
1517  return Storage().isMember("winnerFound");
1518  }
1519 
1524  MutableStorage()->removeMember("winnerFound");
1525  }
1526 
1527 
1531  bool get_winner_found() const {
1532  const Json::Value& storage = Storage("winnerFound");
1533  return client::JsonValueToCppValueHelper<bool >(storage);
1534  }
1535 
1544  void set_winner_found(bool value) {
1545  client::SetJsonValueFromCppValueHelper<bool >(
1546  value, MutableStorage("winnerFound"));
1547  }
1548 
1549  private:
1550  void operator=(const Experiment&);
1551 }; // Experiment
1552 } // namespace google_analytics_api
1553 #endif // GOOGLE_ANALYTICS_API_EXPERIMENT_H_
const StringPiece get_self_link() const
Definition: experiment.h:1131
Definition: experiment.h:52
const StringPiece get_profile_id() const
Definition: experiment.h:1009
const StringPiece get_kind() const
Definition: experiment.h:772
void clear_equal_weighting()
Definition: experiment.h:648
void clear_profile_id()
Definition: experiment.h:1001
void set_optimization_type(const StringPiece &value)
Definition: experiment.h:946
void clear_web_property_id()
Definition: experiment.h:1446
bool get_editable_in_ga_ui() const
Definition: experiment.h:579
void clear_variations()
Definition: experiment.h:1405
bool has_equal_weighting() const
Definition: experiment.h:641
const StringPiece get_internal_web_property_id() const
Definition: experiment.h:734
void set_winner_confidence_level(double value)
Definition: experiment.h:1506
void set_web_property_id(const StringPiece &value)
Definition: experiment.h:1468
void clear_optimization_type()
Definition: experiment.h:922
ExperimentParentLink mutable_parentLink()
Definition: experiment.h:984
client::JsonCppArray< ExperimentVariations > mutable_variations()
Definition: experiment.h:1429
bool has_id() const
Definition: experiment.h:682
const StringPiece GetTypeName() const
Definition: experiment.h:444
void clear_traffic_coverage()
Definition: experiment.h:1328
void set_account_id(const StringPiece &value)
Definition: experiment.h:481
void clear_self_link()
Definition: experiment.h:1123
bool has_created() const
Definition: experiment.h:490
const ExperimentParentLink get_parent_link() const
Definition: experiment.h:970
bool has_kind() const
Definition: experiment.h:757
void clear_id()
Definition: experiment.h:689
const StringPiece get_name() const
Definition: experiment.h:851
client::DateTime get_start_time() const
Definition: experiment.h:1258
bool has_url() const
Definition: experiment.h:300
const StringPiece GetTypeName() const
Definition: experiment.h:213
bool get_equal_weighting() const
Definition: experiment.h:656
void set_kind(const StringPiece &value)
Definition: experiment.h:785
void clear_snippet()
Definition: experiment.h:1212
void set_minimum_experiment_length_in_days(int32 value)
Definition: experiment.h:826
void clear_account_id()
Definition: experiment.h:460
bool has_winner_confidence_level() const
Definition: experiment.h:1477
bool has_parent_link() const
Definition: experiment.h:955
void set_start_time(client::DateTime value)
Definition: experiment.h:1272
client::DateTime get_created() const
Definition: experiment.h:505
void set_url(const StringPiece &value)
Definition: experiment.h:329
void clear_minimum_experiment_length_in_days()
Definition: experiment.h:803
void set_objective_metric(const StringPiece &value)
Definition: experiment.h:906
bool get_rewrite_variation_urls_as_original() const
Definition: experiment.h:1092
bool has_profile_id() const
Definition: experiment.h:994
double get_weight() const
Definition: experiment.h:353
const StringPiece get_id() const
Definition: experiment.h:697
void set_winner_found(bool value)
Definition: experiment.h:1544
void set_traffic_coverage(double value)
Definition: experiment.h:1351
void set_name(const StringPiece &value)
Definition: experiment.h:865
void clear_status()
Definition: experiment.h:1289
bool has_minimum_experiment_length_in_days() const
Definition: experiment.h:796
void set_end_time(client::DateTime value)
Definition: experiment.h:631
void clear_status()
Definition: experiment.h:268
void set_updated(client::DateTime value)
Definition: experiment.h:1388
const StringPiece get_web_property_id() const
Definition: experiment.h:1454
client::DateTime get_updated() const
Definition: experiment.h:1376
void clear_weight()
Definition: experiment.h:345
const StringPiece get_name() const
Definition: experiment.h:237
void set_snippet(const StringPiece &value)
Definition: experiment.h:1234
bool has_status() const
Definition: experiment.h:261
bool has_internal_web_property_id() const
Definition: experiment.h:719
void clear_end_time()
Definition: experiment.h:609
bool has_rewrite_variation_urls_as_original() const
Definition: experiment.h:1076
const StringPiece get_optimization_type() const
Definition: experiment.h:930
bool has_status() const
Definition: experiment.h:1282
void set_name(const StringPiece &value)
Definition: experiment.h:252
void clear_updated()
Definition: experiment.h:1368
bool has_account_id() const
Definition: experiment.h:453
void set_serving_framework(const StringPiece &value)
Definition: experiment.h:1196
void clear_winner_found()
Definition: experiment.h:1523
bool has_end_time() const
Definition: experiment.h:602
const StringPiece get_objective_metric() const
Definition: experiment.h:889
bool has_traffic_coverage() const
Definition: experiment.h:1321
Definition: account.h:39
bool get_won() const
Definition: experiment.h:391
const StringPiece get_status() const
Definition: experiment.h:276
const StringPiece get_snippet() const
Definition: experiment.h:1220
void set_editable_in_ga_ui(bool value)
Definition: experiment.h:592
void clear_created()
Definition: experiment.h:497
bool has_name() const
Definition: experiment.h:836
Definition: account.cc:41
bool has_objective_metric() const
Definition: experiment.h:874
bool has_winner_found() const
Definition: experiment.h:1516
void set_id(const StringPiece &value)
Definition: experiment.h:710
bool has_start_time() const
Definition: experiment.h:1243
const StringPiece get_status() const
Definition: experiment.h:1297
void clear_reason_experiment_ended()
Definition: experiment.h:1039
void set_status(const StringPiece &value)
Definition: experiment.h:291
int32 get_minimum_experiment_length_in_days() const
Definition: experiment.h:812
void set_created(client::DateTime value)
Definition: experiment.h:517
bool has_name() const
Definition: experiment.h:222
void clear_objective_metric()
Definition: experiment.h:881
void clear_description()
Definition: experiment.h:534
void set_rewrite_variation_urls_as_original(bool value)
Definition: experiment.h:1106
void clear_editable_in_ga_ui()
Definition: experiment.h:571
void set_profile_id(const StringPiece &value)
Definition: experiment.h:1023
void clear_name()
Definition: experiment.h:229
const StringPiece get_description() const
Definition: experiment.h:542
void clear_url()
Definition: experiment.h:307
void clear_start_time()
Definition: experiment.h:1250
void clear_serving_framework()
Definition: experiment.h:1160
bool has_variations() const
Definition: experiment.h:1398
void clear_won()
Definition: experiment.h:383
void set_won(bool value)
Definition: experiment.h:405
bool has_won() const
Definition: experiment.h:376
bool get_winner_found() const
Definition: experiment.h:1531
void set_self_link(const StringPiece &value)
Definition: experiment.h:1144
void clear_kind()
Definition: experiment.h:764
bool has_serving_framework() const
Definition: experiment.h:1153
const client::JsonCppArray< ExperimentVariations > get_variations() const
Definition: experiment.h:1413
void clear_name()
Definition: experiment.h:843
void set_weight(double value)
Definition: experiment.h:366
const StringPiece get_reason_experiment_ended() const
Definition: experiment.h:1047
bool has_self_link() const
Definition: experiment.h:1116
bool has_reason_experiment_ended() const
Definition: experiment.h:1032
bool has_weight() const
Definition: experiment.h:338
bool has_description() const
Definition: experiment.h:527
void clear_rewrite_variation_urls_as_original()
Definition: experiment.h:1083
client::DateTime get_end_time() const
Definition: experiment.h:617
void set_description(const StringPiece &value)
Definition: experiment.h:555
bool has_optimization_type() const
Definition: experiment.h:915
bool has_updated() const
Definition: experiment.h:1361
void set_reason_experiment_ended(const StringPiece &value)
Definition: experiment.h:1065
void clear_winner_confidence_level()
Definition: experiment.h:1484
const StringPiece get_account_id() const
Definition: experiment.h:468
bool has_editable_in_ga_ui() const
Definition: experiment.h:564
void set_equal_weighting(bool value)
Definition: experiment.h:672
void clear_parent_link()
Definition: experiment.h:962
void clear_internal_web_property_id()
Definition: experiment.h:726
bool has_web_property_id() const
Definition: experiment.h:1439
void set_status(const StringPiece &value)
Definition: experiment.h:1312
double get_winner_confidence_level() const
Definition: experiment.h:1492
bool has_snippet() const
Definition: experiment.h:1205
double get_traffic_coverage() const
Definition: experiment.h:1336
const StringPiece get_url() const
Definition: experiment.h:315
void set_internal_web_property_id(const StringPiece &value)
Definition: experiment.h:748
const StringPiece get_serving_framework() const
Definition: experiment.h:1168