AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; }
43 inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); }
44 inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); }
45 inline ListIndicatorsRequest& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;}
46 inline ListIndicatorsRequest& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;}
47 inline ListIndicatorsRequest& WithGraphArn(const char* value) { SetGraphArn(value); return *this;}
49
51
54 inline const Aws::String& GetInvestigationId() const{ return m_investigationId; }
55 inline bool InvestigationIdHasBeenSet() const { return m_investigationIdHasBeenSet; }
56 inline void SetInvestigationId(const Aws::String& value) { m_investigationIdHasBeenSet = true; m_investigationId = value; }
57 inline void SetInvestigationId(Aws::String&& value) { m_investigationIdHasBeenSet = true; m_investigationId = std::move(value); }
58 inline void SetInvestigationId(const char* value) { m_investigationIdHasBeenSet = true; m_investigationId.assign(value); }
59 inline ListIndicatorsRequest& WithInvestigationId(const Aws::String& value) { SetInvestigationId(value); return *this;}
60 inline ListIndicatorsRequest& WithInvestigationId(Aws::String&& value) { SetInvestigationId(std::move(value)); return *this;}
61 inline ListIndicatorsRequest& WithInvestigationId(const char* value) { SetInvestigationId(value); return *this;}
63
65
71 inline const IndicatorType& GetIndicatorType() const{ return m_indicatorType; }
72 inline bool IndicatorTypeHasBeenSet() const { return m_indicatorTypeHasBeenSet; }
73 inline void SetIndicatorType(const IndicatorType& value) { m_indicatorTypeHasBeenSet = true; m_indicatorType = value; }
74 inline void SetIndicatorType(IndicatorType&& value) { m_indicatorTypeHasBeenSet = true; m_indicatorType = std::move(value); }
75 inline ListIndicatorsRequest& WithIndicatorType(const IndicatorType& value) { SetIndicatorType(value); return *this;}
76 inline ListIndicatorsRequest& WithIndicatorType(IndicatorType&& value) { SetIndicatorType(std::move(value)); return *this;}
78
80
87 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
90 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
91 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
92 inline ListIndicatorsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 inline ListIndicatorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
94 inline ListIndicatorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96
98
101 inline int GetMaxResults() const{ return m_maxResults; }
102 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
104 inline ListIndicatorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
106 private:
107
108 Aws::String m_graphArn;
109 bool m_graphArnHasBeenSet = false;
110
111 Aws::String m_investigationId;
112 bool m_investigationIdHasBeenSet = false;
113
114 IndicatorType m_indicatorType;
115 bool m_indicatorTypeHasBeenSet = false;
116
117 Aws::String m_nextToken;
118 bool m_nextTokenHasBeenSet = false;
119
120 int m_maxResults;
121 bool m_maxResultsHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Detective
126} // namespace Aws
ListIndicatorsRequest & WithInvestigationId(const Aws::String &value)
ListIndicatorsRequest & WithNextToken(Aws::String &&value)
ListIndicatorsRequest & WithGraphArn(const char *value)
AWS_DETECTIVE_API Aws::String SerializePayload() const override
ListIndicatorsRequest & WithGraphArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListIndicatorsRequest & WithNextToken(const Aws::String &value)
ListIndicatorsRequest & WithMaxResults(int value)
ListIndicatorsRequest & WithInvestigationId(const char *value)
ListIndicatorsRequest & WithIndicatorType(IndicatorType &&value)
ListIndicatorsRequest & WithNextToken(const char *value)
ListIndicatorsRequest & WithInvestigationId(Aws::String &&value)
ListIndicatorsRequest & WithIndicatorType(const IndicatorType &value)
void SetIndicatorType(const IndicatorType &value)
ListIndicatorsRequest & WithGraphArn(const Aws::String &value)
void SetInvestigationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String