AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListVehiclesRequest.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotfleetwise/model/ListResponseScope.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTFleetWise
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTFLEETWISE_API ListVehiclesRequest() = 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 "ListVehicles"; }
33
34 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
35
36 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
45 inline const Aws::String& GetModelManifestArn() const { return m_modelManifestArn; }
46 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
47 template<typename ModelManifestArnT = Aws::String>
48 void SetModelManifestArn(ModelManifestArnT&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::forward<ModelManifestArnT>(value); }
49 template<typename ModelManifestArnT = Aws::String>
50 ListVehiclesRequest& WithModelManifestArn(ModelManifestArnT&& value) { SetModelManifestArn(std::forward<ModelManifestArnT>(value)); return *this;}
52
54
67 inline const Aws::Vector<Aws::String>& GetAttributeNames() const { return m_attributeNames; }
68 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
69 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
70 void SetAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::forward<AttributeNamesT>(value); }
71 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
72 ListVehiclesRequest& WithAttributeNames(AttributeNamesT&& value) { SetAttributeNames(std::forward<AttributeNamesT>(value)); return *this;}
73 template<typename AttributeNamesT = Aws::String>
74 ListVehiclesRequest& AddAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value)); return *this; }
76
78
93 inline const Aws::Vector<Aws::String>& GetAttributeValues() const { return m_attributeValues; }
94 inline bool AttributeValuesHasBeenSet() const { return m_attributeValuesHasBeenSet; }
95 template<typename AttributeValuesT = Aws::Vector<Aws::String>>
96 void SetAttributeValues(AttributeValuesT&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = std::forward<AttributeValuesT>(value); }
97 template<typename AttributeValuesT = Aws::Vector<Aws::String>>
98 ListVehiclesRequest& WithAttributeValues(AttributeValuesT&& value) { SetAttributeValues(std::forward<AttributeValuesT>(value)); return *this;}
99 template<typename AttributeValuesT = Aws::String>
100 ListVehiclesRequest& AddAttributeValues(AttributeValuesT&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.emplace_back(std::forward<AttributeValuesT>(value)); return *this; }
102
104
112 inline const Aws::String& GetNextToken() const { return m_nextToken; }
113 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114 template<typename NextTokenT = Aws::String>
115 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
116 template<typename NextTokenT = Aws::String>
117 ListVehiclesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
119
121
124 inline int GetMaxResults() const { return m_maxResults; }
125 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
126 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
127 inline ListVehiclesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
129
131
136 inline ListResponseScope GetListResponseScope() const { return m_listResponseScope; }
137 inline bool ListResponseScopeHasBeenSet() const { return m_listResponseScopeHasBeenSet; }
138 inline void SetListResponseScope(ListResponseScope value) { m_listResponseScopeHasBeenSet = true; m_listResponseScope = value; }
141 private:
142
143 Aws::String m_modelManifestArn;
144 bool m_modelManifestArnHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_attributeNames;
147 bool m_attributeNamesHasBeenSet = false;
148
149 Aws::Vector<Aws::String> m_attributeValues;
150 bool m_attributeValuesHasBeenSet = false;
151
152 Aws::String m_nextToken;
153 bool m_nextTokenHasBeenSet = false;
154
155 int m_maxResults{0};
156 bool m_maxResultsHasBeenSet = false;
157
159 bool m_listResponseScopeHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace IoTFleetWise
164} // namespace Aws
AWS_IOTFLEETWISE_API ListVehiclesRequest()=default
ListVehiclesRequest & WithModelManifestArn(ModelManifestArnT &&value)
ListVehiclesRequest & WithAttributeValues(AttributeValuesT &&value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListVehiclesRequest & WithMaxResults(int value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetAttributeNames() const
ListVehiclesRequest & WithListResponseScope(ListResponseScope value)
void SetModelManifestArn(ModelManifestArnT &&value)
ListVehiclesRequest & WithAttributeNames(AttributeNamesT &&value)
void SetAttributeValues(AttributeValuesT &&value)
const Aws::Vector< Aws::String > & GetAttributeValues() const
virtual const char * GetServiceRequestName() const override
ListVehiclesRequest & WithNextToken(NextTokenT &&value)
ListVehiclesRequest & AddAttributeValues(AttributeValuesT &&value)
ListVehiclesRequest & AddAttributeNames(AttributeNamesT &&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