AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateUsageReportSubscriptionResult.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppStream
25{
26namespace Model
27{
29 {
30 public:
34
35
45 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
46
56 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketName = value; }
57
67 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketName = std::move(value); }
68
78 inline void SetS3BucketName(const char* value) { m_s3BucketName.assign(value); }
79
90
100 inline CreateUsageReportSubscriptionResult& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
101
111 inline CreateUsageReportSubscriptionResult& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
112
113
117 inline const UsageReportSchedule& GetSchedule() const{ return m_schedule; }
118
122 inline void SetSchedule(const UsageReportSchedule& value) { m_schedule = value; }
123
127 inline void SetSchedule(UsageReportSchedule&& value) { m_schedule = std::move(value); }
128
133
137 inline CreateUsageReportSubscriptionResult& WithSchedule(UsageReportSchedule&& value) { SetSchedule(std::move(value)); return *this;}
138
139 private:
140
141 Aws::String m_s3BucketName;
142
143 UsageReportSchedule m_schedule;
144 };
145
146} // namespace Model
147} // namespace AppStream
148} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API CreateUsageReportSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUsageReportSubscriptionResult & WithS3BucketName(Aws::String &&value)
CreateUsageReportSubscriptionResult & WithSchedule(const UsageReportSchedule &value)
CreateUsageReportSubscriptionResult & WithSchedule(UsageReportSchedule &&value)
AWS_APPSTREAM_API CreateUsageReportSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUsageReportSubscriptionResult & WithS3BucketName(const char *value)
CreateUsageReportSubscriptionResult & WithS3BucketName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String