AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListJobsRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API ListJobsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListJobs"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
44 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
45 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
46 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
47 inline ListJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
48 inline ListJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
49 inline ListJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
51
53
56 inline int GetMaxResults() const{ return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline ListJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
66 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
67 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
68 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
69 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
70 inline ListJobsRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
71 inline ListJobsRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
72 inline ListJobsRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
73 inline ListJobsRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
74 inline ListJobsRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
75 inline ListJobsRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
76 inline ListJobsRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
77 inline ListJobsRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
78 inline ListJobsRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
80 private:
81
82 Aws::String m_nextToken;
83 bool m_nextTokenHasBeenSet = false;
84
85 int m_maxResults;
86 bool m_maxResultsHasBeenSet = false;
87
89 bool m_tagsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Glue
94} // namespace Aws
void SetNextToken(const Aws::String &value)
ListJobsRequest & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ListJobsRequest & AddTags(const Aws::String &key, const Aws::String &value)
ListJobsRequest & WithNextToken(Aws::String &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
ListJobsRequest & AddTags(Aws::String &&key, Aws::String &&value)
ListJobsRequest & AddTags(const char *key, Aws::String &&value)
ListJobsRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ListJobsRequest & WithNextToken(const Aws::String &value)
void SetNextToken(Aws::String &&value)
ListJobsRequest & WithMaxResults(int value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListJobsRequest & AddTags(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetNextToken() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetNextToken(const char *value)
ListJobsRequest & AddTags(Aws::String &&key, const char *value)
ListJobsRequest & AddTags(const Aws::String &key, Aws::String &&value)
ListJobsRequest & WithNextToken(const char *value)
ListJobsRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &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