AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeImagePermissionsResult.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::String& GetName() const{ return m_name; }
41
45 inline void SetName(const Aws::String& value) { m_name = value; }
46
50 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
51
55 inline void SetName(const char* value) { m_name.assign(value); }
56
60 inline DescribeImagePermissionsResult& WithName(const Aws::String& value) { SetName(value); return *this;}
61
65 inline DescribeImagePermissionsResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66
70 inline DescribeImagePermissionsResult& WithName(const char* value) { SetName(value); return *this;}
71
72
76 inline const Aws::Vector<SharedImagePermissions>& GetSharedImagePermissionsList() const{ return m_sharedImagePermissionsList; }
77
81 inline void SetSharedImagePermissionsList(const Aws::Vector<SharedImagePermissions>& value) { m_sharedImagePermissionsList = value; }
82
86 inline void SetSharedImagePermissionsList(Aws::Vector<SharedImagePermissions>&& value) { m_sharedImagePermissionsList = std::move(value); }
87
92
97
101 inline DescribeImagePermissionsResult& AddSharedImagePermissionsList(const SharedImagePermissions& value) { m_sharedImagePermissionsList.push_back(value); return *this; }
102
106 inline DescribeImagePermissionsResult& AddSharedImagePermissionsList(SharedImagePermissions&& value) { m_sharedImagePermissionsList.push_back(std::move(value)); return *this; }
107
108
113 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
114
119 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
120
125 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
126
131 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
132
137 inline DescribeImagePermissionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
138
143 inline DescribeImagePermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
144
149 inline DescribeImagePermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
150
151 private:
152
153 Aws::String m_name;
154
155 Aws::Vector<SharedImagePermissions> m_sharedImagePermissionsList;
156
157 Aws::String m_nextToken;
158 };
159
160} // namespace Model
161} // namespace AppStream
162} // namespace Aws
#define AWS_APPSTREAM_API
DescribeImagePermissionsResult & WithSharedImagePermissionsList(Aws::Vector< SharedImagePermissions > &&value)
DescribeImagePermissionsResult & WithNextToken(const Aws::String &value)
AWS_APPSTREAM_API DescribeImagePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImagePermissionsResult & WithName(const char *value)
DescribeImagePermissionsResult & AddSharedImagePermissionsList(const SharedImagePermissions &value)
void SetSharedImagePermissionsList(Aws::Vector< SharedImagePermissions > &&value)
DescribeImagePermissionsResult & WithNextToken(const char *value)
const Aws::Vector< SharedImagePermissions > & GetSharedImagePermissionsList() const
DescribeImagePermissionsResult & WithName(const Aws::String &value)
AWS_APPSTREAM_API DescribeImagePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSharedImagePermissionsList(const Aws::Vector< SharedImagePermissions > &value)
DescribeImagePermissionsResult & WithSharedImagePermissionsList(const Aws::Vector< SharedImagePermissions > &value)
DescribeImagePermissionsResult & WithNextToken(Aws::String &&value)
DescribeImagePermissionsResult & WithName(Aws::String &&value)
DescribeImagePermissionsResult & AddSharedImagePermissionsList(SharedImagePermissions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector