AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Stream& GetStream() const { return m_stream; }
46 inline bool StreamHasBeenSet() const { return m_streamHasBeenSet; }
47 template<typename StreamT = Stream>
48 void SetStream(StreamT&& value) { m_streamHasBeenSet = true; m_stream = std::forward<StreamT>(value); }
49 template<typename StreamT = Stream>
50 FileLocation& WithStream(StreamT&& value) { SetStream(std::forward<StreamT>(value)); return *this;}
52
54
57 inline const S3Location& GetS3Location() const { return m_s3Location; }
58 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
59 template<typename S3LocationT = S3Location>
60 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::forward<S3LocationT>(value); }
61 template<typename S3LocationT = S3Location>
62 FileLocation& WithS3Location(S3LocationT&& value) { SetS3Location(std::forward<S3LocationT>(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(StreamT &&value)
void SetStream(StreamT &&value)
AWS_IOT_API FileLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API FileLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3Location(S3LocationT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
FileLocation & WithS3Location(S3LocationT &&value)
AWS_IOT_API FileLocation()=default
const Stream & GetStream() const
const S3Location & GetS3Location() const
Aws::Utils::Json::JsonValue JsonValue