/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the traffic pattern of the load test.See Also:
AWS
* API Reference
Defines the traffic patterns.
*/ inline const TrafficType& GetTrafficType() const{ return m_trafficType; } /** *Defines the traffic patterns.
*/ inline bool TrafficTypeHasBeenSet() const { return m_trafficTypeHasBeenSet; } /** *Defines the traffic patterns.
*/ inline void SetTrafficType(const TrafficType& value) { m_trafficTypeHasBeenSet = true; m_trafficType = value; } /** *Defines the traffic patterns.
*/ inline void SetTrafficType(TrafficType&& value) { m_trafficTypeHasBeenSet = true; m_trafficType = std::move(value); } /** *Defines the traffic patterns.
*/ inline TrafficPattern& WithTrafficType(const TrafficType& value) { SetTrafficType(value); return *this;} /** *Defines the traffic patterns.
*/ inline TrafficPattern& WithTrafficType(TrafficType&& value) { SetTrafficType(std::move(value)); return *this;} /** *Defines the phases traffic specification.
*/ inline const Aws::VectorDefines the phases traffic specification.
*/ inline bool PhasesHasBeenSet() const { return m_phasesHasBeenSet; } /** *Defines the phases traffic specification.
*/ inline void SetPhases(const Aws::VectorDefines the phases traffic specification.
*/ inline void SetPhases(Aws::VectorDefines the phases traffic specification.
*/ inline TrafficPattern& WithPhases(const Aws::VectorDefines the phases traffic specification.
*/ inline TrafficPattern& WithPhases(Aws::VectorDefines the phases traffic specification.
*/ inline TrafficPattern& AddPhases(const Phase& value) { m_phasesHasBeenSet = true; m_phases.push_back(value); return *this; } /** *Defines the phases traffic specification.
*/ inline TrafficPattern& AddPhases(Phase&& value) { m_phasesHasBeenSet = true; m_phases.push_back(std::move(value)); return *this; } private: TrafficType m_trafficType; bool m_trafficTypeHasBeenSet = false; Aws::Vector