AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeWorkspaceImagePermissionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace WorkSpaces
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetImageId() const{ return m_imageId; }
41 
45  inline void SetImageId(const Aws::String& value) { m_imageId = value; }
46 
50  inline void SetImageId(Aws::String&& value) { m_imageId = std::move(value); }
51 
55  inline void SetImageId(const char* value) { m_imageId.assign(value); }
56 
60  inline DescribeWorkspaceImagePermissionsResult& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
61 
65  inline DescribeWorkspaceImagePermissionsResult& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
66 
70  inline DescribeWorkspaceImagePermissionsResult& WithImageId(const char* value) { SetImageId(value); return *this;}
71 
72 
77  inline const Aws::Vector<ImagePermission>& GetImagePermissions() const{ return m_imagePermissions; }
78 
83  inline void SetImagePermissions(const Aws::Vector<ImagePermission>& value) { m_imagePermissions = value; }
84 
89  inline void SetImagePermissions(Aws::Vector<ImagePermission>&& value) { m_imagePermissions = std::move(value); }
90 
95  inline DescribeWorkspaceImagePermissionsResult& WithImagePermissions(const Aws::Vector<ImagePermission>& value) { SetImagePermissions(value); return *this;}
96 
101  inline DescribeWorkspaceImagePermissionsResult& WithImagePermissions(Aws::Vector<ImagePermission>&& value) { SetImagePermissions(std::move(value)); return *this;}
102 
107  inline DescribeWorkspaceImagePermissionsResult& AddImagePermissions(const ImagePermission& value) { m_imagePermissions.push_back(value); return *this; }
108 
113  inline DescribeWorkspaceImagePermissionsResult& AddImagePermissions(ImagePermission&& value) { m_imagePermissions.push_back(std::move(value)); return *this; }
114 
115 
120  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
121 
126  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
127 
132  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
133 
138  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
139 
144  inline DescribeWorkspaceImagePermissionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
145 
150  inline DescribeWorkspaceImagePermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
151 
156  inline DescribeWorkspaceImagePermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
157 
158  private:
159 
160  Aws::String m_imageId;
161 
162  Aws::Vector<ImagePermission> m_imagePermissions;
163 
164  Aws::String m_nextToken;
165  };
166 
167 } // namespace Model
168 } // namespace WorkSpaces
169 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::SetImageId
void SetImageId(Aws::String &&value)
Definition: DescribeWorkspaceImagePermissionsResult.h:50
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
ImagePermission.h
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::SetImagePermissions
void SetImagePermissions(Aws::Vector< ImagePermission > &&value)
Definition: DescribeWorkspaceImagePermissionsResult.h:89
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeWorkspaceImagePermissionsResult.h:120
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult
Definition: DescribeWorkspaceImagePermissionsResult.h:30
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::WithImagePermissions
DescribeWorkspaceImagePermissionsResult & WithImagePermissions(Aws::Vector< ImagePermission > &&value)
Definition: DescribeWorkspaceImagePermissionsResult.h:101
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::AddImagePermissions
DescribeWorkspaceImagePermissionsResult & AddImagePermissions(const ImagePermission &value)
Definition: DescribeWorkspaceImagePermissionsResult.h:107
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeWorkspaceImagePermissionsResult.h:126
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeWorkspaceImagePermissionsResult.h:138
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::SetImagePermissions
void SetImagePermissions(const Aws::Vector< ImagePermission > &value)
Definition: DescribeWorkspaceImagePermissionsResult.h:83
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::DescribeWorkspaceImagePermissionsResult
DescribeWorkspaceImagePermissionsResult()
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::SetImageId
void SetImageId(const Aws::String &value)
Definition: DescribeWorkspaceImagePermissionsResult.h:45
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::GetImageId
const Aws::String & GetImageId() const
Definition: DescribeWorkspaceImagePermissionsResult.h:40
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::WithNextToken
DescribeWorkspaceImagePermissionsResult & WithNextToken(Aws::String &&value)
Definition: DescribeWorkspaceImagePermissionsResult.h:150
AWSString.h
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::AddImagePermissions
DescribeWorkspaceImagePermissionsResult & AddImagePermissions(ImagePermission &&value)
Definition: DescribeWorkspaceImagePermissionsResult.h:113
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeWorkspaceImagePermissionsResult.h:132
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::WithNextToken
DescribeWorkspaceImagePermissionsResult & WithNextToken(const char *value)
Definition: DescribeWorkspaceImagePermissionsResult.h:156
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::WithImagePermissions
DescribeWorkspaceImagePermissionsResult & WithImagePermissions(const Aws::Vector< ImagePermission > &value)
Definition: DescribeWorkspaceImagePermissionsResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::SetImageId
void SetImageId(const char *value)
Definition: DescribeWorkspaceImagePermissionsResult.h:55
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::WithNextToken
DescribeWorkspaceImagePermissionsResult & WithNextToken(const Aws::String &value)
Definition: DescribeWorkspaceImagePermissionsResult.h:144
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::GetImagePermissions
const Aws::Vector< ImagePermission > & GetImagePermissions() const
Definition: DescribeWorkspaceImagePermissionsResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::operator=
DescribeWorkspaceImagePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::DescribeWorkspaceImagePermissionsResult
DescribeWorkspaceImagePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::WithImageId
DescribeWorkspaceImagePermissionsResult & WithImageId(Aws::String &&value)
Definition: DescribeWorkspaceImagePermissionsResult.h:65
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::WithImageId
DescribeWorkspaceImagePermissionsResult & WithImageId(const char *value)
Definition: DescribeWorkspaceImagePermissionsResult.h:70
Aws::WorkSpaces::Model::ImagePermission
Definition: ImagePermission.h:35
Aws::WorkSpaces::Model::DescribeWorkspaceImagePermissionsResult::WithImageId
DescribeWorkspaceImagePermissionsResult & WithImageId(const Aws::String &value)
Definition: DescribeWorkspaceImagePermissionsResult.h:60