AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContextSource.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 ContextSource();
35 AWS_SAGEMAKER_API ContextSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API ContextSource& 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 ContextSource& WithSourceUri(const Aws::String& value) { SetSourceUri(value); return *this;}
50 inline ContextSource& WithSourceUri(Aws::String&& value) { SetSourceUri(std::move(value)); return *this;}
51 inline ContextSource& 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 ContextSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
64 inline ContextSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
65 inline ContextSource& 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 ContextSource& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
78 inline ContextSource& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
79 inline ContextSource& 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
ContextSource & WithSourceUri(const Aws::String &value)
void SetSourceId(Aws::String &&value)
void SetSourceUri(const char *value)
const Aws::String & GetSourceType() const
void SetSourceType(const char *value)
void SetSourceUri(const Aws::String &value)
void SetSourceId(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ContextSource(Aws::Utils::Json::JsonView jsonValue)
void SetSourceType(const Aws::String &value)
const Aws::String & GetSourceId() const
ContextSource & WithSourceId(Aws::String &&value)
ContextSource & WithSourceId(const Aws::String &value)
ContextSource & WithSourceType(const Aws::String &value)
ContextSource & WithSourceUri(Aws::String &&value)
void SetSourceId(const Aws::String &value)
ContextSource & WithSourceType(Aws::String &&value)
ContextSource & WithSourceId(const char *value)
void SetSourceType(Aws::String &&value)
ContextSource & WithSourceUri(const char *value)
const Aws::String & GetSourceUri() const
void SetSourceUri(Aws::String &&value)
ContextSource & WithSourceType(const char *value)
AWS_SAGEMAKER_API ContextSource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue