AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
PackageVersionArtifact.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/S3Location.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
29 public:
30 AWS_IOT_API PackageVersionArtifact() = default;
34
36
37 inline const S3Location& GetS3Location() const { return m_s3Location; }
38 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
39 template <typename S3LocationT = S3Location>
40 void SetS3Location(S3LocationT&& value) {
41 m_s3LocationHasBeenSet = true;
42 m_s3Location = std::forward<S3LocationT>(value);
43 }
44 template <typename S3LocationT = S3Location>
45 PackageVersionArtifact& WithS3Location(S3LocationT&& value) {
46 SetS3Location(std::forward<S3LocationT>(value));
47 return *this;
48 }
50 private:
51 S3Location m_s3Location;
52 bool m_s3LocationHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace IoT
57} // namespace Aws
AWS_IOT_API PackageVersionArtifact(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API PackageVersionArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageVersionArtifact & WithS3Location(S3LocationT &&value)
AWS_IOT_API PackageVersionArtifact()=default
Aws::Utils::Json::JsonValue JsonValue