AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 WorkflowType GetType() const { return m_type; }
47 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 inline void SetType(WorkflowType value) { m_typeHasBeenSet = true; m_type = value; }
49 inline ListWorkflowsRequest& WithType(WorkflowType value) { SetType(value); return *this;}
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 ListWorkflowsRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
69 inline const Aws::String& GetStartingToken() const { return m_startingToken; }
70 inline bool StartingTokenHasBeenSet() const { return m_startingTokenHasBeenSet; }
71 template<typename StartingTokenT = Aws::String>
72 void SetStartingToken(StartingTokenT&& value) { m_startingTokenHasBeenSet = true; m_startingToken = std::forward<StartingTokenT>(value); }
73 template<typename StartingTokenT = Aws::String>
74 ListWorkflowsRequest& WithStartingToken(StartingTokenT&& value) { SetStartingToken(std::forward<StartingTokenT>(value)); return *this;}
76
78
81 inline int GetMaxResults() const { return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
84 inline ListWorkflowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
86 private:
87
89 bool m_typeHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::String m_startingToken;
95 bool m_startingTokenHasBeenSet = false;
96
97 int m_maxResults{0};
98 bool m_maxResultsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Omics
103} // namespace Aws
void SetStartingToken(StartingTokenT &&value)
const Aws::String & GetStartingToken() const
AWS_OMICS_API ListWorkflowsRequest()=default
ListWorkflowsRequest & WithStartingToken(StartingTokenT &&value)
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ListWorkflowsRequest & WithMaxResults(int value)
ListWorkflowsRequest & WithName(NameT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
ListWorkflowsRequest & WithType(WorkflowType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String