7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/accessanalyzer/model/Trail.h>
24namespace AccessAnalyzer
66 inline void SetAccessRole(
const char* value) { m_accessRoleHasBeenSet =
true; m_accessRole.assign(value); }
103 bool m_trailsHasBeenSet =
false;
106 bool m_accessRoleHasBeenSet =
false;
109 bool m_startTimeHasBeenSet =
false;
112 bool m_endTimeHasBeenSet =
false;
bool TrailsHasBeenSet() const
CloudTrailDetails & WithTrails(const Aws::Vector< Trail > &value)
CloudTrailDetails & WithAccessRole(const Aws::String &value)
const Aws::Vector< Trail > & GetTrails() const
void SetStartTime(Aws::Utils::DateTime &&value)
CloudTrailDetails & WithAccessRole(const char *value)
bool StartTimeHasBeenSet() const
CloudTrailDetails & WithStartTime(Aws::Utils::DateTime &&value)
AWS_ACCESSANALYZER_API CloudTrailDetails()
const Aws::Utils::DateTime & GetStartTime() const
bool AccessRoleHasBeenSet() const
bool EndTimeHasBeenSet() const
void SetTrails(const Aws::Vector< Trail > &value)
CloudTrailDetails & AddTrails(const Trail &value)
CloudTrailDetails & WithEndTime(Aws::Utils::DateTime &&value)
void SetTrails(Aws::Vector< Trail > &&value)
AWS_ACCESSANALYZER_API CloudTrailDetails(Aws::Utils::Json::JsonView jsonValue)
void SetAccessRole(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
CloudTrailDetails & WithEndTime(const Aws::Utils::DateTime &value)
void SetAccessRole(Aws::String &&value)
AWS_ACCESSANALYZER_API CloudTrailDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudTrailDetails & WithTrails(Aws::Vector< Trail > &&value)
CloudTrailDetails & WithAccessRole(Aws::String &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
CloudTrailDetails & AddTrails(Trail &&value)
const Aws::String & GetAccessRole() const
void SetEndTime(Aws::Utils::DateTime &&value)
CloudTrailDetails & WithStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetAccessRole(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue