AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
ListIntegrationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgentRequest.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/IntegrationFilter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SecurityAgent {
16namespace Model {
17
21 public:
22 AWS_SECURITYAGENT_API ListIntegrationsRequest() = 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 "ListIntegrations"; }
29
30 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
31
33
36 inline const IntegrationFilter& GetFilter() const { return m_filter; }
37 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
38 template <typename FilterT = IntegrationFilter>
39 void SetFilter(FilterT&& value) {
40 m_filterHasBeenSet = true;
41 m_filter = std::forward<FilterT>(value);
42 }
43 template <typename FilterT = IntegrationFilter>
45 SetFilter(std::forward<FilterT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 template <typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) {
58 m_nextTokenHasBeenSet = true;
59 m_nextToken = std::forward<NextTokenT>(value);
60 }
61 template <typename NextTokenT = Aws::String>
63 SetNextToken(std::forward<NextTokenT>(value));
64 return *this;
65 }
67
69
72 inline int GetMaxResults() const { return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) {
75 m_maxResultsHasBeenSet = true;
76 m_maxResults = value;
77 }
79 SetMaxResults(value);
80 return *this;
81 }
83 private:
84 IntegrationFilter m_filter;
85
86 Aws::String m_nextToken;
87
88 int m_maxResults{0};
89 bool m_filterHasBeenSet = false;
90 bool m_nextTokenHasBeenSet = false;
91 bool m_maxResultsHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace SecurityAgent
96} // namespace Aws
ListIntegrationsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SECURITYAGENT_API ListIntegrationsRequest()=default
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
ListIntegrationsRequest & WithFilter(FilterT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String