AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationJobPayloadConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 RecommendationJobPayloadConfig();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetSamplePayloadUrl() const{ return m_samplePayloadUrl; }
49 inline bool SamplePayloadUrlHasBeenSet() const { return m_samplePayloadUrlHasBeenSet; }
50 inline void SetSamplePayloadUrl(const Aws::String& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = value; }
51 inline void SetSamplePayloadUrl(Aws::String&& value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl = std::move(value); }
52 inline void SetSamplePayloadUrl(const char* value) { m_samplePayloadUrlHasBeenSet = true; m_samplePayloadUrl.assign(value); }
54 inline RecommendationJobPayloadConfig& WithSamplePayloadUrl(Aws::String&& value) { SetSamplePayloadUrl(std::move(value)); return *this;}
55 inline RecommendationJobPayloadConfig& WithSamplePayloadUrl(const char* value) { SetSamplePayloadUrl(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetSupportedContentTypes() const{ return m_supportedContentTypes; }
63 inline bool SupportedContentTypesHasBeenSet() const { return m_supportedContentTypesHasBeenSet; }
64 inline void SetSupportedContentTypes(const Aws::Vector<Aws::String>& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes = value; }
65 inline void SetSupportedContentTypes(Aws::Vector<Aws::String>&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes = std::move(value); }
68 inline RecommendationJobPayloadConfig& AddSupportedContentTypes(const Aws::String& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; }
69 inline RecommendationJobPayloadConfig& AddSupportedContentTypes(Aws::String&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(std::move(value)); return *this; }
70 inline RecommendationJobPayloadConfig& AddSupportedContentTypes(const char* value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; }
72 private:
73
74 Aws::String m_samplePayloadUrl;
75 bool m_samplePayloadUrlHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_supportedContentTypes;
78 bool m_supportedContentTypesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SageMaker
83} // namespace Aws
RecommendationJobPayloadConfig & WithSamplePayloadUrl(Aws::String &&value)
RecommendationJobPayloadConfig & WithSamplePayloadUrl(const Aws::String &value)
void SetSupportedContentTypes(const Aws::Vector< Aws::String > &value)
RecommendationJobPayloadConfig & WithSamplePayloadUrl(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationJobPayloadConfig & AddSupportedContentTypes(Aws::String &&value)
AWS_SAGEMAKER_API RecommendationJobPayloadConfig(Aws::Utils::Json::JsonView jsonValue)
RecommendationJobPayloadConfig & AddSupportedContentTypes(const char *value)
AWS_SAGEMAKER_API RecommendationJobPayloadConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationJobPayloadConfig & AddSupportedContentTypes(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSupportedContentTypes() const
void SetSupportedContentTypes(Aws::Vector< Aws::String > &&value)
RecommendationJobPayloadConfig & WithSupportedContentTypes(Aws::Vector< Aws::String > &&value)
RecommendationJobPayloadConfig & WithSupportedContentTypes(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue