AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 ListLaunchesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
63 inline ListLaunchesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
64 inline ListLaunchesRequest& 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 ListLaunchesRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;}
77 inline ListLaunchesRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
78 inline ListLaunchesRequest& WithProject(const char* value) { SetProject(value); return *this;}
80
82
86 inline const LaunchStatus& GetStatus() const{ return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(const LaunchStatus& value) { m_statusHasBeenSet = true; m_status = value; }
89 inline void SetStatus(LaunchStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
90 inline ListLaunchesRequest& WithStatus(const LaunchStatus& value) { SetStatus(value); return *this;}
91 inline ListLaunchesRequest& WithStatus(LaunchStatus&& 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 LaunchStatus m_status;
105 bool m_statusHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CloudWatchEvidently
110} // namespace Aws
ListLaunchesRequest & WithNextToken(const char *value)
ListLaunchesRequest & WithNextToken(const Aws::String &value)
ListLaunchesRequest & WithProject(Aws::String &&value)
ListLaunchesRequest & WithProject(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListLaunchesRequest & WithProject(const char *value)
ListLaunchesRequest & WithNextToken(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override
AWS_CLOUDWATCHEVIDENTLY_API ListLaunchesRequest()
virtual const char * GetServiceRequestName() const override
ListLaunchesRequest & WithStatus(const LaunchStatus &value)
ListLaunchesRequest & WithStatus(LaunchStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String