AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamFile.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/S3Location.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
32 {
33 public:
34 AWS_IOT_API StreamFile();
35 AWS_IOT_API StreamFile(Aws::Utils::Json::JsonView jsonValue);
38
39
41
44 inline int GetFileId() const{ return m_fileId; }
45 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
46 inline void SetFileId(int value) { m_fileIdHasBeenSet = true; m_fileId = value; }
47 inline StreamFile& WithFileId(int value) { SetFileId(value); return *this;}
49
51
54 inline const S3Location& GetS3Location() const{ return m_s3Location; }
55 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
56 inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
57 inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
58 inline StreamFile& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;}
59 inline StreamFile& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;}
61 private:
62
63 int m_fileId;
64 bool m_fileIdHasBeenSet = false;
65
66 S3Location m_s3Location;
67 bool m_s3LocationHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IoT
72} // namespace Aws
void SetS3Location(const S3Location &value)
Definition StreamFile.h:56
bool FileIdHasBeenSet() const
Definition StreamFile.h:45
bool S3LocationHasBeenSet() const
Definition StreamFile.h:55
void SetS3Location(S3Location &&value)
Definition StreamFile.h:57
void SetFileId(int value)
Definition StreamFile.h:46
StreamFile & WithFileId(int value)
Definition StreamFile.h:47
StreamFile & WithS3Location(S3Location &&value)
Definition StreamFile.h:59
AWS_IOT_API StreamFile(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API StreamFile & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3Location & GetS3Location() const
Definition StreamFile.h:54
StreamFile & WithS3Location(const S3Location &value)
Definition StreamFile.h:58
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue