AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ListBlueprintsRequest.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 ListBlueprintsRequest() = 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 "ListBlueprints"; }
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 ListBlueprintsRequest& WithNextToken(NextTokenT&& value) {
47 SetNextToken(std::forward<NextTokenT>(value));
48 return *this;
49 }
51
53
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) {
59 m_maxResultsHasBeenSet = true;
60 m_maxResults = value;
61 }
63 SetMaxResults(value);
64 return *this;
65 }
67
69
72 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
73 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
74 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
75 void SetTags(TagsT&& value) {
76 m_tagsHasBeenSet = true;
77 m_tags = std::forward<TagsT>(value);
78 }
79 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 SetTags(std::forward<TagsT>(value));
82 return *this;
83 }
84 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
85 ListBlueprintsRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
86 m_tagsHasBeenSet = true;
87 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94
95 int m_maxResults{0};
96 bool m_maxResultsHasBeenSet = false;
97
99 bool m_tagsHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
ListBlueprintsRequest & WithMaxResults(int value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ListBlueprintsRequest & WithTags(TagsT &&value)
ListBlueprintsRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GLUE_API ListBlueprintsRequest()=default
virtual const char * GetServiceRequestName() const override
ListBlueprintsRequest & WithNextToken(NextTokenT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
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