AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDiscoverersRequest.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Schemas
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SCHEMAS_API ListDiscoverersRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListDiscoverers"; }
35
36 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
37
38 AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
46 inline const Aws::String& GetDiscovererIdPrefix() const{ return m_discovererIdPrefix; }
47 inline bool DiscovererIdPrefixHasBeenSet() const { return m_discovererIdPrefixHasBeenSet; }
48 inline void SetDiscovererIdPrefix(const Aws::String& value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix = value; }
49 inline void SetDiscovererIdPrefix(Aws::String&& value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix = std::move(value); }
50 inline void SetDiscovererIdPrefix(const char* value) { m_discovererIdPrefixHasBeenSet = true; m_discovererIdPrefix.assign(value); }
52 inline ListDiscoverersRequest& WithDiscovererIdPrefix(Aws::String&& value) { SetDiscovererIdPrefix(std::move(value)); return *this;}
53 inline ListDiscoverersRequest& WithDiscovererIdPrefix(const char* value) { SetDiscovererIdPrefix(value); return *this;}
55
57
58 inline int GetLimit() const{ return m_limit; }
59 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
60 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
61 inline ListDiscoverersRequest& WithLimit(int value) { SetLimit(value); return *this;}
63
65
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
75 inline ListDiscoverersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline ListDiscoverersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline ListDiscoverersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
85 inline const Aws::String& GetSourceArnPrefix() const{ return m_sourceArnPrefix; }
86 inline bool SourceArnPrefixHasBeenSet() const { return m_sourceArnPrefixHasBeenSet; }
87 inline void SetSourceArnPrefix(const Aws::String& value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix = value; }
88 inline void SetSourceArnPrefix(Aws::String&& value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix = std::move(value); }
89 inline void SetSourceArnPrefix(const char* value) { m_sourceArnPrefixHasBeenSet = true; m_sourceArnPrefix.assign(value); }
90 inline ListDiscoverersRequest& WithSourceArnPrefix(const Aws::String& value) { SetSourceArnPrefix(value); return *this;}
91 inline ListDiscoverersRequest& WithSourceArnPrefix(Aws::String&& value) { SetSourceArnPrefix(std::move(value)); return *this;}
92 inline ListDiscoverersRequest& WithSourceArnPrefix(const char* value) { SetSourceArnPrefix(value); return *this;}
94 private:
95
96 Aws::String m_discovererIdPrefix;
97 bool m_discovererIdPrefixHasBeenSet = false;
98
99 int m_limit;
100 bool m_limitHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104
105 Aws::String m_sourceArnPrefix;
106 bool m_sourceArnPrefixHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Schemas
111} // namespace Aws
ListDiscoverersRequest & WithSourceArnPrefix(Aws::String &&value)
ListDiscoverersRequest & WithDiscovererIdPrefix(const char *value)
ListDiscoverersRequest & WithNextToken(const char *value)
void SetDiscovererIdPrefix(const Aws::String &value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDiscoverersRequest & WithSourceArnPrefix(const Aws::String &value)
ListDiscoverersRequest & WithDiscovererIdPrefix(Aws::String &&value)
ListDiscoverersRequest & WithSourceArnPrefix(const char *value)
ListDiscoverersRequest & WithDiscovererIdPrefix(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListDiscoverersRequest & WithNextToken(const Aws::String &value)
void SetSourceArnPrefix(const Aws::String &value)
ListDiscoverersRequest & WithLimit(int value)
ListDiscoverersRequest & WithNextToken(Aws::String &&value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String