AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineDefinitionS3Location.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
33 {
34 public:
35 AWS_SAGEMAKER_API PipelineDefinitionS3Location();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucket() const{ return m_bucket; }
46 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
47 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
48 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
49 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
50 inline PipelineDefinitionS3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
51 inline PipelineDefinitionS3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
52 inline PipelineDefinitionS3Location& WithBucket(const char* value) { SetBucket(value); return *this;}
54
56
60 inline const Aws::String& GetObjectKey() const{ return m_objectKey; }
61 inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; }
62 inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; }
63 inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); }
64 inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); }
65 inline PipelineDefinitionS3Location& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;}
66 inline PipelineDefinitionS3Location& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;}
67 inline PipelineDefinitionS3Location& WithObjectKey(const char* value) { SetObjectKey(value); return *this;}
69
71
75 inline const Aws::String& GetVersionId() const{ return m_versionId; }
76 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
77 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
78 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
79 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
80 inline PipelineDefinitionS3Location& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
81 inline PipelineDefinitionS3Location& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
82 inline PipelineDefinitionS3Location& WithVersionId(const char* value) { SetVersionId(value); return *this;}
84 private:
85
86 Aws::String m_bucket;
87 bool m_bucketHasBeenSet = false;
88
89 Aws::String m_objectKey;
90 bool m_objectKeyHasBeenSet = false;
91
92 Aws::String m_versionId;
93 bool m_versionIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
PipelineDefinitionS3Location & WithVersionId(const Aws::String &value)
PipelineDefinitionS3Location & WithObjectKey(const Aws::String &value)
PipelineDefinitionS3Location & WithObjectKey(const char *value)
PipelineDefinitionS3Location & WithVersionId(Aws::String &&value)
PipelineDefinitionS3Location & WithVersionId(const char *value)
PipelineDefinitionS3Location & WithBucket(const char *value)
PipelineDefinitionS3Location & WithBucket(const Aws::String &value)
PipelineDefinitionS3Location & WithObjectKey(Aws::String &&value)
AWS_SAGEMAKER_API PipelineDefinitionS3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API PipelineDefinitionS3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineDefinitionS3Location & WithBucket(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue