AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeImagesResult.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<Image>& GetImages() const{ return m_images; }
41
45 inline void SetImages(const Aws::Vector<Image>& value) { m_images = value; }
46
50 inline void SetImages(Aws::Vector<Image>&& value) { m_images = std::move(value); }
51
55 inline DescribeImagesResult& WithImages(const Aws::Vector<Image>& value) { SetImages(value); return *this;}
56
60 inline DescribeImagesResult& WithImages(Aws::Vector<Image>&& value) { SetImages(std::move(value)); return *this;}
61
65 inline DescribeImagesResult& AddImages(const Image& value) { m_images.push_back(value); return *this; }
66
70 inline DescribeImagesResult& AddImages(Image&& value) { m_images.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 DescribeImagesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102
107 inline DescribeImagesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108
113 inline DescribeImagesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114
115 private:
116
117 Aws::Vector<Image> m_images;
118
119 Aws::String m_nextToken;
120 };
121
122} // namespace Model
123} // namespace AppStream
124} // namespace Aws
#define AWS_APPSTREAM_API
DescribeImagesResult & WithNextToken(Aws::String &&value)
DescribeImagesResult & AddImages(const Image &value)
DescribeImagesResult & WithImages(Aws::Vector< Image > &&value)
void SetImages(const Aws::Vector< Image > &value)
DescribeImagesResult & WithNextToken(const char *value)
AWS_APPSTREAM_API DescribeImagesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImagesResult & WithNextToken(const Aws::String &value)
void SetImages(Aws::Vector< Image > &&value)
void SetNextToken(const Aws::String &value)
DescribeImagesResult & WithImages(const Aws::Vector< Image > &value)
DescribeImagesResult & AddImages(Image &&value)
const Aws::Vector< Image > & GetImages() const
AWS_APPSTREAM_API DescribeImagesResult & operator=(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