AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
47 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
48 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
49 inline Stream& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
50 inline Stream& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
51 inline Stream& WithStreamId(const char* value) { SetStreamId(value); return *this;}
53
55
58 inline int GetFileId() const{ return m_fileId; }
59 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
60 inline void SetFileId(int value) { m_fileIdHasBeenSet = true; m_fileId = value; }
61 inline Stream& WithFileId(int value) { SetFileId(value); return *this;}
63 private:
64
65 Aws::String m_streamId;
66 bool m_streamIdHasBeenSet = false;
67
68 int m_fileId;
69 bool m_fileIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoT
74} // namespace Aws
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStreamId(const char *value)
Definition Stream.h:48
int GetFileId() const
Definition Stream.h:58
const Aws::String & GetStreamId() const
Definition Stream.h:44
Stream & WithStreamId(const Aws::String &value)
Definition Stream.h:49
bool StreamIdHasBeenSet() const
Definition Stream.h:45
void SetStreamId(const Aws::String &value)
Definition Stream.h:46
void SetStreamId(Aws::String &&value)
Definition Stream.h:47
void SetFileId(int value)
Definition Stream.h:60
Stream & WithFileId(int value)
Definition Stream.h:61
AWS_IOT_API Stream & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FileIdHasBeenSet() const
Definition Stream.h:59
Stream & WithStreamId(Aws::String &&value)
Definition Stream.h:50
Stream & WithStreamId(const char *value)
Definition Stream.h:51
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