AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PipelineDefinitionS3Location.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API PipelineDefinitionS3Location() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBucket() const { return m_bucket; }
40 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
41 template <typename BucketT = Aws::String>
42 void SetBucket(BucketT&& value) {
43 m_bucketHasBeenSet = true;
44 m_bucket = std::forward<BucketT>(value);
45 }
46 template <typename BucketT = Aws::String>
48 SetBucket(std::forward<BucketT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetObjectKey() const { return m_objectKey; }
59 inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; }
60 template <typename ObjectKeyT = Aws::String>
61 void SetObjectKey(ObjectKeyT&& value) {
62 m_objectKeyHasBeenSet = true;
63 m_objectKey = std::forward<ObjectKeyT>(value);
64 }
65 template <typename ObjectKeyT = Aws::String>
67 SetObjectKey(std::forward<ObjectKeyT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetVersionId() const { return m_versionId; }
78 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
79 template <typename VersionIdT = Aws::String>
80 void SetVersionId(VersionIdT&& value) {
81 m_versionIdHasBeenSet = true;
82 m_versionId = std::forward<VersionIdT>(value);
83 }
84 template <typename VersionIdT = Aws::String>
86 SetVersionId(std::forward<VersionIdT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_bucket;
92
93 Aws::String m_objectKey;
94
95 Aws::String m_versionId;
96 bool m_bucketHasBeenSet = false;
97 bool m_objectKeyHasBeenSet = false;
98 bool m_versionIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SageMaker
103} // namespace Aws
AWS_SAGEMAKER_API PipelineDefinitionS3Location()=default
PipelineDefinitionS3Location & WithVersionId(VersionIdT &&value)
PipelineDefinitionS3Location & WithObjectKey(ObjectKeyT &&value)
AWS_SAGEMAKER_API PipelineDefinitionS3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineDefinitionS3Location & WithBucket(BucketT &&value)
AWS_SAGEMAKER_API PipelineDefinitionS3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue