AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeUsageReportSubscriptionsResult.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppStream
26{
27namespace Model
28{
30 {
31 public:
35
36
40 inline const Aws::Vector<UsageReportSubscription>& GetUsageReportSubscriptions() const{ return m_usageReportSubscriptions; }
41
45 inline void SetUsageReportSubscriptions(const Aws::Vector<UsageReportSubscription>& value) { m_usageReportSubscriptions = value; }
46
50 inline void SetUsageReportSubscriptions(Aws::Vector<UsageReportSubscription>&& value) { m_usageReportSubscriptions = std::move(value); }
51
56
61
65 inline DescribeUsageReportSubscriptionsResult& AddUsageReportSubscriptions(const UsageReportSubscription& value) { m_usageReportSubscriptions.push_back(value); return *this; }
66
70 inline DescribeUsageReportSubscriptionsResult& AddUsageReportSubscriptions(UsageReportSubscription&& value) { m_usageReportSubscriptions.push_back(std::move(value)); return *this; }
71
72
77 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78
83 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84
89 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90
95 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96
102
107 inline DescribeUsageReportSubscriptionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108
113 inline DescribeUsageReportSubscriptionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114
115 private:
116
117 Aws::Vector<UsageReportSubscription> m_usageReportSubscriptions;
118
119 Aws::String m_nextToken;
120 };
121
122} // namespace Model
123} // namespace AppStream
124} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API DescribeUsageReportSubscriptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUsageReportSubscriptionsResult & WithNextToken(const Aws::String &value)
AWS_APPSTREAM_API DescribeUsageReportSubscriptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUsageReportSubscriptions(Aws::Vector< UsageReportSubscription > &&value)
DescribeUsageReportSubscriptionsResult & WithNextToken(Aws::String &&value)
const Aws::Vector< UsageReportSubscription > & GetUsageReportSubscriptions() const
DescribeUsageReportSubscriptionsResult & AddUsageReportSubscriptions(const UsageReportSubscription &value)
void SetUsageReportSubscriptions(const Aws::Vector< UsageReportSubscription > &value)
DescribeUsageReportSubscriptionsResult & WithUsageReportSubscriptions(Aws::Vector< UsageReportSubscription > &&value)
DescribeUsageReportSubscriptionsResult & WithNextToken(const char *value)
DescribeUsageReportSubscriptionsResult & AddUsageReportSubscriptions(UsageReportSubscription &&value)
DescribeUsageReportSubscriptionsResult & WithUsageReportSubscriptions(const Aws::Vector< UsageReportSubscription > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector