AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Stream.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
31 class Stream
32 {
33 public:
34 AWS_IOT_API Stream() = default;
35 AWS_IOT_API Stream(Aws::Utils::Json::JsonView jsonValue);
38
39
41
44 inline const Aws::String& GetStreamId() const { return m_streamId; }
45 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
46 template<typename StreamIdT = Aws::String>
47 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
48 template<typename StreamIdT = Aws::String>
49 Stream& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
51
53
56 inline int GetFileId() const { return m_fileId; }
57 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
58 inline void SetFileId(int value) { m_fileIdHasBeenSet = true; m_fileId = value; }
59 inline Stream& WithFileId(int value) { SetFileId(value); return *this;}
61 private:
62
63 Aws::String m_streamId;
64 bool m_streamIdHasBeenSet = false;
65
66 int m_fileId{0};
67 bool m_fileIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IoT
72} // namespace Aws
AWS_IOT_API Stream()=default
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
int GetFileId() const
Definition Stream.h:56
const Aws::String & GetStreamId() const
Definition Stream.h:44
bool StreamIdHasBeenSet() const
Definition Stream.h:45
Stream & WithStreamId(StreamIdT &&value)
Definition Stream.h:49
void SetFileId(int value)
Definition Stream.h:58
Stream & WithFileId(int value)
Definition Stream.h:59
AWS_IOT_API Stream & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStreamId(StreamIdT &&value)
Definition Stream.h:47
bool FileIdHasBeenSet() const
Definition Stream.h:57
AWS_IOT_API Stream(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue