AWS SDK for C++  1.9.108
AWS SDK for C++
AlgorithmImage.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 Personalize
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline AlgorithmImage& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline AlgorithmImage& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline AlgorithmImage& WithName(const char* value) { SetName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDockerURI() const{ return m_dockerURI; }
85 
89  inline bool DockerURIHasBeenSet() const { return m_dockerURIHasBeenSet; }
90 
94  inline void SetDockerURI(const Aws::String& value) { m_dockerURIHasBeenSet = true; m_dockerURI = value; }
95 
99  inline void SetDockerURI(Aws::String&& value) { m_dockerURIHasBeenSet = true; m_dockerURI = std::move(value); }
100 
104  inline void SetDockerURI(const char* value) { m_dockerURIHasBeenSet = true; m_dockerURI.assign(value); }
105 
109  inline AlgorithmImage& WithDockerURI(const Aws::String& value) { SetDockerURI(value); return *this;}
110 
114  inline AlgorithmImage& WithDockerURI(Aws::String&& value) { SetDockerURI(std::move(value)); return *this;}
115 
119  inline AlgorithmImage& WithDockerURI(const char* value) { SetDockerURI(value); return *this;}
120 
121  private:
122 
123  Aws::String m_name;
124  bool m_nameHasBeenSet;
125 
126  Aws::String m_dockerURI;
127  bool m_dockerURIHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace Personalize
132 } // namespace Aws
Aws::Personalize::Model::AlgorithmImage::WithName
AlgorithmImage & WithName(const Aws::String &value)
Definition: AlgorithmImage.h:68
Aws::Personalize::Model::AlgorithmImage::operator=
AlgorithmImage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::AlgorithmImage::GetName
const Aws::String & GetName() const
Definition: AlgorithmImage.h:43
Aws::Personalize::Model::AlgorithmImage::WithDockerURI
AlgorithmImage & WithDockerURI(const Aws::String &value)
Definition: AlgorithmImage.h:109
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::AlgorithmImage::SetDockerURI
void SetDockerURI(const char *value)
Definition: AlgorithmImage.h:104
Aws::Personalize::Model::AlgorithmImage::SetName
void SetName(const Aws::String &value)
Definition: AlgorithmImage.h:53
Aws::Personalize::Model::AlgorithmImage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::AlgorithmImage::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AlgorithmImage.h:48
Aws::Personalize::Model::AlgorithmImage::WithName
AlgorithmImage & WithName(Aws::String &&value)
Definition: AlgorithmImage.h:73
Aws::Personalize::Model::AlgorithmImage
Definition: AlgorithmImage.h:32
Aws::Personalize::Model::AlgorithmImage::DockerURIHasBeenSet
bool DockerURIHasBeenSet() const
Definition: AlgorithmImage.h:89
Aws::Personalize::Model::AlgorithmImage::WithDockerURI
AlgorithmImage & WithDockerURI(const char *value)
Definition: AlgorithmImage.h:119
Aws::Personalize::Model::AlgorithmImage::GetDockerURI
const Aws::String & GetDockerURI() const
Definition: AlgorithmImage.h:84
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::AlgorithmImage::SetDockerURI
void SetDockerURI(Aws::String &&value)
Definition: AlgorithmImage.h:99
Aws::Personalize::Model::AlgorithmImage::WithDockerURI
AlgorithmImage & WithDockerURI(Aws::String &&value)
Definition: AlgorithmImage.h:114
Aws::Personalize::Model::AlgorithmImage::AlgorithmImage
AlgorithmImage()
Aws::Personalize::Model::AlgorithmImage::AlgorithmImage
AlgorithmImage(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::AlgorithmImage::SetName
void SetName(Aws::String &&value)
Definition: AlgorithmImage.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::AlgorithmImage::WithName
AlgorithmImage & WithName(const char *value)
Definition: AlgorithmImage.h:78
Aws::Personalize::Model::AlgorithmImage::SetDockerURI
void SetDockerURI(const Aws::String &value)
Definition: AlgorithmImage.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Personalize_EXPORTS.h
Aws::Personalize::Model::AlgorithmImage::SetName
void SetName(const char *value)
Definition: AlgorithmImage.h:63