AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileSource.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 FileSource();
35 AWS_SAGEMAKER_API FileSource(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API FileSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetContentType() const{ return m_contentType; }
45 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
46 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
47 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
48 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
49 inline FileSource& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
50 inline FileSource& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
51 inline FileSource& WithContentType(const char* value) { SetContentType(value); return *this;}
53
55
58 inline const Aws::String& GetContentDigest() const{ return m_contentDigest; }
59 inline bool ContentDigestHasBeenSet() const { return m_contentDigestHasBeenSet; }
60 inline void SetContentDigest(const Aws::String& value) { m_contentDigestHasBeenSet = true; m_contentDigest = value; }
61 inline void SetContentDigest(Aws::String&& value) { m_contentDigestHasBeenSet = true; m_contentDigest = std::move(value); }
62 inline void SetContentDigest(const char* value) { m_contentDigestHasBeenSet = true; m_contentDigest.assign(value); }
63 inline FileSource& WithContentDigest(const Aws::String& value) { SetContentDigest(value); return *this;}
64 inline FileSource& WithContentDigest(Aws::String&& value) { SetContentDigest(std::move(value)); return *this;}
65 inline FileSource& WithContentDigest(const char* value) { SetContentDigest(value); return *this;}
67
69
72 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
73 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
74 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
75 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
76 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
77 inline FileSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
78 inline FileSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
79 inline FileSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
81 private:
82
83 Aws::String m_contentType;
84 bool m_contentTypeHasBeenSet = false;
85
86 Aws::String m_contentDigest;
87 bool m_contentDigestHasBeenSet = false;
88
89 Aws::String m_s3Uri;
90 bool m_s3UriHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SageMaker
95} // namespace Aws
const Aws::String & GetS3Uri() const
Definition FileSource.h:72
void SetS3Uri(const char *value)
Definition FileSource.h:76
const Aws::String & GetContentType() const
Definition FileSource.h:44
AWS_SAGEMAKER_API FileSource(Aws::Utils::Json::JsonView jsonValue)
FileSource & WithS3Uri(const char *value)
Definition FileSource.h:79
AWS_SAGEMAKER_API FileSource()
FileSource & WithContentType(const char *value)
Definition FileSource.h:51
FileSource & WithContentType(Aws::String &&value)
Definition FileSource.h:50
FileSource & WithContentDigest(const char *value)
Definition FileSource.h:65
FileSource & WithContentDigest(Aws::String &&value)
Definition FileSource.h:64
void SetContentType(const Aws::String &value)
Definition FileSource.h:46
void SetS3Uri(Aws::String &&value)
Definition FileSource.h:75
AWS_SAGEMAKER_API FileSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentDigest(const char *value)
Definition FileSource.h:62
void SetContentType(Aws::String &&value)
Definition FileSource.h:47
void SetS3Uri(const Aws::String &value)
Definition FileSource.h:74
void SetContentDigest(Aws::String &&value)
Definition FileSource.h:61
const Aws::String & GetContentDigest() const
Definition FileSource.h:58
FileSource & WithS3Uri(const Aws::String &value)
Definition FileSource.h:77
void SetContentType(const char *value)
Definition FileSource.h:48
void SetContentDigest(const Aws::String &value)
Definition FileSource.h:60
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
FileSource & WithContentDigest(const Aws::String &value)
Definition FileSource.h:63
FileSource & WithS3Uri(Aws::String &&value)
Definition FileSource.h:78
FileSource & WithContentType(const Aws::String &value)
Definition FileSource.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue