7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appstream/model/UsageReportSchedule.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/appstream/model/LastReportGenerationExecutionError.h>
59 inline void SetS3BucketName(
const char* value) { m_s3BucketNameHasBeenSet =
true; m_s3BucketName.assign(value); }
105 bool m_s3BucketNameHasBeenSet =
false;
108 bool m_scheduleHasBeenSet =
false;
111 bool m_lastGeneratedReportDateHasBeenSet =
false;
114 bool m_subscriptionErrorsHasBeenSet =
false;
void SetLastGeneratedReportDate(Aws::Utils::DateTime &&value)
UsageReportSubscription & WithS3BucketName(const char *value)
bool S3BucketNameHasBeenSet() const
UsageReportSubscription & WithLastGeneratedReportDate(const Aws::Utils::DateTime &value)
UsageReportSubscription & WithSubscriptionErrors(const Aws::Vector< LastReportGenerationExecutionError > &value)
UsageReportSubscription & WithSchedule(UsageReportSchedule &&value)
void SetSubscriptionErrors(Aws::Vector< LastReportGenerationExecutionError > &&value)
const Aws::Vector< LastReportGenerationExecutionError > & GetSubscriptionErrors() const
bool SubscriptionErrorsHasBeenSet() const
bool ScheduleHasBeenSet() const
const Aws::Utils::DateTime & GetLastGeneratedReportDate() const
void SetS3BucketName(const Aws::String &value)
bool LastGeneratedReportDateHasBeenSet() const
UsageReportSubscription & AddSubscriptionErrors(const LastReportGenerationExecutionError &value)
const Aws::String & GetS3BucketName() const
void SetSubscriptionErrors(const Aws::Vector< LastReportGenerationExecutionError > &value)
void SetS3BucketName(Aws::String &&value)
void SetSchedule(UsageReportSchedule &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API UsageReportSubscription()
UsageReportSubscription & WithS3BucketName(const Aws::String &value)
AWS_APPSTREAM_API UsageReportSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
UsageReportSubscription & WithSubscriptionErrors(Aws::Vector< LastReportGenerationExecutionError > &&value)
UsageReportSubscription & WithS3BucketName(Aws::String &&value)
const UsageReportSchedule & GetSchedule() const
void SetS3BucketName(const char *value)
UsageReportSubscription & AddSubscriptionErrors(LastReportGenerationExecutionError &&value)
UsageReportSubscription & WithSchedule(const UsageReportSchedule &value)
AWS_APPSTREAM_API UsageReportSubscription(Aws::Utils::Json::JsonView jsonValue)
void SetLastGeneratedReportDate(const Aws::Utils::DateTime &value)
UsageReportSubscription & WithLastGeneratedReportDate(Aws::Utils::DateTime &&value)
void SetSchedule(const UsageReportSchedule &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