AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartExperimentRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudWatchEvidently
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDWATCHEVIDENTLY_API StartExperimentRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartExperiment"; }
32
33 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::Utils::DateTime& GetAnalysisCompleteTime() const{ return m_analysisCompleteTime; }
42 inline bool AnalysisCompleteTimeHasBeenSet() const { return m_analysisCompleteTimeHasBeenSet; }
43 inline void SetAnalysisCompleteTime(const Aws::Utils::DateTime& value) { m_analysisCompleteTimeHasBeenSet = true; m_analysisCompleteTime = value; }
44 inline void SetAnalysisCompleteTime(Aws::Utils::DateTime&& value) { m_analysisCompleteTimeHasBeenSet = true; m_analysisCompleteTime = std::move(value); }
48
50
53 inline const Aws::String& GetExperiment() const{ return m_experiment; }
54 inline bool ExperimentHasBeenSet() const { return m_experimentHasBeenSet; }
55 inline void SetExperiment(const Aws::String& value) { m_experimentHasBeenSet = true; m_experiment = value; }
56 inline void SetExperiment(Aws::String&& value) { m_experimentHasBeenSet = true; m_experiment = std::move(value); }
57 inline void SetExperiment(const char* value) { m_experimentHasBeenSet = true; m_experiment.assign(value); }
58 inline StartExperimentRequest& WithExperiment(const Aws::String& value) { SetExperiment(value); return *this;}
59 inline StartExperimentRequest& WithExperiment(Aws::String&& value) { SetExperiment(std::move(value)); return *this;}
60 inline StartExperimentRequest& WithExperiment(const char* value) { SetExperiment(value); return *this;}
62
64
67 inline const Aws::String& GetProject() const{ return m_project; }
68 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
69 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
70 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
71 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
72 inline StartExperimentRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;}
73 inline StartExperimentRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
74 inline StartExperimentRequest& WithProject(const char* value) { SetProject(value); return *this;}
76 private:
77
78 Aws::Utils::DateTime m_analysisCompleteTime;
79 bool m_analysisCompleteTimeHasBeenSet = false;
80
81 Aws::String m_experiment;
82 bool m_experimentHasBeenSet = false;
83
84 Aws::String m_project;
85 bool m_projectHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CloudWatchEvidently
90} // namespace Aws
StartExperimentRequest & WithProject(Aws::String &&value)
StartExperimentRequest & WithExperiment(const Aws::String &value)
StartExperimentRequest & WithAnalysisCompleteTime(const Aws::Utils::DateTime &value)
StartExperimentRequest & WithProject(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
void SetAnalysisCompleteTime(const Aws::Utils::DateTime &value)
StartExperimentRequest & WithExperiment(Aws::String &&value)
StartExperimentRequest & WithExperiment(const char *value)
StartExperimentRequest & WithAnalysisCompleteTime(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
StartExperimentRequest & WithProject(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String