7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/accessanalyzer/model/JobStatus.h>
10#include <aws/core/utils/DateTime.h>
23namespace AccessAnalyzer
55 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
70 inline void SetPrincipalArn(
const char* value) { m_principalArnHasBeenSet =
true; m_principalArn.assign(value); }
83 inline void SetStatus(
JobStatus&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
114 bool m_jobIdHasBeenSet =
false;
117 bool m_principalArnHasBeenSet =
false;
120 bool m_statusHasBeenSet =
false;
123 bool m_startedOnHasBeenSet =
false;
126 bool m_completedOnHasBeenSet =
false;
void SetStartedOn(Aws::Utils::DateTime &&value)
AWS_ACCESSANALYZER_API PolicyGeneration()
bool CompletedOnHasBeenSet() const
PolicyGeneration & WithCompletedOn(Aws::Utils::DateTime &&value)
PolicyGeneration & WithJobId(const char *value)
void SetJobId(const Aws::String &value)
PolicyGeneration & WithCompletedOn(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCompletedOn() const
AWS_ACCESSANALYZER_API PolicyGeneration & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyGeneration & WithStatus(const JobStatus &value)
void SetCompletedOn(Aws::Utils::DateTime &&value)
void SetPrincipalArn(const Aws::String &value)
void SetJobId(Aws::String &&value)
void SetJobId(const char *value)
PolicyGeneration & WithPrincipalArn(const char *value)
void SetCompletedOn(const Aws::Utils::DateTime &value)
PolicyGeneration & WithStartedOn(const Aws::Utils::DateTime &value)
PolicyGeneration & WithJobId(Aws::String &&value)
const Aws::String & GetJobId() const
const JobStatus & GetStatus() const
bool StartedOnHasBeenSet() const
bool JobIdHasBeenSet() const
bool StatusHasBeenSet() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartedOn() const
void SetStatus(const JobStatus &value)
const Aws::String & GetPrincipalArn() const
void SetStatus(JobStatus &&value)
bool PrincipalArnHasBeenSet() const
AWS_ACCESSANALYZER_API PolicyGeneration(Aws::Utils::Json::JsonView jsonValue)
PolicyGeneration & WithPrincipalArn(const Aws::String &value)
void SetPrincipalArn(Aws::String &&value)
PolicyGeneration & WithPrincipalArn(Aws::String &&value)
void SetStartedOn(const Aws::Utils::DateTime &value)
PolicyGeneration & WithJobId(const Aws::String &value)
void SetPrincipalArn(const char *value)
PolicyGeneration & WithStartedOn(Aws::Utils::DateTime &&value)
PolicyGeneration & WithStatus(JobStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue