AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEngineVersionsRequest.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/MainframeModernizationRequest.h>
9#include <aws/m2/model/EngineType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace MainframeModernization
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_MAINFRAMEMODERNIZATION_API ListEngineVersionsRequest();
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 "ListEngineVersions"; }
36
37 AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override;
38
39 AWS_MAINFRAMEMODERNIZATION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const EngineType& GetEngineType() const{ return m_engineType; }
47 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
48 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
49 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
50 inline ListEngineVersionsRequest& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
51 inline ListEngineVersionsRequest& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
53
55
58 inline int GetMaxResults() const{ return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListEngineVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
75 inline ListEngineVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline ListEngineVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline ListEngineVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79 private:
80
81 EngineType m_engineType;
82 bool m_engineTypeHasBeenSet = false;
83
84 int m_maxResults;
85 bool m_maxResultsHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MainframeModernization
93} // namespace Aws
ListEngineVersionsRequest & WithNextToken(const char *value)
ListEngineVersionsRequest & WithNextToken(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListEngineVersionsRequest & WithEngineType(const EngineType &value)
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
ListEngineVersionsRequest & WithNextToken(Aws::String &&value)
ListEngineVersionsRequest & WithEngineType(EngineType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String