AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileLocation.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/Stream.h>
9#include <aws/iot/model/S3Location.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOT_API FileLocation();
39
40
42
45 inline const Stream& GetStream() const{ return m_stream; }
46 inline bool StreamHasBeenSet() const { return m_streamHasBeenSet; }
47 inline void SetStream(const Stream& value) { m_streamHasBeenSet = true; m_stream = value; }
48 inline void SetStream(Stream&& value) { m_streamHasBeenSet = true; m_stream = std::move(value); }
49 inline FileLocation& WithStream(const Stream& value) { SetStream(value); return *this;}
50 inline FileLocation& WithStream(Stream&& value) { SetStream(std::move(value)); return *this;}
52
54
57 inline const S3Location& GetS3Location() const{ return m_s3Location; }
58 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
59 inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
60 inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
61 inline FileLocation& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;}
62 inline FileLocation& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;}
64 private:
65
66 Stream m_stream;
67 bool m_streamHasBeenSet = false;
68
69 S3Location m_s3Location;
70 bool m_s3LocationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoT
75} // namespace Aws
FileLocation & WithStream(Stream &&value)
void SetStream(const Stream &value)
AWS_IOT_API FileLocation(Aws::Utils::Json::JsonView jsonValue)
void SetS3Location(const S3Location &value)
AWS_IOT_API FileLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
FileLocation & WithStream(const Stream &value)
void SetStream(Stream &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
FileLocation & WithS3Location(const S3Location &value)
FileLocation & WithS3Location(S3Location &&value)
void SetS3Location(S3Location &&value)
const Stream & GetStream() const
const S3Location & GetS3Location() const
Aws::Utils::Json::JsonValue JsonValue