AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OptimizationJobOutputConfig.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 OptimizationJobOutputConfig();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
48 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
49 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
50 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
51 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
52 inline OptimizationJobOutputConfig& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
53 inline OptimizationJobOutputConfig& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
54 inline OptimizationJobOutputConfig& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
56
58
62 inline const Aws::String& GetS3OutputLocation() const{ return m_s3OutputLocation; }
63 inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
64 inline void SetS3OutputLocation(const Aws::String& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = value; }
65 inline void SetS3OutputLocation(Aws::String&& value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation = std::move(value); }
66 inline void SetS3OutputLocation(const char* value) { m_s3OutputLocationHasBeenSet = true; m_s3OutputLocation.assign(value); }
68 inline OptimizationJobOutputConfig& WithS3OutputLocation(Aws::String&& value) { SetS3OutputLocation(std::move(value)); return *this;}
69 inline OptimizationJobOutputConfig& WithS3OutputLocation(const char* value) { SetS3OutputLocation(value); return *this;}
71 private:
72
73 Aws::String m_kmsKeyId;
74 bool m_kmsKeyIdHasBeenSet = false;
75
76 Aws::String m_s3OutputLocation;
77 bool m_s3OutputLocationHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
OptimizationJobOutputConfig & WithS3OutputLocation(const Aws::String &value)
OptimizationJobOutputConfig & WithKmsKeyId(const Aws::String &value)
OptimizationJobOutputConfig & WithS3OutputLocation(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API OptimizationJobOutputConfig(Aws::Utils::Json::JsonView jsonValue)
OptimizationJobOutputConfig & WithKmsKeyId(Aws::String &&value)
AWS_SAGEMAKER_API OptimizationJobOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
OptimizationJobOutputConfig & WithS3OutputLocation(Aws::String &&value)
OptimizationJobOutputConfig & WithKmsKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue