AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ShadowModeConfig.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 <aws/sagemaker/model/ShadowModelVariantConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_SAGEMAKER_API ShadowModeConfig();
41 AWS_SAGEMAKER_API ShadowModeConfig(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetSourceModelVariantName() const{ return m_sourceModelVariantName; }
52 inline bool SourceModelVariantNameHasBeenSet() const { return m_sourceModelVariantNameHasBeenSet; }
53 inline void SetSourceModelVariantName(const Aws::String& value) { m_sourceModelVariantNameHasBeenSet = true; m_sourceModelVariantName = value; }
54 inline void SetSourceModelVariantName(Aws::String&& value) { m_sourceModelVariantNameHasBeenSet = true; m_sourceModelVariantName = std::move(value); }
55 inline void SetSourceModelVariantName(const char* value) { m_sourceModelVariantNameHasBeenSet = true; m_sourceModelVariantName.assign(value); }
57 inline ShadowModeConfig& WithSourceModelVariantName(Aws::String&& value) { SetSourceModelVariantName(std::move(value)); return *this;}
58 inline ShadowModeConfig& WithSourceModelVariantName(const char* value) { SetSourceModelVariantName(value); return *this;}
60
62
65 inline const Aws::Vector<ShadowModelVariantConfig>& GetShadowModelVariants() const{ return m_shadowModelVariants; }
66 inline bool ShadowModelVariantsHasBeenSet() const { return m_shadowModelVariantsHasBeenSet; }
67 inline void SetShadowModelVariants(const Aws::Vector<ShadowModelVariantConfig>& value) { m_shadowModelVariantsHasBeenSet = true; m_shadowModelVariants = value; }
68 inline void SetShadowModelVariants(Aws::Vector<ShadowModelVariantConfig>&& value) { m_shadowModelVariantsHasBeenSet = true; m_shadowModelVariants = std::move(value); }
71 inline ShadowModeConfig& AddShadowModelVariants(const ShadowModelVariantConfig& value) { m_shadowModelVariantsHasBeenSet = true; m_shadowModelVariants.push_back(value); return *this; }
72 inline ShadowModeConfig& AddShadowModelVariants(ShadowModelVariantConfig&& value) { m_shadowModelVariantsHasBeenSet = true; m_shadowModelVariants.push_back(std::move(value)); return *this; }
74 private:
75
76 Aws::String m_sourceModelVariantName;
77 bool m_sourceModelVariantNameHasBeenSet = false;
78
79 Aws::Vector<ShadowModelVariantConfig> m_shadowModelVariants;
80 bool m_shadowModelVariantsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SageMaker
85} // namespace Aws
void SetShadowModelVariants(const Aws::Vector< ShadowModelVariantConfig > &value)
ShadowModeConfig & WithSourceModelVariantName(const Aws::String &value)
ShadowModeConfig & WithSourceModelVariantName(Aws::String &&value)
ShadowModeConfig & WithSourceModelVariantName(const char *value)
ShadowModeConfig & AddShadowModelVariants(ShadowModelVariantConfig &&value)
ShadowModeConfig & WithShadowModelVariants(const Aws::Vector< ShadowModelVariantConfig > &value)
void SetSourceModelVariantName(const Aws::String &value)
void SetSourceModelVariantName(const char *value)
void SetSourceModelVariantName(Aws::String &&value)
const Aws::Vector< ShadowModelVariantConfig > & GetShadowModelVariants() const
const Aws::String & GetSourceModelVariantName() const
AWS_SAGEMAKER_API ShadowModeConfig(Aws::Utils::Json::JsonView jsonValue)
ShadowModeConfig & AddShadowModelVariants(const ShadowModelVariantConfig &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ShadowModeConfig & WithShadowModelVariants(Aws::Vector< ShadowModelVariantConfig > &&value)
void SetShadowModelVariants(Aws::Vector< ShadowModelVariantConfig > &&value)
AWS_SAGEMAKER_API ShadowModeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue