AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename AnalysisCompleteTimeT = Aws::Utils::DateTime>
44 void SetAnalysisCompleteTime(AnalysisCompleteTimeT&& value) { m_analysisCompleteTimeHasBeenSet = true; m_analysisCompleteTime = std::forward<AnalysisCompleteTimeT>(value); }
45 template<typename AnalysisCompleteTimeT = Aws::Utils::DateTime>
46 StartExperimentRequest& WithAnalysisCompleteTime(AnalysisCompleteTimeT&& value) { SetAnalysisCompleteTime(std::forward<AnalysisCompleteTimeT>(value)); return *this;}
48
50
53 inline const Aws::String& GetExperiment() const { return m_experiment; }
54 inline bool ExperimentHasBeenSet() const { return m_experimentHasBeenSet; }
55 template<typename ExperimentT = Aws::String>
56 void SetExperiment(ExperimentT&& value) { m_experimentHasBeenSet = true; m_experiment = std::forward<ExperimentT>(value); }
57 template<typename ExperimentT = Aws::String>
58 StartExperimentRequest& WithExperiment(ExperimentT&& value) { SetExperiment(std::forward<ExperimentT>(value)); return *this;}
60
62
65 inline const Aws::String& GetProject() const { return m_project; }
66 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
67 template<typename ProjectT = Aws::String>
68 void SetProject(ProjectT&& value) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
69 template<typename ProjectT = Aws::String>
70 StartExperimentRequest& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
72 private:
73
74 Aws::Utils::DateTime m_analysisCompleteTime{};
75 bool m_analysisCompleteTimeHasBeenSet = false;
76
77 Aws::String m_experiment;
78 bool m_experimentHasBeenSet = false;
79
80 Aws::String m_project;
81 bool m_projectHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CloudWatchEvidently
86} // namespace Aws
StartExperimentRequest & WithProject(ProjectT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
StartExperimentRequest & WithAnalysisCompleteTime(AnalysisCompleteTimeT &&value)
AWS_CLOUDWATCHEVIDENTLY_API StartExperimentRequest()=default
virtual const char * GetServiceRequestName() const override
StartExperimentRequest & WithExperiment(ExperimentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String