AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionSource.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SAGEMAKER_API ActionSource();
35 AWS_SAGEMAKER_API ActionSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API ActionSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSourceUri() const{ return m_sourceUri; }
45 inline bool SourceUriHasBeenSet() const { return m_sourceUriHasBeenSet; }
46 inline void SetSourceUri(const Aws::String& value) { m_sourceUriHasBeenSet = true; m_sourceUri = value; }
47 inline void SetSourceUri(Aws::String&& value) { m_sourceUriHasBeenSet = true; m_sourceUri = std::move(value); }
48 inline void SetSourceUri(const char* value) { m_sourceUriHasBeenSet = true; m_sourceUri.assign(value); }
49 inline ActionSource& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
50 inline ActionSource& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
51 inline ActionSource& WithSourceUri(const char* value) { SetSourceUri(value); return *this;}
53
55
58 inline const Aws::String& GetSourceType() const{ return m_sourceType; }
59 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
60 inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
61 inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
62 inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
63 inline ActionSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
64 inline ActionSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
65 inline ActionSource& WithSourceType(const char* value) { SetSourceType(value); return *this;}
67
69
72 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
73 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
74 inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
75 inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
76 inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
77 inline ActionSource& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
78 inline ActionSource& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
79 inline ActionSource& WithSourceId(const char* value) { SetSourceId(value); return *this;}
81 private:
82
83 Aws::String m_sourceUri;
84 bool m_sourceUriHasBeenSet = false;
85
86 Aws::String m_sourceType;
87 bool m_sourceTypeHasBeenSet = false;
88
89 Aws::String m_sourceId;
90 bool m_sourceIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SageMaker
95} // namespace Aws
void SetSourceUri(Aws::String &&value)
ActionSource & WithSourceUri(const char *value)
ActionSource & WithSourceType(Aws::String &&value)
ActionSource & WithSourceType(const char *value)
void SetSourceType(const char *value)
ActionSource & WithSourceId(const Aws::String &value)
ActionSource & WithSourceUri(Aws::String &&value)
AWS_SAGEMAKER_API ActionSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionSource & WithSourceType(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceId(const char *value)
AWS_SAGEMAKER_API ActionSource(Aws::Utils::Json::JsonView jsonValue)
ActionSource & WithSourceId(const char *value)
const Aws::String & GetSourceType() const
ActionSource & WithSourceId(Aws::String &&value)
void SetSourceType(const Aws::String &value)
void SetSourceUri(const char *value)
void SetSourceId(Aws::String &&value)
void SetSourceUri(const Aws::String &value)
void SetSourceType(Aws::String &&value)
const Aws::String & GetSourceId() const
ActionSource & WithSourceUri(const Aws::String &value)
const Aws::String & GetSourceUri() const
void SetSourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue