AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ImageMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/omics/Omics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Omics {
20namespace Model {
21
32 public:
33 AWS_OMICS_API ImageMapping() = default;
34 AWS_OMICS_API ImageMapping(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetSourceImage() const { return m_sourceImage; }
43 inline bool SourceImageHasBeenSet() const { return m_sourceImageHasBeenSet; }
44 template <typename SourceImageT = Aws::String>
45 void SetSourceImage(SourceImageT&& value) {
46 m_sourceImageHasBeenSet = true;
47 m_sourceImage = std::forward<SourceImageT>(value);
48 }
49 template <typename SourceImageT = Aws::String>
50 ImageMapping& WithSourceImage(SourceImageT&& value) {
51 SetSourceImage(std::forward<SourceImageT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDestinationImage() const { return m_destinationImage; }
61 inline bool DestinationImageHasBeenSet() const { return m_destinationImageHasBeenSet; }
62 template <typename DestinationImageT = Aws::String>
63 void SetDestinationImage(DestinationImageT&& value) {
64 m_destinationImageHasBeenSet = true;
65 m_destinationImage = std::forward<DestinationImageT>(value);
66 }
67 template <typename DestinationImageT = Aws::String>
68 ImageMapping& WithDestinationImage(DestinationImageT&& value) {
69 SetDestinationImage(std::forward<DestinationImageT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_sourceImage;
75
76 Aws::String m_destinationImage;
77 bool m_sourceImageHasBeenSet = false;
78 bool m_destinationImageHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Omics
83} // namespace Aws
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ImageMapping & WithSourceImage(SourceImageT &&value)
void SetDestinationImage(DestinationImageT &&value)
AWS_OMICS_API ImageMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API ImageMapping()=default
const Aws::String & GetDestinationImage() const
void SetSourceImage(SourceImageT &&value)
AWS_OMICS_API ImageMapping(Aws::Utils::Json::JsonView jsonValue)
ImageMapping & WithDestinationImage(DestinationImageT &&value)
const Aws::String & GetSourceImage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue