AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListLaunchesRequest.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/LaunchStatus.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 ListLaunchesRequest() = default;
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 "ListLaunches"; }
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 ListLaunchesRequest& 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 template<typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<typename NextTokenT = Aws::String>
62 ListLaunchesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
64
66
69 inline const Aws::String& GetProject() const { return m_project; }
70 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
71 template<typename ProjectT = Aws::String>
72 void SetProject(ProjectT&& value) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
73 template<typename ProjectT = Aws::String>
74 ListLaunchesRequest& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
76
78
82 inline LaunchStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(LaunchStatus value) { m_statusHasBeenSet = true; m_status = value; }
85 inline ListLaunchesRequest& WithStatus(LaunchStatus value) { SetStatus(value); return *this;}
87 private:
88
89 int m_maxResults{0};
90 bool m_maxResultsHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94
95 Aws::String m_project;
96 bool m_projectHasBeenSet = false;
97
99 bool m_statusHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CloudWatchEvidently
104} // namespace Aws
ListLaunchesRequest & WithNextToken(NextTokenT &&value)
ListLaunchesRequest & WithProject(ProjectT &&value)
AWS_CLOUDWATCHEVIDENTLY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CLOUDWATCHEVIDENTLY_API ListLaunchesRequest()=default
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
ListLaunchesRequest & WithStatus(LaunchStatus value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String