AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeImagesRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appstream/model/VisibilityType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace AppStream
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPSTREAM_API DescribeImagesRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeImages"; }
33
34 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
44 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
45 template<typename NamesT = Aws::Vector<Aws::String>>
46 void SetNames(NamesT&& value) { m_namesHasBeenSet = true; m_names = std::forward<NamesT>(value); }
47 template<typename NamesT = Aws::Vector<Aws::String>>
48 DescribeImagesRequest& WithNames(NamesT&& value) { SetNames(std::forward<NamesT>(value)); return *this;}
49 template<typename NamesT = Aws::String>
50 DescribeImagesRequest& AddNames(NamesT&& value) { m_namesHasBeenSet = true; m_names.emplace_back(std::forward<NamesT>(value)); return *this; }
52
54
57 inline const Aws::Vector<Aws::String>& GetArns() const { return m_arns; }
58 inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
59 template<typename ArnsT = Aws::Vector<Aws::String>>
60 void SetArns(ArnsT&& value) { m_arnsHasBeenSet = true; m_arns = std::forward<ArnsT>(value); }
61 template<typename ArnsT = Aws::Vector<Aws::String>>
62 DescribeImagesRequest& WithArns(ArnsT&& value) { SetArns(std::forward<ArnsT>(value)); return *this;}
63 template<typename ArnsT = Aws::String>
64 DescribeImagesRequest& AddArns(ArnsT&& value) { m_arnsHasBeenSet = true; m_arns.emplace_back(std::forward<ArnsT>(value)); return *this; }
66
68
71 inline VisibilityType GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(VisibilityType value) { m_typeHasBeenSet = true; m_type = value; }
74 inline DescribeImagesRequest& WithType(VisibilityType value) { SetType(value); return *this;}
76
78
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 DescribeImagesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89
91
94 inline int GetMaxResults() const { return m_maxResults; }
95 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
96 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
97 inline DescribeImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
99 private:
100
102 bool m_namesHasBeenSet = false;
103
105 bool m_arnsHasBeenSet = false;
106
108 bool m_typeHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112
113 int m_maxResults{0};
114 bool m_maxResultsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace AppStream
119} // namespace Aws
AWS_APPSTREAM_API DescribeImagesRequest()=default
DescribeImagesRequest & WithArns(ArnsT &&value)
virtual const char * GetServiceRequestName() const override
DescribeImagesRequest & WithMaxResults(int value)
DescribeImagesRequest & AddArns(ArnsT &&value)
const Aws::Vector< Aws::String > & GetNames() const
DescribeImagesRequest & WithNames(NamesT &&value)
DescribeImagesRequest & AddNames(NamesT &&value)
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeImagesRequest & WithNextToken(NextTokenT &&value)
const Aws::Vector< Aws::String > & GetArns() const
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeImagesRequest & WithType(VisibilityType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector