AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRobotApplicationsRequest.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/RoboMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/robomaker/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RoboMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ROBOMAKER_API ListRobotApplicationsRequest();
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 "ListRobotApplications"; }
33
34 AWS_ROBOMAKER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetVersionQualifier() const{ return m_versionQualifier; }
42 inline bool VersionQualifierHasBeenSet() const { return m_versionQualifierHasBeenSet; }
43 inline void SetVersionQualifier(const Aws::String& value) { m_versionQualifierHasBeenSet = true; m_versionQualifier = value; }
44 inline void SetVersionQualifier(Aws::String&& value) { m_versionQualifierHasBeenSet = true; m_versionQualifier = std::move(value); }
45 inline void SetVersionQualifier(const char* value) { m_versionQualifierHasBeenSet = true; m_versionQualifier.assign(value); }
47 inline ListRobotApplicationsRequest& WithVersionQualifier(Aws::String&& value) { SetVersionQualifier(std::move(value)); return *this;}
48 inline ListRobotApplicationsRequest& WithVersionQualifier(const char* value) { SetVersionQualifier(value); return *this;}
50
52
60 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
65 inline ListRobotApplicationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 inline ListRobotApplicationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline ListRobotApplicationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
81 inline int GetMaxResults() const{ return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
84 inline ListRobotApplicationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
86
88
93 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
94 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
95 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
96 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
97 inline ListRobotApplicationsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
98 inline ListRobotApplicationsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
99 inline ListRobotApplicationsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
100 inline ListRobotApplicationsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
102 private:
103
104 Aws::String m_versionQualifier;
105 bool m_versionQualifierHasBeenSet = false;
106
107 Aws::String m_nextToken;
108 bool m_nextTokenHasBeenSet = false;
109
110 int m_maxResults;
111 bool m_maxResultsHasBeenSet = false;
112
113 Aws::Vector<Filter> m_filters;
114 bool m_filtersHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace RoboMaker
119} // namespace Aws
ListRobotApplicationsRequest & WithVersionQualifier(const char *value)
ListRobotApplicationsRequest & AddFilters(Filter &&value)
ListRobotApplicationsRequest & AddFilters(const Filter &value)
ListRobotApplicationsRequest & WithNextToken(const Aws::String &value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
ListRobotApplicationsRequest & WithFilters(const Aws::Vector< Filter > &value)
ListRobotApplicationsRequest & WithNextToken(const char *value)
ListRobotApplicationsRequest & WithVersionQualifier(Aws::String &&value)
ListRobotApplicationsRequest & WithVersionQualifier(const Aws::String &value)
ListRobotApplicationsRequest & WithNextToken(Aws::String &&value)
ListRobotApplicationsRequest & WithFilters(Aws::Vector< Filter > &&value)
ListRobotApplicationsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector