AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListMembersRequest.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.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 GuardDuty
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_GUARDDUTY_API ListMembersRequest() = default;
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 "ListMembers"; }
35
36 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
37
38 AWS_GUARDDUTY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
49 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
50 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
51 template<typename DetectorIdT = Aws::String>
52 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
53 template<typename DetectorIdT = Aws::String>
54 ListMembersRequest& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
56
58
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
65 inline ListMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
67
69
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template<typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
79 template<typename NextTokenT = Aws::String>
80 ListMembersRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
82
84
92 inline const Aws::String& GetOnlyAssociated() const { return m_onlyAssociated; }
93 inline bool OnlyAssociatedHasBeenSet() const { return m_onlyAssociatedHasBeenSet; }
94 template<typename OnlyAssociatedT = Aws::String>
95 void SetOnlyAssociated(OnlyAssociatedT&& value) { m_onlyAssociatedHasBeenSet = true; m_onlyAssociated = std::forward<OnlyAssociatedT>(value); }
96 template<typename OnlyAssociatedT = Aws::String>
97 ListMembersRequest& WithOnlyAssociated(OnlyAssociatedT&& value) { SetOnlyAssociated(std::forward<OnlyAssociatedT>(value)); return *this;}
99 private:
100
101 Aws::String m_detectorId;
102 bool m_detectorIdHasBeenSet = false;
103
104 int m_maxResults{0};
105 bool m_maxResultsHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109
110 Aws::String m_onlyAssociated;
111 bool m_onlyAssociatedHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace GuardDuty
116} // namespace Aws
ListMembersRequest & WithNextToken(NextTokenT &&value)
AWS_GUARDDUTY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
const Aws::String & GetOnlyAssociated() const
AWS_GUARDDUTY_API ListMembersRequest()=default
ListMembersRequest & WithDetectorId(DetectorIdT &&value)
ListMembersRequest & WithMaxResults(int value)
void SetOnlyAssociated(OnlyAssociatedT &&value)
ListMembersRequest & WithOnlyAssociated(OnlyAssociatedT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String