AWS SDK for C++  1.9.123
AWS SDK for C++
Stream.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  Stream();
38 
39 
43  inline const Aws::String& GetStreamId() const{ return m_streamId; }
44 
48  inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
49 
53  inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
54 
58  inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
59 
63  inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
64 
68  inline Stream& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
69 
73  inline Stream& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
74 
78  inline Stream& WithStreamId(const char* value) { SetStreamId(value); return *this;}
79 
80 
84  inline int GetFileId() const{ return m_fileId; }
85 
89  inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
90 
94  inline void SetFileId(int value) { m_fileIdHasBeenSet = true; m_fileId = value; }
95 
99  inline Stream& WithFileId(int value) { SetFileId(value); return *this;}
100 
101  private:
102 
103  Aws::String m_streamId;
104  bool m_streamIdHasBeenSet;
105 
106  int m_fileId;
107  bool m_fileIdHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace IoT
112 } // namespace Aws
Aws::IoT::Model::Stream
Definition: Stream.h:32
Aws::IoT::Model::Stream::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::Stream::SetStreamId
void SetStreamId(const char *value)
Definition: Stream.h:63
Aws::IoT::Model::Stream::Stream
Stream(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::Stream::SetFileId
void SetFileId(int value)
Definition: Stream.h:94
Aws::IoT::Model::Stream::WithFileId
Stream & WithFileId(int value)
Definition: Stream.h:99
Aws::IoT::Model::Stream::Stream
Stream()
Aws::IoT::Model::Stream::FileIdHasBeenSet
bool FileIdHasBeenSet() const
Definition: Stream.h:89
Aws::IoT::Model::Stream::StreamIdHasBeenSet
bool StreamIdHasBeenSet() const
Definition: Stream.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::Stream::WithStreamId
Stream & WithStreamId(Aws::String &&value)
Definition: Stream.h:73
Aws::IoT::Model::Stream::SetStreamId
void SetStreamId(Aws::String &&value)
Definition: Stream.h:58
Aws::IoT::Model::Stream::GetStreamId
const Aws::String & GetStreamId() const
Definition: Stream.h:43
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::Stream::WithStreamId
Stream & WithStreamId(const char *value)
Definition: Stream.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::Stream::operator=
Stream & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::Stream::WithStreamId
Stream & WithStreamId(const Aws::String &value)
Definition: Stream.h:68
Aws::IoT::Model::Stream::GetFileId
int GetFileId() const
Definition: Stream.h:84
Aws::IoT::Model::Stream::SetStreamId
void SetStreamId(const Aws::String &value)
Definition: Stream.h:53
IoT_EXPORTS.h