AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingDeploymentSummary.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/core/utils/DateTime.h>
11#include <aws/sagemaker/model/PendingProductionVariantSummary.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API PendingDeploymentSummary();
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; }
49 inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; }
50 inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; }
51 inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); }
52 inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); }
54 inline PendingDeploymentSummary& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;}
55 inline PendingDeploymentSummary& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;}
57
59
65 inline const Aws::Vector<PendingProductionVariantSummary>& GetProductionVariants() const{ return m_productionVariants; }
66 inline bool ProductionVariantsHasBeenSet() const { return m_productionVariantsHasBeenSet; }
67 inline void SetProductionVariants(const Aws::Vector<PendingProductionVariantSummary>& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = value; }
68 inline void SetProductionVariants(Aws::Vector<PendingProductionVariantSummary>&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = std::move(value); }
71 inline PendingDeploymentSummary& AddProductionVariants(const PendingProductionVariantSummary& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(value); return *this; }
72 inline PendingDeploymentSummary& AddProductionVariants(PendingProductionVariantSummary&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(std::move(value)); return *this; }
74
76
79 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
80 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
81 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
82 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
83 inline PendingDeploymentSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
84 inline PendingDeploymentSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
86
88
95 inline const Aws::Vector<PendingProductionVariantSummary>& GetShadowProductionVariants() const{ return m_shadowProductionVariants; }
96 inline bool ShadowProductionVariantsHasBeenSet() const { return m_shadowProductionVariantsHasBeenSet; }
97 inline void SetShadowProductionVariants(const Aws::Vector<PendingProductionVariantSummary>& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = value; }
98 inline void SetShadowProductionVariants(Aws::Vector<PendingProductionVariantSummary>&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = std::move(value); }
101 inline PendingDeploymentSummary& AddShadowProductionVariants(const PendingProductionVariantSummary& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.push_back(value); return *this; }
102 inline PendingDeploymentSummary& AddShadowProductionVariants(PendingProductionVariantSummary&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.push_back(std::move(value)); return *this; }
104 private:
105
106 Aws::String m_endpointConfigName;
107 bool m_endpointConfigNameHasBeenSet = false;
108
110 bool m_productionVariantsHasBeenSet = false;
111
112 Aws::Utils::DateTime m_startTime;
113 bool m_startTimeHasBeenSet = false;
114
115 Aws::Vector<PendingProductionVariantSummary> m_shadowProductionVariants;
116 bool m_shadowProductionVariantsHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SageMaker
121} // namespace Aws
PendingDeploymentSummary & WithShadowProductionVariants(const Aws::Vector< PendingProductionVariantSummary > &value)
const Aws::Vector< PendingProductionVariantSummary > & GetShadowProductionVariants() const
const Aws::Utils::DateTime & GetStartTime() const
AWS_SAGEMAKER_API PendingDeploymentSummary(Aws::Utils::Json::JsonView jsonValue)
PendingDeploymentSummary & WithEndpointConfigName(Aws::String &&value)
PendingDeploymentSummary & WithStartTime(Aws::Utils::DateTime &&value)
PendingDeploymentSummary & AddShadowProductionVariants(PendingProductionVariantSummary &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
PendingDeploymentSummary & WithEndpointConfigName(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
PendingDeploymentSummary & WithProductionVariants(Aws::Vector< PendingProductionVariantSummary > &&value)
void SetShadowProductionVariants(Aws::Vector< PendingProductionVariantSummary > &&value)
PendingDeploymentSummary & WithEndpointConfigName(const char *value)
void SetProductionVariants(const Aws::Vector< PendingProductionVariantSummary > &value)
const Aws::Vector< PendingProductionVariantSummary > & GetProductionVariants() const
PendingDeploymentSummary & WithStartTime(const Aws::Utils::DateTime &value)
void SetShadowProductionVariants(const Aws::Vector< PendingProductionVariantSummary > &value)
PendingDeploymentSummary & WithProductionVariants(const Aws::Vector< PendingProductionVariantSummary > &value)
PendingDeploymentSummary & AddShadowProductionVariants(const PendingProductionVariantSummary &value)
PendingDeploymentSummary & WithShadowProductionVariants(Aws::Vector< PendingProductionVariantSummary > &&value)
PendingDeploymentSummary & AddProductionVariants(PendingProductionVariantSummary &&value)
PendingDeploymentSummary & AddProductionVariants(const PendingProductionVariantSummary &value)
void SetProductionVariants(Aws::Vector< PendingProductionVariantSummary > &&value)
AWS_SAGEMAKER_API PendingDeploymentSummary & 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