AWS SDK for C++  1.9.132
AWS SDK for C++
ActionSource.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 SageMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetSourceUri() const{ return m_sourceUri; }
44 
48  inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
49 
53  inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; }
54 
58  inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); }
59 
63  inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); }
64 
68  inline ActionSource& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
69 
73  inline ActionSource& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
74 
78  inline ActionSource& WithSourceUri(const char* value) { SetSourceUri(value); return *this;}
79 
80 
84  inline const Aws::String& GetSourceType() const{ return m_sourceType; }
85 
89  inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
90 
94  inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
95 
99  inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
100 
104  inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
105 
109  inline ActionSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
110 
114  inline ActionSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
115 
119  inline ActionSource& WithSourceType(const char* value) { SetSourceType(value); return *this;}
120 
121 
125  inline const Aws::String& GetSourceId() const{ return m_sourceId; }
126 
130  inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
131 
135  inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
136 
140  inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
141 
145  inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
146 
150  inline ActionSource& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
151 
155  inline ActionSource& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
156 
160  inline ActionSource& WithSourceId(const char* value) { SetSourceId(value); return *this;}
161 
162  private:
163 
164  Aws::String m_sourceUri;
165  bool m_sourceUriHasBeenSet;
166 
167  Aws::String m_sourceType;
168  bool m_sourceTypeHasBeenSet;
169 
170  Aws::String m_sourceId;
171  bool m_sourceIdHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace SageMaker
176 } // namespace Aws
Aws::SageMaker::Model::ActionSource
Definition: ActionSource.h:32
Aws::SageMaker::Model::ActionSource::SourceUriHasBeenSet
bool SourceUriHasBeenSet() const
Definition: ActionSource.h:48
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ActionSource::WithSourceId
ActionSource & WithSourceId(const char *value)
Definition: ActionSource.h:160
Aws::SageMaker::Model::ActionSource::SetSourceUri
void SetSourceUri(Aws::String &&value)
Definition: ActionSource.h:58
Aws::SageMaker::Model::ActionSource::WithSourceType
ActionSource & WithSourceType(Aws::String &&value)
Definition: ActionSource.h:114
Aws::SageMaker::Model::ActionSource::SourceTypeHasBeenSet
bool SourceTypeHasBeenSet() const
Definition: ActionSource.h:89
Aws::SageMaker::Model::ActionSource::WithSourceType
ActionSource & WithSourceType(const char *value)
Definition: ActionSource.h:119
Aws::SageMaker::Model::ActionSource::ActionSource
ActionSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ActionSource::SetSourceType
void SetSourceType(const char *value)
Definition: ActionSource.h:104
Aws::SageMaker::Model::ActionSource::operator=
ActionSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ActionSource::SourceIdHasBeenSet
bool SourceIdHasBeenSet() const
Definition: ActionSource.h:130
Aws::SageMaker::Model::ActionSource::WithSourceUri
ActionSource & WithSourceUri(const Aws::String &value)
Definition: ActionSource.h:68
Aws::SageMaker::Model::ActionSource::SetSourceId
void SetSourceId(const char *value)
Definition: ActionSource.h:145
Aws::SageMaker::Model::ActionSource::SetSourceType
void SetSourceType(const Aws::String &value)
Definition: ActionSource.h:94
Aws::SageMaker::Model::ActionSource::ActionSource
ActionSource()
Aws::SageMaker::Model::ActionSource::WithSourceId
ActionSource & WithSourceId(Aws::String &&value)
Definition: ActionSource.h:155
Aws::SageMaker::Model::ActionSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ActionSource::WithSourceUri
ActionSource & WithSourceUri(Aws::String &&value)
Definition: ActionSource.h:73
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ActionSource::SetSourceUri
void SetSourceUri(const char *value)
Definition: ActionSource.h:63
Aws::SageMaker::Model::ActionSource::WithSourceId
ActionSource & WithSourceId(const Aws::String &value)
Definition: ActionSource.h:150
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ActionSource::WithSourceType
ActionSource & WithSourceType(const Aws::String &value)
Definition: ActionSource.h:109
Aws::SageMaker::Model::ActionSource::WithSourceUri
ActionSource & WithSourceUri(const char *value)
Definition: ActionSource.h:78
Aws::SageMaker::Model::ActionSource::SetSourceId
void SetSourceId(Aws::String &&value)
Definition: ActionSource.h:140
Aws::SageMaker::Model::ActionSource::GetSourceUri
const Aws::String & GetSourceUri() const
Definition: ActionSource.h:43
Aws::SageMaker::Model::ActionSource::GetSourceId
const Aws::String & GetSourceId() const
Definition: ActionSource.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ActionSource::SetSourceUri
void SetSourceUri(const Aws::String &value)
Definition: ActionSource.h:53
Aws::SageMaker::Model::ActionSource::SetSourceId
void SetSourceId(const Aws::String &value)
Definition: ActionSource.h:135
Aws::SageMaker::Model::ActionSource::SetSourceType
void SetSourceType(Aws::String &&value)
Definition: ActionSource.h:99
Aws::SageMaker::Model::ActionSource::GetSourceType
const Aws::String & GetSourceType() const
Definition: ActionSource.h:84