AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListWorkflowsRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/omics/model/WorkflowType.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 Omics
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_OMICS_API ListWorkflowsRequest();
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 "ListWorkflows"; }
36
37 AWS_OMICS_API Aws::String SerializePayload() const override;
38
39 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const WorkflowType& GetType() const{ return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(const WorkflowType& value) { m_typeHasBeenSet = true; m_type = value; }
49 inline void SetType(WorkflowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
50 inline ListWorkflowsRequest& WithType(const WorkflowType& value) { SetType(value); return *this;}
51 inline ListWorkflowsRequest& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline ListWorkflowsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline ListWorkflowsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline ListWorkflowsRequest& WithName(const char* value) { SetName(value); return *this;}
67
69
73 inline const Aws::String& GetStartingToken() const{ return m_startingToken; }
74 inline bool StartingTokenHasBeenSet() const { return m_startingTokenHasBeenSet; }
75 inline void SetStartingToken(const Aws::String& value) { m_startingTokenHasBeenSet = true; m_startingToken = value; }
76 inline void SetStartingToken(Aws::String&& value) { m_startingTokenHasBeenSet = true; m_startingToken = std::move(value); }
77 inline void SetStartingToken(const char* value) { m_startingTokenHasBeenSet = true; m_startingToken.assign(value); }
78 inline ListWorkflowsRequest& WithStartingToken(const Aws::String& value) { SetStartingToken(value); return *this;}
79 inline ListWorkflowsRequest& WithStartingToken(Aws::String&& value) { SetStartingToken(std::move(value)); return *this;}
80 inline ListWorkflowsRequest& WithStartingToken(const char* value) { SetStartingToken(value); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListWorkflowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92 private:
93
94 WorkflowType m_type;
95 bool m_typeHasBeenSet = false;
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 Aws::String m_startingToken;
101 bool m_startingTokenHasBeenSet = false;
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Omics
109} // namespace Aws
ListWorkflowsRequest & WithStartingToken(const char *value)
ListWorkflowsRequest & WithType(const WorkflowType &value)
const Aws::String & GetStartingToken() const
ListWorkflowsRequest & WithStartingToken(const Aws::String &value)
ListWorkflowsRequest & WithStartingToken(Aws::String &&value)
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListWorkflowsRequest & WithType(WorkflowType &&value)
ListWorkflowsRequest & WithMaxResults(int value)
ListWorkflowsRequest & WithName(Aws::String &&value)
ListWorkflowsRequest & WithName(const Aws::String &value)
void SetType(const WorkflowType &value)
void SetStartingToken(const Aws::String &value)
ListWorkflowsRequest & WithName(const char *value)
AWS_OMICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String