AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeEntitlementsResult.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<Entitlement>& GetEntitlements() const{ return m_entitlements; }
41
45 inline void SetEntitlements(const Aws::Vector<Entitlement>& value) { m_entitlements = value; }
46
50 inline void SetEntitlements(Aws::Vector<Entitlement>&& value) { m_entitlements = std::move(value); }
51
56
60 inline DescribeEntitlementsResult& WithEntitlements(Aws::Vector<Entitlement>&& value) { SetEntitlements(std::move(value)); return *this;}
61
65 inline DescribeEntitlementsResult& AddEntitlements(const Entitlement& value) { m_entitlements.push_back(value); return *this; }
66
70 inline DescribeEntitlementsResult& AddEntitlements(Entitlement&& value) { m_entitlements.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
101 inline DescribeEntitlementsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102
107 inline DescribeEntitlementsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108
113 inline DescribeEntitlementsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114
115 private:
116
117 Aws::Vector<Entitlement> m_entitlements;
118
119 Aws::String m_nextToken;
120 };
121
122} // namespace Model
123} // namespace AppStream
124} // namespace Aws
#define AWS_APPSTREAM_API
DescribeEntitlementsResult & WithNextToken(Aws::String &&value)
DescribeEntitlementsResult & AddEntitlements(Entitlement &&value)
void SetEntitlements(Aws::Vector< Entitlement > &&value)
DescribeEntitlementsResult & AddEntitlements(const Entitlement &value)
DescribeEntitlementsResult & WithNextToken(const Aws::String &value)
void SetEntitlements(const Aws::Vector< Entitlement > &value)
AWS_APPSTREAM_API DescribeEntitlementsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Entitlement > & GetEntitlements() const
DescribeEntitlementsResult & WithEntitlements(const Aws::Vector< Entitlement > &value)
DescribeEntitlementsResult & WithEntitlements(Aws::Vector< Entitlement > &&value)
DescribeEntitlementsResult & WithNextToken(const char *value)
AWS_APPSTREAM_API DescribeEntitlementsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector