AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeStreamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeStream"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetStreamId() const{ return m_streamId; }
39 
43  inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
44 
48  inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
49 
53  inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
54 
58  inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
59 
63  inline DescribeStreamRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
64 
68  inline DescribeStreamRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
69 
73  inline DescribeStreamRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_streamId;
78  bool m_streamIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace IoT
83 } // namespace Aws
Aws::IoT::Model::DescribeStreamRequest::SetStreamId
void SetStreamId(const Aws::String &value)
Definition: DescribeStreamRequest.h:48
Aws::IoT::Model::DescribeStreamRequest
Definition: DescribeStreamRequest.h:22
Aws::IoT::Model::DescribeStreamRequest::GetStreamId
const Aws::String & GetStreamId() const
Definition: DescribeStreamRequest.h:38
Aws::IoT::Model::DescribeStreamRequest::DescribeStreamRequest
DescribeStreamRequest()
Aws::IoT::Model::DescribeStreamRequest::SetStreamId
void SetStreamId(const char *value)
Definition: DescribeStreamRequest.h:58
Aws::IoT::Model::DescribeStreamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DescribeStreamRequest::StreamIdHasBeenSet
bool StreamIdHasBeenSet() const
Definition: DescribeStreamRequest.h:43
Aws::IoT::Model::DescribeStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeStreamRequest.h:30
Aws::IoT::Model::DescribeStreamRequest::WithStreamId
DescribeStreamRequest & WithStreamId(Aws::String &&value)
Definition: DescribeStreamRequest.h:68
Aws::IoT::Model::DescribeStreamRequest::WithStreamId
DescribeStreamRequest & WithStreamId(const char *value)
Definition: DescribeStreamRequest.h:73
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::DescribeStreamRequest::WithStreamId
DescribeStreamRequest & WithStreamId(const Aws::String &value)
Definition: DescribeStreamRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeStreamRequest::SetStreamId
void SetStreamId(Aws::String &&value)
Definition: DescribeStreamRequest.h:53
IoTRequest.h
IoT_EXPORTS.h