7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/TrailProperties.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AccessAnalyzer {
43 template <
typename TrailPropertiesT = Aws::Vector<TrailProperties>>
45 m_trailPropertiesHasBeenSet =
true;
46 m_trailProperties = std::forward<TrailPropertiesT>(value);
48 template <
typename TrailPropertiesT = Aws::Vector<TrailProperties>>
53 template <
typename TrailPropertiesT = TrailProperties>
55 m_trailPropertiesHasBeenSet =
true;
56 m_trailProperties.emplace_back(std::forward<TrailPropertiesT>(value));
69 template <
typename StartTimeT = Aws::Utils::DateTime>
71 m_startTimeHasBeenSet =
true;
72 m_startTime = std::forward<StartTimeT>(value);
74 template <
typename StartTimeT = Aws::Utils::DateTime>
90 template <
typename EndTimeT = Aws::Utils::DateTime>
92 m_endTimeHasBeenSet =
true;
93 m_endTime = std::forward<EndTimeT>(value);
95 template <
typename EndTimeT = Aws::Utils::DateTime>
107 bool m_trailPropertiesHasBeenSet =
false;
108 bool m_startTimeHasBeenSet =
false;
109 bool m_endTimeHasBeenSet =
false;
AWS_ACCESSANALYZER_API CloudTrailProperties(Aws::Utils::Json::JsonView jsonValue)
CloudTrailProperties & AddTrailProperties(TrailPropertiesT &&value)
bool TrailPropertiesHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
AWS_ACCESSANALYZER_API CloudTrailProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TrailProperties > & GetTrailProperties() const
CloudTrailProperties & WithTrailProperties(TrailPropertiesT &&value)
AWS_ACCESSANALYZER_API CloudTrailProperties()=default
const Aws::Utils::DateTime & GetStartTime() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool StartTimeHasBeenSet() const
bool EndTimeHasBeenSet() const
void SetTrailProperties(TrailPropertiesT &&value)
void SetEndTime(EndTimeT &&value)
CloudTrailProperties & WithStartTime(StartTimeT &&value)
CloudTrailProperties & WithEndTime(EndTimeT &&value)
void SetStartTime(StartTimeT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue