AWS SDK for C++  1.9.157
AWS SDK for C++
PublicWorkforceTaskPrice.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
74  {
75  public:
80 
81 
86  inline const USD& GetAmountInUsd() const{ return m_amountInUsd; }
87 
92  inline bool AmountInUsdHasBeenSet() const { return m_amountInUsdHasBeenSet; }
93 
98  inline void SetAmountInUsd(const USD& value) { m_amountInUsdHasBeenSet = true; m_amountInUsd = value; }
99 
104  inline void SetAmountInUsd(USD&& value) { m_amountInUsdHasBeenSet = true; m_amountInUsd = std::move(value); }
105 
110  inline PublicWorkforceTaskPrice& WithAmountInUsd(const USD& value) { SetAmountInUsd(value); return *this;}
111 
116  inline PublicWorkforceTaskPrice& WithAmountInUsd(USD&& value) { SetAmountInUsd(std::move(value)); return *this;}
117 
118  private:
119 
120  USD m_amountInUsd;
121  bool m_amountInUsdHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace SageMaker
126 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::PublicWorkforceTaskPrice::AmountInUsdHasBeenSet
bool AmountInUsdHasBeenSet() const
Definition: PublicWorkforceTaskPrice.h:92
Aws::SageMaker::Model::PublicWorkforceTaskPrice::PublicWorkforceTaskPrice
PublicWorkforceTaskPrice(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::PublicWorkforceTaskPrice::SetAmountInUsd
void SetAmountInUsd(USD &&value)
Definition: PublicWorkforceTaskPrice.h:104
Aws::SageMaker::Model::PublicWorkforceTaskPrice::PublicWorkforceTaskPrice
PublicWorkforceTaskPrice()
Aws::SageMaker::Model::PublicWorkforceTaskPrice::SetAmountInUsd
void SetAmountInUsd(const USD &value)
Definition: PublicWorkforceTaskPrice.h:98
Aws::SageMaker::Model::PublicWorkforceTaskPrice::GetAmountInUsd
const USD & GetAmountInUsd() const
Definition: PublicWorkforceTaskPrice.h:86
Aws::SageMaker::Model::PublicWorkforceTaskPrice::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::USD
Definition: USD.h:31
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::PublicWorkforceTaskPrice::WithAmountInUsd
PublicWorkforceTaskPrice & WithAmountInUsd(USD &&value)
Definition: PublicWorkforceTaskPrice.h:116
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::PublicWorkforceTaskPrice
Definition: PublicWorkforceTaskPrice.h:74
Aws
Definition: AccessManagementClient.h:15
USD.h
Aws::SageMaker::Model::PublicWorkforceTaskPrice::operator=
PublicWorkforceTaskPrice & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::PublicWorkforceTaskPrice::WithAmountInUsd
PublicWorkforceTaskPrice & WithAmountInUsd(const USD &value)
Definition: PublicWorkforceTaskPrice.h:110