AWS SDK for C++  1.9.159
AWS SDK for C++
CollectionConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
47 
52  inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
53 
58  inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
59 
64  inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
65 
70  inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
71 
76  inline CollectionConfiguration& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;}
77 
82  inline CollectionConfiguration& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
83 
88  inline CollectionConfiguration& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
89 
90 
97  inline const Aws::Map<Aws::String, Aws::String>& GetCollectionParameters() const{ return m_collectionParameters; }
98 
105  inline bool CollectionParametersHasBeenSet() const { return m_collectionParametersHasBeenSet; }
106 
113  inline void SetCollectionParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters = value; }
114 
121  inline void SetCollectionParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters = std::move(value); }
122 
129  inline CollectionConfiguration& WithCollectionParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetCollectionParameters(value); return *this;}
130 
137  inline CollectionConfiguration& WithCollectionParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetCollectionParameters(std::move(value)); return *this;}
138 
145  inline CollectionConfiguration& AddCollectionParameters(const Aws::String& key, const Aws::String& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, value); return *this; }
146 
153  inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, const Aws::String& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), value); return *this; }
154 
161  inline CollectionConfiguration& AddCollectionParameters(const Aws::String& key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, std::move(value)); return *this; }
162 
169  inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), std::move(value)); return *this; }
170 
177  inline CollectionConfiguration& AddCollectionParameters(const char* key, Aws::String&& value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, std::move(value)); return *this; }
178 
185  inline CollectionConfiguration& AddCollectionParameters(Aws::String&& key, const char* value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(std::move(key), value); return *this; }
186 
193  inline CollectionConfiguration& AddCollectionParameters(const char* key, const char* value) { m_collectionParametersHasBeenSet = true; m_collectionParameters.emplace(key, value); return *this; }
194 
195  private:
196 
197  Aws::String m_collectionName;
198  bool m_collectionNameHasBeenSet;
199 
200  Aws::Map<Aws::String, Aws::String> m_collectionParameters;
201  bool m_collectionParametersHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace SageMaker
206 } // namespace Aws
Aws::SageMaker::Model::CollectionConfiguration::CollectionNameHasBeenSet
bool CollectionNameHasBeenSet() const
Definition: CollectionConfiguration.h:52
Aws::SageMaker::Model::CollectionConfiguration::WithCollectionParameters
CollectionConfiguration & WithCollectionParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CollectionConfiguration.h:137
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CollectionConfiguration::SetCollectionName
void SetCollectionName(const char *value)
Definition: CollectionConfiguration.h:70
Aws::SageMaker::Model::CollectionConfiguration::WithCollectionParameters
CollectionConfiguration & WithCollectionParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CollectionConfiguration.h:129
Aws::SageMaker::Model::CollectionConfiguration::SetCollectionParameters
void SetCollectionParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CollectionConfiguration.h:113
Aws::SageMaker::Model::CollectionConfiguration::SetCollectionName
void SetCollectionName(const Aws::String &value)
Definition: CollectionConfiguration.h:58
Aws::SageMaker::Model::CollectionConfiguration::AddCollectionParameters
CollectionConfiguration & AddCollectionParameters(Aws::String &&key, const char *value)
Definition: CollectionConfiguration.h:185
Aws::SageMaker::Model::CollectionConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::CollectionConfiguration::AddCollectionParameters
CollectionConfiguration & AddCollectionParameters(Aws::String &&key, Aws::String &&value)
Definition: CollectionConfiguration.h:169
Aws::SageMaker::Model::CollectionConfiguration::SetCollectionParameters
void SetCollectionParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CollectionConfiguration.h:121
Aws::SageMaker::Model::CollectionConfiguration::GetCollectionName
const Aws::String & GetCollectionName() const
Definition: CollectionConfiguration.h:46
Aws::SageMaker::Model::CollectionConfiguration::CollectionParametersHasBeenSet
bool CollectionParametersHasBeenSet() const
Definition: CollectionConfiguration.h:105
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CollectionConfiguration::WithCollectionName
CollectionConfiguration & WithCollectionName(Aws::String &&value)
Definition: CollectionConfiguration.h:82
Aws::SageMaker::Model::CollectionConfiguration
Definition: CollectionConfiguration.h:34
Aws::SageMaker::Model::CollectionConfiguration::AddCollectionParameters
CollectionConfiguration & AddCollectionParameters(const Aws::String &key, Aws::String &&value)
Definition: CollectionConfiguration.h:161
Aws::SageMaker::Model::CollectionConfiguration::CollectionConfiguration
CollectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CollectionConfiguration::AddCollectionParameters
CollectionConfiguration & AddCollectionParameters(const Aws::String &key, const Aws::String &value)
Definition: CollectionConfiguration.h:145
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CollectionConfiguration::AddCollectionParameters
CollectionConfiguration & AddCollectionParameters(const char *key, Aws::String &&value)
Definition: CollectionConfiguration.h:177
Aws::SageMaker::Model::CollectionConfiguration::AddCollectionParameters
CollectionConfiguration & AddCollectionParameters(Aws::String &&key, const Aws::String &value)
Definition: CollectionConfiguration.h:153
Aws::SageMaker::Model::CollectionConfiguration::AddCollectionParameters
CollectionConfiguration & AddCollectionParameters(const char *key, const char *value)
Definition: CollectionConfiguration.h:193
Aws::SageMaker::Model::CollectionConfiguration::operator=
CollectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CollectionConfiguration::WithCollectionName
CollectionConfiguration & WithCollectionName(const Aws::String &value)
Definition: CollectionConfiguration.h:76
Aws::SageMaker::Model::CollectionConfiguration::CollectionConfiguration
CollectionConfiguration()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CollectionConfiguration::GetCollectionParameters
const Aws::Map< Aws::String, Aws::String > & GetCollectionParameters() const
Definition: CollectionConfiguration.h:97
Aws::SageMaker::Model::CollectionConfiguration::SetCollectionName
void SetCollectionName(Aws::String &&value)
Definition: CollectionConfiguration.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CollectionConfiguration::WithCollectionName
CollectionConfiguration & WithCollectionName(const char *value)
Definition: CollectionConfiguration.h:88
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19