AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublicWorkforceTaskPrice.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/USD.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
74 {
75 public:
76 AWS_SAGEMAKER_API PublicWorkforceTaskPrice();
79 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
80
81
83
87 inline const USD& GetAmountInUsd() const{ return m_amountInUsd; }
88 inline bool AmountInUsdHasBeenSet() const { return m_amountInUsdHasBeenSet; }
89 inline void SetAmountInUsd(const USD& value) { m_amountInUsdHasBeenSet = true; m_amountInUsd = value; }
90 inline void SetAmountInUsd(USD&& value) { m_amountInUsdHasBeenSet = true; m_amountInUsd = std::move(value); }
91 inline PublicWorkforceTaskPrice& WithAmountInUsd(const USD& value) { SetAmountInUsd(value); return *this;}
92 inline PublicWorkforceTaskPrice& WithAmountInUsd(USD&& value) { SetAmountInUsd(std::move(value)); return *this;}
94 private:
95
96 USD m_amountInUsd;
97 bool m_amountInUsdHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SageMaker
102} // namespace Aws
PublicWorkforceTaskPrice & WithAmountInUsd(const USD &value)
PublicWorkforceTaskPrice & WithAmountInUsd(USD &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API PublicWorkforceTaskPrice & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API PublicWorkforceTaskPrice(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue