7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrafficType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/Stairs.h>
11#include <aws/sagemaker/model/Phase.h>
60 template<
typename PhasesT = Aws::Vector<Phase>>
61 void SetPhases(PhasesT&& value) { m_phasesHasBeenSet =
true; m_phases = std::forward<PhasesT>(value); }
62 template<
typename PhasesT = Aws::Vector<Phase>>
64 template<
typename PhasesT = Phase>
65 TrafficPattern&
AddPhases(PhasesT&& value) { m_phasesHasBeenSet =
true; m_phases.emplace_back(std::forward<PhasesT>(value));
return *
this; }
74 template<
typename StairsT = Stairs>
75 void SetStairs(StairsT&& value) { m_stairsHasBeenSet =
true; m_stairs = std::forward<StairsT>(value); }
76 template<
typename StairsT = Stairs>
82 bool m_trafficTypeHasBeenSet =
false;
85 bool m_phasesHasBeenSet =
false;
88 bool m_stairsHasBeenSet =
false;
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTrafficType(TrafficType value)
TrafficPattern & AddPhases(PhasesT &&value)
bool PhasesHasBeenSet() const
AWS_SAGEMAKER_API TrafficPattern(Aws::Utils::Json::JsonView jsonValue)
void SetPhases(PhasesT &&value)
const Stairs & GetStairs() const
const Aws::Vector< Phase > & GetPhases() const
bool TrafficTypeHasBeenSet() const
AWS_SAGEMAKER_API TrafficPattern & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StairsHasBeenSet() const
AWS_SAGEMAKER_API TrafficPattern()=default
TrafficPattern & WithTrafficType(TrafficType value)
TrafficPattern & WithPhases(PhasesT &&value)
TrafficType GetTrafficType() const
TrafficPattern & WithStairs(StairsT &&value)
void SetStairs(StairsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue