AWS SDK for C++

AWS SDK for C++ Version 1.11.866

Loading...
Searching...
No Matches
AIAdapterS3Entry.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 AIAdapterS3Entry() = default;
31 AWS_SAGEMAKER_API AIAdapterS3Entry(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetAdapterId() const { return m_adapterId; }
43 inline bool AdapterIdHasBeenSet() const { return m_adapterIdHasBeenSet; }
44 template <typename AdapterIdT = Aws::String>
45 void SetAdapterId(AdapterIdT&& value) {
46 m_adapterIdHasBeenSet = true;
47 m_adapterId = std::forward<AdapterIdT>(value);
48 }
49 template <typename AdapterIdT = Aws::String>
50 AIAdapterS3Entry& WithAdapterId(AdapterIdT&& value) {
51 SetAdapterId(std::forward<AdapterIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
62 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
63 template <typename S3UriT = Aws::String>
64 void SetS3Uri(S3UriT&& value) {
65 m_s3UriHasBeenSet = true;
66 m_s3Uri = std::forward<S3UriT>(value);
67 }
68 template <typename S3UriT = Aws::String>
69 AIAdapterS3Entry& WithS3Uri(S3UriT&& value) {
70 SetS3Uri(std::forward<S3UriT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_adapterId;
76
77 Aws::String m_s3Uri;
78 bool m_adapterIdHasBeenSet = false;
79 bool m_s3UriHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace SageMaker
84} // namespace Aws
bool S3UriHasBeenSet() const
AWS_SAGEMAKER_API AIAdapterS3Entry()=default
AIAdapterS3Entry & WithAdapterId(AdapterIdT &&value)
void SetAdapterId(AdapterIdT &&value)
AWS_SAGEMAKER_API AIAdapterS3Entry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAdapterId() const
void SetS3Uri(S3UriT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetS3Uri() const
AIAdapterS3Entry & WithS3Uri(S3UriT &&value)
bool AdapterIdHasBeenSet() const
AWS_SAGEMAKER_API AIAdapterS3Entry(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue