AWS SDK for C++  1.9.124
AWS SDK for C++
StreamFile.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:
38 
39 
43  inline int GetFileId() const{ return m_fileId; }
44 
48  inline bool FileIdHasBeenSet() const { return m_fileIdHasBeenSet; }
49 
53  inline void SetFileId(int value) { m_fileIdHasBeenSet = true; m_fileId = value; }
54 
58  inline StreamFile& WithFileId(int value) { SetFileId(value); return *this;}
59 
60 
64  inline const S3Location& GetS3Location() const{ return m_s3Location; }
65 
69  inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
70 
74  inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
75 
79  inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
80 
84  inline StreamFile& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;}
85 
89  inline StreamFile& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;}
90 
91  private:
92 
93  int m_fileId;
94  bool m_fileIdHasBeenSet;
95 
96  S3Location m_s3Location;
97  bool m_s3LocationHasBeenSet;
98  };
99 
100 } // namespace Model
101 } // namespace IoT
102 } // namespace Aws
Aws::IoT::Model::StreamFile::FileIdHasBeenSet
bool FileIdHasBeenSet() const
Definition: StreamFile.h:48
Aws::IoT::Model::StreamFile::StreamFile
StreamFile(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::StreamFile::GetS3Location
const S3Location & GetS3Location() const
Definition: StreamFile.h:64
Aws::IoT::Model::StreamFile::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
S3Location.h
Aws::IoT::Model::StreamFile::operator=
StreamFile & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::StreamFile::WithS3Location
StreamFile & WithS3Location(const S3Location &value)
Definition: StreamFile.h:84
Aws::IoT::Model::StreamFile
Definition: StreamFile.h:32
Aws::IoT::Model::S3Location
Definition: S3Location.h:32
Aws::IoT::Model::StreamFile::WithS3Location
StreamFile & WithS3Location(S3Location &&value)
Definition: StreamFile.h:89
Aws::IoT::Model::StreamFile::GetFileId
int GetFileId() const
Definition: StreamFile.h:43
Aws::IoT::Model::StreamFile::S3LocationHasBeenSet
bool S3LocationHasBeenSet() const
Definition: StreamFile.h:69
Aws::IoT::Model::StreamFile::WithFileId
StreamFile & WithFileId(int value)
Definition: StreamFile.h:58
Aws::IoT::Model::StreamFile::SetS3Location
void SetS3Location(const S3Location &value)
Definition: StreamFile.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::StreamFile::SetS3Location
void SetS3Location(S3Location &&value)
Definition: StreamFile.h:79
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::StreamFile::StreamFile
StreamFile()
Aws::IoT::Model::StreamFile::SetFileId
void SetFileId(int value)
Definition: StreamFile.h:53
IoT_EXPORTS.h