AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEndpointsRequest.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace EventBridge
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_EVENTBRIDGE_API ListEndpointsRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListEndpoints"; }
31
32 AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override;
33
34 AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
43 inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
44 inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
45 inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
46 inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
47 inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
48 inline ListEndpointsRequest& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
49 inline ListEndpointsRequest& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
50 inline ListEndpointsRequest& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
52
54
58 inline const Aws::String& GetHomeRegion() const{ return m_homeRegion; }
59 inline bool HomeRegionHasBeenSet() const { return m_homeRegionHasBeenSet; }
60 inline void SetHomeRegion(const Aws::String& value) { m_homeRegionHasBeenSet = true; m_homeRegion = value; }
61 inline void SetHomeRegion(Aws::String&& value) { m_homeRegionHasBeenSet = true; m_homeRegion = std::move(value); }
62 inline void SetHomeRegion(const char* value) { m_homeRegionHasBeenSet = true; m_homeRegion.assign(value); }
63 inline ListEndpointsRequest& WithHomeRegion(const Aws::String& value) { SetHomeRegion(value); return *this;}
64 inline ListEndpointsRequest& WithHomeRegion(Aws::String&& value) { SetHomeRegion(std::move(value)); return *this;}
65 inline ListEndpointsRequest& WithHomeRegion(const char* value) { SetHomeRegion(value); return *this;}
67
69
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline ListEndpointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline ListEndpointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline ListEndpointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85
87
90 inline int GetMaxResults() const{ return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 inline ListEndpointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95 private:
96
97 Aws::String m_namePrefix;
98 bool m_namePrefixHasBeenSet = false;
99
100 Aws::String m_homeRegion;
101 bool m_homeRegionHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 int m_maxResults;
107 bool m_maxResultsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace EventBridge
112} // namespace Aws
ListEndpointsRequest & WithHomeRegion(const char *value)
ListEndpointsRequest & WithNamePrefix(Aws::String &&value)
ListEndpointsRequest & WithNamePrefix(const Aws::String &value)
ListEndpointsRequest & WithHomeRegion(const Aws::String &value)
ListEndpointsRequest & WithNextToken(const char *value)
ListEndpointsRequest & WithNextToken(Aws::String &&value)
ListEndpointsRequest & WithMaxResults(int value)
ListEndpointsRequest & WithNamePrefix(const char *value)
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
ListEndpointsRequest & WithHomeRegion(Aws::String &&value)
ListEndpointsRequest & WithNextToken(const Aws::String &value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String