AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
Destination.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/S3Destination.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 Destination() = default;
33
35
38 inline const S3Destination& GetS3Destination() const { return m_s3Destination; }
39 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
40 template <typename S3DestinationT = S3Destination>
41 void SetS3Destination(S3DestinationT&& value) {
42 m_s3DestinationHasBeenSet = true;
43 m_s3Destination = std::forward<S3DestinationT>(value);
44 }
45 template <typename S3DestinationT = S3Destination>
46 Destination& WithS3Destination(S3DestinationT&& value) {
47 SetS3Destination(std::forward<S3DestinationT>(value));
48 return *this;
49 }
51 private:
52 S3Destination m_s3Destination;
53 bool m_s3DestinationHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace IoT
58} // namespace Aws
const S3Destination & GetS3Destination() const
Definition Destination.h:38
Destination & WithS3Destination(S3DestinationT &&value)
Definition Destination.h:46
AWS_IOT_API Destination(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API Destination()=default
void SetS3Destination(S3DestinationT &&value)
Definition Destination.h:41
bool S3DestinationHasBeenSet() const
Definition Destination.h:39
Aws::Utils::Json::JsonValue JsonValue