AWS SDK for C++  1.9.108
AWS SDK for C++
ImageSource.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace LookoutforVision
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetType() const{ return m_type; }
44 
48  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 
53  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
54 
58  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 
63  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
64 
68  inline ImageSource& WithType(const Aws::String& value) { SetType(value); return *this;}
69 
73  inline ImageSource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
74 
78  inline ImageSource& WithType(const char* value) { SetType(value); return *this;}
79 
80  private:
81 
82  Aws::String m_type;
83  bool m_typeHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace LookoutforVision
88 } // namespace Aws
Aws::LookoutforVision::Model::ImageSource::ImageSource
ImageSource(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::ImageSource::ImageSource
ImageSource()
Aws::LookoutforVision::Model::ImageSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::ImageSource::SetType
void SetType(Aws::String &&value)
Definition: ImageSource.h:58
Aws::LookoutforVision::Model::ImageSource::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ImageSource.h:48
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::ImageSource
Definition: ImageSource.h:32
Aws::LookoutforVision::Model::ImageSource::SetType
void SetType(const Aws::String &value)
Definition: ImageSource.h:53
Aws::LookoutforVision::Model::ImageSource::operator=
ImageSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::ImageSource::WithType
ImageSource & WithType(const Aws::String &value)
Definition: ImageSource.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutforVision::Model::ImageSource::GetType
const Aws::String & GetType() const
Definition: ImageSource.h:43
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::ImageSource::WithType
ImageSource & WithType(Aws::String &&value)
Definition: ImageSource.h:73
Aws::LookoutforVision::Model::ImageSource::SetType
void SetType(const char *value)
Definition: ImageSource.h:63
Aws::LookoutforVision::Model::ImageSource::WithType
ImageSource & WithType(const char *value)
Definition: ImageSource.h:78