7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/LastReportGenerationExecutionError.h>
9#include <aws/appstream/model/UsageReportSchedule.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
52 template <
typename S3BucketNameT = Aws::String>
54 m_s3BucketNameHasBeenSet =
true;
55 m_s3BucketName = std::forward<S3BucketNameT>(value);
57 template <
typename S3BucketNameT = Aws::String>
71 m_scheduleHasBeenSet =
true;
86 template <
typename LastGeneratedReportDateT = Aws::Utils::DateTime>
88 m_lastGeneratedReportDateHasBeenSet =
true;
89 m_lastGeneratedReportDate = std::forward<LastGeneratedReportDateT>(value);
91 template <
typename LastGeneratedReportDateT = Aws::Utils::DateTime>
104 template <
typename SubscriptionErrorsT = Aws::Vector<LastReportGenerationExecutionError>>
106 m_subscriptionErrorsHasBeenSet =
true;
107 m_subscriptionErrors = std::forward<SubscriptionErrorsT>(value);
109 template <
typename SubscriptionErrorsT = Aws::Vector<LastReportGenerationExecutionError>>
114 template <
typename SubscriptionErrorsT = LastReportGenerationExecutionError>
116 m_subscriptionErrorsHasBeenSet =
true;
117 m_subscriptionErrors.emplace_back(std::forward<SubscriptionErrorsT>(value));
129 bool m_s3BucketNameHasBeenSet =
false;
130 bool m_scheduleHasBeenSet =
false;
131 bool m_lastGeneratedReportDateHasBeenSet =
false;
132 bool m_subscriptionErrorsHasBeenSet =
false;
UsageReportSchedule GetSchedule() const
bool S3BucketNameHasBeenSet() const
AWS_APPSTREAM_API UsageReportSubscription()=default
UsageReportSubscription & WithLastGeneratedReportDate(LastGeneratedReportDateT &&value)
UsageReportSubscription & AddSubscriptionErrors(SubscriptionErrorsT &&value)
void SetSchedule(UsageReportSchedule value)
const Aws::Vector< LastReportGenerationExecutionError > & GetSubscriptionErrors() const
bool SubscriptionErrorsHasBeenSet() const
bool ScheduleHasBeenSet() const
const Aws::Utils::DateTime & GetLastGeneratedReportDate() const
bool LastGeneratedReportDateHasBeenSet() const
void SetSubscriptionErrors(SubscriptionErrorsT &&value)
const Aws::String & GetS3BucketName() const
UsageReportSubscription & WithSubscriptionErrors(SubscriptionErrorsT &&value)
void SetLastGeneratedReportDate(LastGeneratedReportDateT &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
UsageReportSubscription & WithS3BucketName(S3BucketNameT &&value)
void SetS3BucketName(S3BucketNameT &&value)
AWS_APPSTREAM_API UsageReportSubscription & operator=(Aws::Utils::Json::JsonView jsonValue)
UsageReportSubscription & WithSchedule(UsageReportSchedule value)
AWS_APPSTREAM_API UsageReportSubscription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue