AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDevEndpointsRequest.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 ListDevEndpointsRequest() = default;
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 "ListDevEndpoints"; }
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 template<typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
46 template<typename NextTokenT = Aws::String>
47 ListDevEndpointsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
49
51
54 inline int GetMaxResults() const { return m_maxResults; }
55 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
56 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
57 inline ListDevEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
59
61
64 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
65 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
66 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
67 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
68 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
69 ListDevEndpointsRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
70 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
71 ListDevEndpointsRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
72 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
73 }
75 private:
76
77 Aws::String m_nextToken;
78 bool m_nextTokenHasBeenSet = false;
79
80 int m_maxResults{0};
81 bool m_maxResultsHasBeenSet = false;
82
84 bool m_tagsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Glue
89} // namespace Aws
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDevEndpointsRequest & WithMaxResults(int value)
ListDevEndpointsRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API ListDevEndpointsRequest()=default
ListDevEndpointsRequest & WithTags(TagsT &&value)
ListDevEndpointsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() 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