AWS SDK for C++

AWS SDK for C++ Version 1.11.767

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
28 public:
29 AWS_IOT_API StreamFile() = default;
30 AWS_IOT_API StreamFile(Aws::Utils::Json::JsonView jsonValue);
33
35
38 inline int GetFileId() const { return m_fileId; }
39 inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
40 inline void SetFileId(int value) {
41 m_fileIdHasBeenSet = true;
42 m_fileId = value;
43 }
44 inline StreamFile& WithFileId(int value) {
45 SetFileId(value);
46 return *this;
47 }
49
51
54 inline const S3Location& GetS3Location() const { return m_s3Location; }
55 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
56 template <typename S3LocationT = S3Location>
57 void SetS3Location(S3LocationT&& value) {
58 m_s3LocationHasBeenSet = true;
59 m_s3Location = std::forward<S3LocationT>(value);
60 }
61 template <typename S3LocationT = S3Location>
62 StreamFile& WithS3Location(S3LocationT&& value) {
63 SetS3Location(std::forward<S3LocationT>(value));
64 return *this;
65 }
67 private:
68 int m_fileId{0};
69
70 S3Location m_s3Location;
71 bool m_fileIdHasBeenSet = false;
72 bool m_s3LocationHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace IoT
77} // namespace Aws
bool FileIdHasBeenSet() const
Definition StreamFile.h:39
bool S3LocationHasBeenSet() const
Definition StreamFile.h:55
void SetFileId(int value)
Definition StreamFile.h:40
StreamFile & WithFileId(int value)
Definition StreamFile.h:44
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
void SetS3Location(S3LocationT &&value)
Definition StreamFile.h:57
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
StreamFile & WithS3Location(S3LocationT &&value)
Definition StreamFile.h:62
AWS_IOT_API StreamFile()=default
Aws::Utils::Json::JsonValue JsonValue