AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateUsageReportSubscriptionResult.h
1
6#pragma once
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 <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
37
46 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
47 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketName = value; }
48 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketName = std::move(value); }
49 inline void SetS3BucketName(const char* value) { m_s3BucketName.assign(value); }
51 inline CreateUsageReportSubscriptionResult& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
52 inline CreateUsageReportSubscriptionResult& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
54
56
59 inline const UsageReportSchedule& GetSchedule() const{ return m_schedule; }
60 inline void SetSchedule(const UsageReportSchedule& value) { m_schedule = value; }
61 inline void SetSchedule(UsageReportSchedule&& value) { m_schedule = std::move(value); }
63 inline CreateUsageReportSubscriptionResult& WithSchedule(UsageReportSchedule&& value) { SetSchedule(std::move(value)); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline CreateUsageReportSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline CreateUsageReportSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline CreateUsageReportSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::String m_s3BucketName;
79
80 UsageReportSchedule m_schedule;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace AppStream
87} // namespace Aws
CreateUsageReportSubscriptionResult & WithRequestId(const char *value)
AWS_APPSTREAM_API CreateUsageReportSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUsageReportSubscriptionResult & WithRequestId(const Aws::String &value)
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)
CreateUsageReportSubscriptionResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue