AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImagePermissionsResult.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appstream/model/SharedImagePermissions.h>
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:
32 AWS_APPSTREAM_API DescribeImagePermissionsResult();
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline void SetName(const Aws::String& value) { m_name = value; }
43 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
44 inline void SetName(const char* value) { m_name.assign(value); }
45 inline DescribeImagePermissionsResult& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline DescribeImagePermissionsResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline DescribeImagePermissionsResult& WithName(const char* value) { SetName(value); return *this;}
49
51
54 inline const Aws::Vector<SharedImagePermissions>& GetSharedImagePermissionsList() const{ return m_sharedImagePermissionsList; }
55 inline void SetSharedImagePermissionsList(const Aws::Vector<SharedImagePermissions>& value) { m_sharedImagePermissionsList = value; }
56 inline void SetSharedImagePermissionsList(Aws::Vector<SharedImagePermissions>&& value) { m_sharedImagePermissionsList = std::move(value); }
59 inline DescribeImagePermissionsResult& AddSharedImagePermissionsList(const SharedImagePermissions& value) { m_sharedImagePermissionsList.push_back(value); return *this; }
60 inline DescribeImagePermissionsResult& AddSharedImagePermissionsList(SharedImagePermissions&& value) { m_sharedImagePermissionsList.push_back(std::move(value)); return *this; }
62
64
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
70 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
71 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
72 inline DescribeImagePermissionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 inline DescribeImagePermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
74 inline DescribeImagePermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline DescribeImagePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline DescribeImagePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline DescribeImagePermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_name;
90
91 Aws::Vector<SharedImagePermissions> m_sharedImagePermissionsList;
92
93 Aws::String m_nextToken;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace AppStream
100} // namespace Aws
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)
DescribeImagePermissionsResult & WithRequestId(const Aws::String &value)
void SetSharedImagePermissionsList(Aws::Vector< SharedImagePermissions > &&value)
DescribeImagePermissionsResult & WithNextToken(const char *value)
const Aws::Vector< SharedImagePermissions > & GetSharedImagePermissionsList() const
DescribeImagePermissionsResult & WithRequestId(Aws::String &&value)
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)
DescribeImagePermissionsResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue