AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListExperimentsRequest.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/CloudWatchEvidentlyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/evidently/model/ExperimentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CloudWatchEvidently
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CLOUDWATCHEVIDENTLY_API ListExperimentsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListExperiments"; }
36
37 AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override;
38
39 AWS_CLOUDWATCHEVIDENTLY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline int GetMaxResults() const{ return m_maxResults; }
47 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
48 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
49 inline ListExperimentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
51
53
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
60 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
61 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
62 inline ListExperimentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline ListExperimentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline ListExperimentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
66
68
71 inline const Aws::String& GetProject() const{ return m_project; }
72 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
73 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
74 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
75 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
76 inline ListExperimentsRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;}
77 inline ListExperimentsRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
78 inline ListExperimentsRequest& WithProject(const char* value) { SetProject(value); return *this;}
80
82
86 inline const ExperimentStatus& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const ExperimentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(ExperimentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline ListExperimentsRequest& WithStatus(const ExperimentStatus& value) { SetStatus(value); return *this;}
91 inline ListExperimentsRequest& WithStatus(ExperimentStatus&& value) { SetStatus(std::move(value)); return *this;}
93 private:
94
95 int m_maxResults;
96 bool m_maxResultsHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100
101 Aws::String m_project;
102 bool m_projectHasBeenSet = false;
103
104 ExperimentStatus m_status;
105 bool m_statusHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CloudWatchEvidently
110} // namespace Aws
AWS_CLOUDWATCHEVIDENTLY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListExperimentsRequest & WithProject(Aws::String &&value)
ListExperimentsRequest & WithNextToken(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
ListExperimentsRequest & WithStatus(const ExperimentStatus &value)
ListExperimentsRequest & WithStatus(ExperimentStatus &&value)
ListExperimentsRequest & WithNextToken(Aws::String &&value)
ListExperimentsRequest & WithNextToken(const Aws::String &value)
ListExperimentsRequest & WithProject(const char *value)
virtual const char * GetServiceRequestName() const override
ListExperimentsRequest & WithProject(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String