AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CollectionConfiguration.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/AWSMap.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 CollectionConfiguration();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
48 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
49 inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
50 inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
51 inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
52 inline CollectionConfiguration& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
53 inline CollectionConfiguration& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
54 inline CollectionConfiguration& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
56
58
64 inline const Aws::Map<Aws::String, Aws::String>& GetCollectionParameters() const{ return m_collectionParameters; }
65 inline bool CollectionParametersHasBeenSet() const { return m_collectionParametersHasBeenSet; }
66 inline void SetCollectionParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters = value; }
67 inline void SetCollectionParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters = std::move(value); }
70 inline CollectionConfiguration& AddCollectionParameters(const Aws::String& key, const Aws::String& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, value); return *this; }
71 inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, const Aws::String& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), value); return *this; }
72 inline CollectionConfiguration& AddCollectionParameters(const Aws::String& key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, std::move(value)); return *this; }
73 inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), std::move(value)); return *this; }
74 inline CollectionConfiguration& AddCollectionParameters(const char* key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, std::move(value)); return *this; }
75 inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, const char* value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), value); return *this; }
76 inline CollectionConfiguration& AddCollectionParameters(const char* key, const char* value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, value); return *this; }
78 private:
79
80 Aws::String m_collectionName;
81 bool m_collectionNameHasBeenSet = false;
82
83 Aws::Map<Aws::String, Aws::String> m_collectionParameters;
84 bool m_collectionParametersHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SageMaker
89} // namespace Aws
void SetCollectionParameters(Aws::Map< Aws::String, Aws::String > &&value)
CollectionConfiguration & WithCollectionName(const Aws::String &value)
CollectionConfiguration & WithCollectionParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetCollectionParameters(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
CollectionConfiguration & AddCollectionParameters(const char *key, Aws::String &&value)
CollectionConfiguration & WithCollectionName(const char *value)
CollectionConfiguration & AddCollectionParameters(const Aws::String &key, const Aws::String &value)
AWS_SAGEMAKER_API CollectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CollectionConfiguration & WithCollectionParameters(const Aws::Map< Aws::String, Aws::String > &value)
CollectionConfiguration & AddCollectionParameters(Aws::String &&key, Aws::String &&value)
CollectionConfiguration & AddCollectionParameters(const Aws::String &key, Aws::String &&value)
AWS_SAGEMAKER_API CollectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
CollectionConfiguration & WithCollectionName(Aws::String &&value)
CollectionConfiguration & AddCollectionParameters(Aws::String &&key, const char *value)
CollectionConfiguration & AddCollectionParameters(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCollectionParameters() const
CollectionConfiguration & AddCollectionParameters(const char *key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue