AWS SDK for C++  1.9.40
AWS SDK for C++
GetDetectorModelAnalysisResultsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTEvents
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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 "GetDetectorModelAnalysisResults"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
45 
49  inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
50 
54  inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
55 
59  inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
60 
64  inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
65 
69  inline GetDetectorModelAnalysisResultsRequest& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
70 
74  inline GetDetectorModelAnalysisResultsRequest& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
75 
79  inline GetDetectorModelAnalysisResultsRequest& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
80 
81 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
90  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 
95  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 
100  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 
105  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
106 
110  inline GetDetectorModelAnalysisResultsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 
115  inline GetDetectorModelAnalysisResultsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
116 
120  inline GetDetectorModelAnalysisResultsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122 
126  inline int GetMaxResults() const{ return m_maxResults; }
127 
131  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
132 
136  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
137 
141  inline GetDetectorModelAnalysisResultsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
142 
143  private:
144 
145  Aws::String m_analysisId;
146  bool m_analysisIdHasBeenSet;
147 
148  Aws::String m_nextToken;
149  bool m_nextTokenHasBeenSet;
150 
151  int m_maxResults;
152  bool m_maxResultsHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace IoTEvents
157 } // namespace Aws
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::WithMaxResults
GetDetectorModelAnalysisResultsRequest & WithMaxResults(int value)
Definition: GetDetectorModelAnalysisResultsRequest.h:141
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::SetAnalysisId
void SetAnalysisId(const Aws::String &value)
Definition: GetDetectorModelAnalysisResultsRequest.h:54
Aws::Http::URI
Definition: URI.h:32
IoTEventsRequest.h
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::SetAnalysisId
void SetAnalysisId(Aws::String &&value)
Definition: GetDetectorModelAnalysisResultsRequest.h:59
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetDetectorModelAnalysisResultsRequest.h:105
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetDetectorModelAnalysisResultsRequest.h:95
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::GetAnalysisId
const Aws::String & GetAnalysisId() const
Definition: GetDetectorModelAnalysisResultsRequest.h:44
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetDetectorModelAnalysisResultsRequest.h:90
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::GetDetectorModelAnalysisResultsRequest
GetDetectorModelAnalysisResultsRequest()
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::WithAnalysisId
GetDetectorModelAnalysisResultsRequest & WithAnalysisId(const Aws::String &value)
Definition: GetDetectorModelAnalysisResultsRequest.h:69
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetDetectorModelAnalysisResultsRequest.h:100
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::WithAnalysisId
GetDetectorModelAnalysisResultsRequest & WithAnalysisId(Aws::String &&value)
Definition: GetDetectorModelAnalysisResultsRequest.h:74
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetDetectorModelAnalysisResultsRequest.h:85
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::WithNextToken
GetDetectorModelAnalysisResultsRequest & WithNextToken(const char *value)
Definition: GetDetectorModelAnalysisResultsRequest.h:120
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetDetectorModelAnalysisResultsRequest.h:136
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::AnalysisIdHasBeenSet
bool AnalysisIdHasBeenSet() const
Definition: GetDetectorModelAnalysisResultsRequest.h:49
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::WithNextToken
GetDetectorModelAnalysisResultsRequest & WithNextToken(Aws::String &&value)
Definition: GetDetectorModelAnalysisResultsRequest.h:115
AWSString.h
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::SetAnalysisId
void SetAnalysisId(const char *value)
Definition: GetDetectorModelAnalysisResultsRequest.h:64
Aws::IoTEvents::IoTEventsRequest
Definition: IoTEventsRequest.h:17
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::WithAnalysisId
GetDetectorModelAnalysisResultsRequest & WithAnalysisId(const char *value)
Definition: GetDetectorModelAnalysisResultsRequest.h:79
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest
Definition: GetDetectorModelAnalysisResultsRequest.h:26
Aws
Definition: AccessManagementClient.h:15
IoTEvents_EXPORTS.h
AWS_IOTEVENTS_API
#define AWS_IOTEVENTS_API
Definition: IoTEvents_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::WithNextToken
GetDetectorModelAnalysisResultsRequest & WithNextToken(const Aws::String &value)
Definition: GetDetectorModelAnalysisResultsRequest.h:110
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDetectorModelAnalysisResultsRequest.h:34
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::GetMaxResults
int GetMaxResults() const
Definition: GetDetectorModelAnalysisResultsRequest.h:126
Aws::IoTEvents::Model::GetDetectorModelAnalysisResultsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetDetectorModelAnalysisResultsRequest.h:131