AWS SDK for C++  1.9.66
AWS SDK for C++
DescribeDetectorModelRequest.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 "DescribeDetectorModel"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; }
45 
49  inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
50 
54  inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; }
55 
59  inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); }
60 
64  inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); }
65 
69  inline DescribeDetectorModelRequest& WithDetectorModelName(const Aws::String& value) { SetDetectorModelName(value); return *this;}
70 
74  inline DescribeDetectorModelRequest& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;}
75 
79  inline DescribeDetectorModelRequest& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;}
80 
81 
85  inline const Aws::String& GetDetectorModelVersion() const{ return m_detectorModelVersion; }
86 
90  inline bool DetectorModelVersionHasBeenSet() const { return m_detectorModelVersionHasBeenSet; }
91 
95  inline void SetDetectorModelVersion(const Aws::String& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = value; }
96 
100  inline void SetDetectorModelVersion(Aws::String&& value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion = std::move(value); }
101 
105  inline void SetDetectorModelVersion(const char* value) { m_detectorModelVersionHasBeenSet = true; m_detectorModelVersion.assign(value); }
106 
110  inline DescribeDetectorModelRequest& WithDetectorModelVersion(const Aws::String& value) { SetDetectorModelVersion(value); return *this;}
111 
115  inline DescribeDetectorModelRequest& WithDetectorModelVersion(Aws::String&& value) { SetDetectorModelVersion(std::move(value)); return *this;}
116 
120  inline DescribeDetectorModelRequest& WithDetectorModelVersion(const char* value) { SetDetectorModelVersion(value); return *this;}
121 
122  private:
123 
124  Aws::String m_detectorModelName;
125  bool m_detectorModelNameHasBeenSet;
126 
127  Aws::String m_detectorModelVersion;
128  bool m_detectorModelVersionHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace IoTEvents
133 } // namespace Aws
Aws::IoTEvents::Model::DescribeDetectorModelRequest::WithDetectorModelVersion
DescribeDetectorModelRequest & WithDetectorModelVersion(Aws::String &&value)
Definition: DescribeDetectorModelRequest.h:115
Aws::IoTEvents::Model::DescribeDetectorModelRequest::DetectorModelVersionHasBeenSet
bool DetectorModelVersionHasBeenSet() const
Definition: DescribeDetectorModelRequest.h:90
Aws::Http::URI
Definition: URI.h:32
Aws::IoTEvents::Model::DescribeDetectorModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDetectorModelRequest.h:34
IoTEventsRequest.h
Aws::IoTEvents::Model::DescribeDetectorModelRequest::SetDetectorModelName
void SetDetectorModelName(const Aws::String &value)
Definition: DescribeDetectorModelRequest.h:54
Aws::IoTEvents::Model::DescribeDetectorModelRequest::SetDetectorModelVersion
void SetDetectorModelVersion(const char *value)
Definition: DescribeDetectorModelRequest.h:105
Aws::IoTEvents::Model::DescribeDetectorModelRequest::WithDetectorModelName
DescribeDetectorModelRequest & WithDetectorModelName(const char *value)
Definition: DescribeDetectorModelRequest.h:79
Aws::IoTEvents::Model::DescribeDetectorModelRequest::SetDetectorModelVersion
void SetDetectorModelVersion(const Aws::String &value)
Definition: DescribeDetectorModelRequest.h:95
Aws::IoTEvents::Model::DescribeDetectorModelRequest
Definition: DescribeDetectorModelRequest.h:26
Aws::IoTEvents::Model::DescribeDetectorModelRequest::SetDetectorModelName
void SetDetectorModelName(Aws::String &&value)
Definition: DescribeDetectorModelRequest.h:59
Aws::IoTEvents::Model::DescribeDetectorModelRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTEvents::Model::DescribeDetectorModelRequest::SetDetectorModelVersion
void SetDetectorModelVersion(Aws::String &&value)
Definition: DescribeDetectorModelRequest.h:100
AWSString.h
Aws::IoTEvents::IoTEventsRequest
Definition: IoTEventsRequest.h:17
Aws::IoTEvents::Model::DescribeDetectorModelRequest::GetDetectorModelName
const Aws::String & GetDetectorModelName() const
Definition: DescribeDetectorModelRequest.h:44
Aws::IoTEvents::Model::DescribeDetectorModelRequest::SetDetectorModelName
void SetDetectorModelName(const char *value)
Definition: DescribeDetectorModelRequest.h:64
Aws
Definition: AccessManagementClient.h:15
IoTEvents_EXPORTS.h
AWS_IOTEVENTS_API
#define AWS_IOTEVENTS_API
Definition: IoTEvents_EXPORTS.h:28
Aws::IoTEvents::Model::DescribeDetectorModelRequest::DescribeDetectorModelRequest
DescribeDetectorModelRequest()
Aws::IoTEvents::Model::DescribeDetectorModelRequest::WithDetectorModelVersion
DescribeDetectorModelRequest & WithDetectorModelVersion(const Aws::String &value)
Definition: DescribeDetectorModelRequest.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTEvents::Model::DescribeDetectorModelRequest::DetectorModelNameHasBeenSet
bool DetectorModelNameHasBeenSet() const
Definition: DescribeDetectorModelRequest.h:49
Aws::IoTEvents::Model::DescribeDetectorModelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTEvents::Model::DescribeDetectorModelRequest::WithDetectorModelName
DescribeDetectorModelRequest & WithDetectorModelName(const Aws::String &value)
Definition: DescribeDetectorModelRequest.h:69
Aws::IoTEvents::Model::DescribeDetectorModelRequest::GetDetectorModelVersion
const Aws::String & GetDetectorModelVersion() const
Definition: DescribeDetectorModelRequest.h:85
Aws::IoTEvents::Model::DescribeDetectorModelRequest::WithDetectorModelVersion
DescribeDetectorModelRequest & WithDetectorModelVersion(const char *value)
Definition: DescribeDetectorModelRequest.h:120
Aws::IoTEvents::Model::DescribeDetectorModelRequest::WithDetectorModelName
DescribeDetectorModelRequest & WithDetectorModelName(Aws::String &&value)
Definition: DescribeDetectorModelRequest.h:74