AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OptimizationJobModelSourceS3.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/OptimizationModelAccessConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API OptimizationJobModelSourceS3();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
48 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
49 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
50 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
51 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
52 inline OptimizationJobModelSourceS3& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
53 inline OptimizationJobModelSourceS3& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
54 inline OptimizationJobModelSourceS3& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
56
58
62 inline const OptimizationModelAccessConfig& GetModelAccessConfig() const{ return m_modelAccessConfig; }
63 inline bool ModelAccessConfigHasBeenSet() const { return m_modelAccessConfigHasBeenSet; }
64 inline void SetModelAccessConfig(const OptimizationModelAccessConfig& value) { m_modelAccessConfigHasBeenSet = true; m_modelAccessConfig = value; }
65 inline void SetModelAccessConfig(OptimizationModelAccessConfig&& value) { m_modelAccessConfigHasBeenSet = true; m_modelAccessConfig = std::move(value); }
69 private:
70
71 Aws::String m_s3Uri;
72 bool m_s3UriHasBeenSet = false;
73
74 OptimizationModelAccessConfig m_modelAccessConfig;
75 bool m_modelAccessConfigHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
OptimizationJobModelSourceS3 & WithS3Uri(const Aws::String &value)
OptimizationJobModelSourceS3 & WithS3Uri(Aws::String &&value)
void SetModelAccessConfig(OptimizationModelAccessConfig &&value)
void SetModelAccessConfig(const OptimizationModelAccessConfig &value)
OptimizationJobModelSourceS3 & WithModelAccessConfig(const OptimizationModelAccessConfig &value)
const OptimizationModelAccessConfig & GetModelAccessConfig() const
OptimizationJobModelSourceS3 & WithS3Uri(const char *value)
AWS_SAGEMAKER_API OptimizationJobModelSourceS3 & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API OptimizationJobModelSourceS3(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
OptimizationJobModelSourceS3 & WithModelAccessConfig(OptimizationModelAccessConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue