7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/Phase.h>
10#include <aws/sagemaker/model/Stairs.h>
11#include <aws/sagemaker/model/TrafficType.h>
45 m_trafficTypeHasBeenSet =
true;
46 m_trafficType = value;
60 template <
typename PhasesT = Aws::Vector<Phase>>
62 m_phasesHasBeenSet =
true;
63 m_phases = std::forward<PhasesT>(value);
65 template <
typename PhasesT = Aws::Vector<Phase>>
70 template <
typename PhasesT = Phase>
72 m_phasesHasBeenSet =
true;
73 m_phases.emplace_back(std::forward<PhasesT>(value));
84 template <
typename StairsT = Stairs>
86 m_stairsHasBeenSet =
true;
87 m_stairs = std::forward<StairsT>(value);
89 template <
typename StairsT = Stairs>
101 bool m_trafficTypeHasBeenSet =
false;
102 bool m_phasesHasBeenSet =
false;
103 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