AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeImagePermissionsResult.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/SharedImagePermissions.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AppStream {
24namespace Model {
26 public:
27 AWS_APPSTREAM_API DescribeImagePermissionsResult() = default;
30
32
35 inline const Aws::String& GetName() const { return m_name; }
36 template <typename NameT = Aws::String>
37 void SetName(NameT&& value) {
38 m_nameHasBeenSet = true;
39 m_name = std::forward<NameT>(value);
40 }
41 template <typename NameT = Aws::String>
43 SetName(std::forward<NameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Vector<SharedImagePermissions>& GetSharedImagePermissionsList() const { return m_sharedImagePermissionsList; }
53 template <typename SharedImagePermissionsListT = Aws::Vector<SharedImagePermissions>>
54 void SetSharedImagePermissionsList(SharedImagePermissionsListT&& value) {
55 m_sharedImagePermissionsListHasBeenSet = true;
56 m_sharedImagePermissionsList = std::forward<SharedImagePermissionsListT>(value);
57 }
58 template <typename SharedImagePermissionsListT = Aws::Vector<SharedImagePermissions>>
59 DescribeImagePermissionsResult& WithSharedImagePermissionsList(SharedImagePermissionsListT&& value) {
60 SetSharedImagePermissionsList(std::forward<SharedImagePermissionsListT>(value));
61 return *this;
62 }
63 template <typename SharedImagePermissionsListT = SharedImagePermissions>
64 DescribeImagePermissionsResult& AddSharedImagePermissionsList(SharedImagePermissionsListT&& value) {
65 m_sharedImagePermissionsListHasBeenSet = true;
66 m_sharedImagePermissionsList.emplace_back(std::forward<SharedImagePermissionsListT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 template <typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) {
79 m_nextTokenHasBeenSet = true;
80 m_nextToken = std::forward<NextTokenT>(value);
81 }
82 template <typename NextTokenT = Aws::String>
84 SetNextToken(std::forward<NextTokenT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_name;
105
106 Aws::Vector<SharedImagePermissions> m_sharedImagePermissionsList;
107
108 Aws::String m_nextToken;
109
110 Aws::String m_requestId;
111 bool m_nameHasBeenSet = false;
112 bool m_sharedImagePermissionsListHasBeenSet = false;
113 bool m_nextTokenHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace AppStream
119} // namespace Aws
DescribeImagePermissionsResult & WithNextToken(NextTokenT &&value)
AWS_APPSTREAM_API DescribeImagePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImagePermissionsResult & WithName(NameT &&value)
DescribeImagePermissionsResult & AddSharedImagePermissionsList(SharedImagePermissionsListT &&value)
DescribeImagePermissionsResult & WithSharedImagePermissionsList(SharedImagePermissionsListT &&value)
const Aws::Vector< SharedImagePermissions > & GetSharedImagePermissionsList() const
void SetSharedImagePermissionsList(SharedImagePermissionsListT &&value)
AWS_APPSTREAM_API DescribeImagePermissionsResult()=default
AWS_APPSTREAM_API DescribeImagePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImagePermissionsResult & WithRequestId(RequestIdT &&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