AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListTriggersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API ListTriggersRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListTriggers"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetNextToken() const { return m_nextToken; }
39 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
40 template <typename NextTokenT = Aws::String>
41 void SetNextToken(NextTokenT&& value) {
42 m_nextTokenHasBeenSet = true;
43 m_nextToken = std::forward<NextTokenT>(value);
44 }
45 template <typename NextTokenT = Aws::String>
46 ListTriggersRequest& WithNextToken(NextTokenT&& value) {
47 SetNextToken(std::forward<NextTokenT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetDependentJobName() const { return m_dependentJobName; }
59 inline bool DependentJobNameHasBeenSet() const { return m_dependentJobNameHasBeenSet; }
60 template <typename DependentJobNameT = Aws::String>
61 void SetDependentJobName(DependentJobNameT&& value) {
62 m_dependentJobNameHasBeenSet = true;
63 m_dependentJobName = std::forward<DependentJobNameT>(value);
64 }
65 template <typename DependentJobNameT = Aws::String>
66 ListTriggersRequest& WithDependentJobName(DependentJobNameT&& value) {
67 SetDependentJobName(std::forward<DependentJobNameT>(value));
68 return *this;
69 }
71
73
76 inline int GetMaxResults() const { return m_maxResults; }
77 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
78 inline void SetMaxResults(int value) {
79 m_maxResultsHasBeenSet = true;
80 m_maxResults = value;
81 }
83 SetMaxResults(value);
84 return *this;
85 }
87
89
92 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
93 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
94 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
95 void SetTags(TagsT&& value) {
96 m_tagsHasBeenSet = true;
97 m_tags = std::forward<TagsT>(value);
98 }
99 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 SetTags(std::forward<TagsT>(value));
102 return *this;
103 }
104 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
105 ListTriggersRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
106 m_tagsHasBeenSet = true;
107 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_nextToken;
113
114 Aws::String m_dependentJobName;
115
116 int m_maxResults{0};
117
119 bool m_nextTokenHasBeenSet = false;
120 bool m_dependentJobNameHasBeenSet = false;
121 bool m_maxResultsHasBeenSet = false;
122 bool m_tagsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace Glue
127} // namespace Aws
ListTriggersRequest & WithMaxResults(int value)
AWS_GLUE_API ListTriggersRequest()=default
ListTriggersRequest & WithDependentJobName(DependentJobNameT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListTriggersRequest & WithNextToken(NextTokenT &&value)
ListTriggersRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDependentJobName() const
void SetDependentJobName(DependentJobNameT &&value)
const Aws::String & GetNextToken() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::String SerializePayload() const override
ListTriggersRequest & WithTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String