AWS SDK for C++  1.9.132
AWS SDK for C++
FileLocation.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/model/Stream.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Stream& GetStream() const{ return m_stream; }
45 
49  inline bool StreamHasBeenSet() const { return m_streamHasBeenSet; }
50 
54  inline void SetStream(const Stream& value) { m_streamHasBeenSet = true; m_stream = value; }
55 
59  inline void SetStream(Stream&& value) { m_streamHasBeenSet = true; m_stream = std::move(value); }
60 
64  inline FileLocation& WithStream(const Stream& value) { SetStream(value); return *this;}
65 
69  inline FileLocation& WithStream(Stream&& value) { SetStream(std::move(value)); return *this;}
70 
71 
75  inline const S3Location& GetS3Location() const{ return m_s3Location; }
76 
80  inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
81 
85  inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
86 
90  inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
91 
95  inline FileLocation& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;}
96 
100  inline FileLocation& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;}
101 
102  private:
103 
104  Stream m_stream;
105  bool m_streamHasBeenSet;
106 
107  S3Location m_s3Location;
108  bool m_s3LocationHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace IoT
113 } // namespace Aws
Aws::IoT::Model::Stream
Definition: Stream.h:32
Aws::IoT::Model::FileLocation::StreamHasBeenSet
bool StreamHasBeenSet() const
Definition: FileLocation.h:49
S3Location.h
Aws::IoT::Model::FileLocation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::FileLocation::WithS3Location
FileLocation & WithS3Location(const S3Location &value)
Definition: FileLocation.h:95
Aws::IoT::Model::FileLocation
Definition: FileLocation.h:33
Aws::IoT::Model::S3Location
Definition: S3Location.h:32
Stream.h
Aws::IoT::Model::FileLocation::SetStream
void SetStream(Stream &&value)
Definition: FileLocation.h:59
Aws::IoT::Model::FileLocation::SetS3Location
void SetS3Location(S3Location &&value)
Definition: FileLocation.h:90
Aws::IoT::Model::FileLocation::SetS3Location
void SetS3Location(const S3Location &value)
Definition: FileLocation.h:85
Aws::IoT::Model::FileLocation::operator=
FileLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::FileLocation::GetS3Location
const S3Location & GetS3Location() const
Definition: FileLocation.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::FileLocation::FileLocation
FileLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::FileLocation::S3LocationHasBeenSet
bool S3LocationHasBeenSet() const
Definition: FileLocation.h:80
Aws::IoT::Model::FileLocation::SetStream
void SetStream(const Stream &value)
Definition: FileLocation.h:54
Aws::IoT::Model::FileLocation::WithS3Location
FileLocation & WithS3Location(S3Location &&value)
Definition: FileLocation.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::FileLocation::WithStream
FileLocation & WithStream(Stream &&value)
Definition: FileLocation.h:69
Aws::IoT::Model::FileLocation::FileLocation
FileLocation()
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::FileLocation::GetStream
const Stream & GetStream() const
Definition: FileLocation.h:44
Aws::IoT::Model::FileLocation::WithStream
FileLocation & WithStream(const Stream &value)
Definition: FileLocation.h:64
IoT_EXPORTS.h