AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
46 inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
47 inline DescribeImagesRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
48 inline DescribeImagesRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
49 inline DescribeImagesRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
50 inline DescribeImagesRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
51 inline DescribeImagesRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
53
55
58 inline const Aws::Vector<Aws::String>& GetArns() const{ return m_arns; }
59 inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
60 inline void SetArns(const Aws::Vector<Aws::String>& value) { m_arnsHasBeenSet = true; m_arns = value; }
61 inline void SetArns(Aws::Vector<Aws::String>&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); }
62 inline DescribeImagesRequest& WithArns(const Aws::Vector<Aws::String>& value) { SetArns(value); return *this;}
63 inline DescribeImagesRequest& WithArns(Aws::Vector<Aws::String>&& value) { SetArns(std::move(value)); return *this;}
64 inline DescribeImagesRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
65 inline DescribeImagesRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; }
66 inline DescribeImagesRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; }
68
70
73 inline const VisibilityType& GetType() const{ return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(const VisibilityType& value) { m_typeHasBeenSet = true; m_type = value; }
76 inline void SetType(VisibilityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
77 inline DescribeImagesRequest& WithType(const VisibilityType& value) { SetType(value); return *this;}
78 inline DescribeImagesRequest& WithType(VisibilityType&& value) { SetType(std::move(value)); return *this;}
80
82
86 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
89 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91 inline DescribeImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
92 inline DescribeImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
93 inline DescribeImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
95
97
100 inline int GetMaxResults() const{ return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
103 inline DescribeImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105 private:
106
108 bool m_namesHasBeenSet = false;
109
111 bool m_arnsHasBeenSet = false;
112
113 VisibilityType m_type;
114 bool m_typeHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
119 int m_maxResults;
120 bool m_maxResultsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace AppStream
125} // namespace Aws
DescribeImagesRequest & AddArns(Aws::String &&value)
DescribeImagesRequest & AddArns(const char *value)
DescribeImagesRequest & AddArns(const Aws::String &value)
void SetArns(const Aws::Vector< Aws::String > &value)
DescribeImagesRequest & WithNames(Aws::Vector< Aws::String > &&value)
DescribeImagesRequest & AddNames(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeImagesRequest & WithNextToken(const Aws::String &value)
DescribeImagesRequest & WithArns(Aws::Vector< Aws::String > &&value)
DescribeImagesRequest & WithType(VisibilityType &&value)
DescribeImagesRequest & AddNames(const Aws::String &value)
DescribeImagesRequest & WithMaxResults(int value)
void SetArns(Aws::Vector< Aws::String > &&value)
void SetNames(const Aws::Vector< Aws::String > &value)
DescribeImagesRequest & WithNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetNames() const
AWS_APPSTREAM_API Aws::String SerializePayload() const override
DescribeImagesRequest & WithArns(const Aws::Vector< Aws::String > &value)
void SetNames(Aws::Vector< Aws::String > &&value)
DescribeImagesRequest & AddNames(Aws::String &&value)
DescribeImagesRequest & WithType(const VisibilityType &value)
const Aws::Vector< Aws::String > & GetArns() const
DescribeImagesRequest & WithNextToken(const char *value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeImagesRequest & WithNextToken(Aws::String &&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