AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListIndicatorsRequest.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/detective/DetectiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/detective/model/IndicatorType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Detective
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DETECTIVE_API ListIndicatorsRequest() = 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 "ListIndicators"; }
32
33 AWS_DETECTIVE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetGraphArn() const { return m_graphArn; }
41 inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
42 template<typename GraphArnT = Aws::String>
43 void SetGraphArn(GraphArnT&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::forward<GraphArnT>(value); }
44 template<typename GraphArnT = Aws::String>
45 ListIndicatorsRequest& WithGraphArn(GraphArnT&& value) { SetGraphArn(std::forward<GraphArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetInvestigationId() const { return m_investigationId; }
53 inline bool InvestigationIdHasBeenSet() const { return m_investigationIdHasBeenSet; }
54 template<typename InvestigationIdT = Aws::String>
55 void SetInvestigationId(InvestigationIdT&& value) { m_investigationIdHasBeenSet = true; m_investigationId = std::forward<InvestigationIdT>(value); }
56 template<typename InvestigationIdT = Aws::String>
57 ListIndicatorsRequest& WithInvestigationId(InvestigationIdT&& value) { SetInvestigationId(std::forward<InvestigationIdT>(value)); return *this;}
59
61
67 inline IndicatorType GetIndicatorType() const { return m_indicatorType; }
68 inline bool IndicatorTypeHasBeenSet() const { return m_indicatorTypeHasBeenSet; }
69 inline void SetIndicatorType(IndicatorType value) { m_indicatorTypeHasBeenSet = true; m_indicatorType = value; }
72
74
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template<typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
85 template<typename NextTokenT = Aws::String>
86 ListIndicatorsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
88
90
93 inline int GetMaxResults() const { return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 inline ListIndicatorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98 private:
99
100 Aws::String m_graphArn;
101 bool m_graphArnHasBeenSet = false;
102
103 Aws::String m_investigationId;
104 bool m_investigationIdHasBeenSet = false;
105
106 IndicatorType m_indicatorType{IndicatorType::NOT_SET};
107 bool m_indicatorTypeHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults{0};
113 bool m_maxResultsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Detective
118} // namespace Aws
AWS_DETECTIVE_API Aws::String SerializePayload() const override
ListIndicatorsRequest & WithIndicatorType(IndicatorType value)
virtual const char * GetServiceRequestName() const override
ListIndicatorsRequest & WithMaxResults(int value)
ListIndicatorsRequest & WithInvestigationId(InvestigationIdT &&value)
AWS_DETECTIVE_API ListIndicatorsRequest()=default
void SetInvestigationId(InvestigationIdT &&value)
ListIndicatorsRequest & WithGraphArn(GraphArnT &&value)
ListIndicatorsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String