AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
12
13namespace Aws
14{
15namespace IoTFleetWise
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTFLEETWISE_API ListVehiclesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListVehicles"; }
32
33 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
34
35 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const Aws::String& GetModelManifestArn() const{ return m_modelManifestArn; }
45 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
46 inline void SetModelManifestArn(const Aws::String& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = value; }
47 inline void SetModelManifestArn(Aws::String&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::move(value); }
48 inline void SetModelManifestArn(const char* value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn.assign(value); }
49 inline ListVehiclesRequest& WithModelManifestArn(const Aws::String& value) { SetModelManifestArn(value); return *this;}
50 inline ListVehiclesRequest& WithModelManifestArn(Aws::String&& value) { SetModelManifestArn(std::move(value)); return *this;}
51 inline ListVehiclesRequest& WithModelManifestArn(const char* value) { SetModelManifestArn(value); return *this;}
53
55
59 inline const Aws::Vector<Aws::String>& GetAttributeNames() const{ return m_attributeNames; }
60 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
61 inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
62 inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
64 inline ListVehiclesRequest& WithAttributeNames(Aws::Vector<Aws::String>&& value) { SetAttributeNames(std::move(value)); return *this;}
65 inline ListVehiclesRequest& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
66 inline ListVehiclesRequest& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
67 inline ListVehiclesRequest& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
69
71
75 inline const Aws::Vector<Aws::String>& GetAttributeValues() const{ return m_attributeValues; }
76 inline bool AttributeValuesHasBeenSet() const { return m_attributeValuesHasBeenSet; }
77 inline void SetAttributeValues(const Aws::Vector<Aws::String>& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = value; }
78 inline void SetAttributeValues(Aws::Vector<Aws::String>&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues = std::move(value); }
80 inline ListVehiclesRequest& WithAttributeValues(Aws::Vector<Aws::String>&& value) { SetAttributeValues(std::move(value)); return *this;}
81 inline ListVehiclesRequest& AddAttributeValues(const Aws::String& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(value); return *this; }
82 inline ListVehiclesRequest& AddAttributeValues(Aws::String&& value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(std::move(value)); return *this; }
83 inline ListVehiclesRequest& AddAttributeValues(const char* value) { m_attributeValuesHasBeenSet = true; m_attributeValues.push_back(value); return *this; }
85
87
95 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
96 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
98 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
99 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
100 inline ListVehiclesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
101 inline ListVehiclesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 inline ListVehiclesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
104
106
109 inline int GetMaxResults() const{ return m_maxResults; }
110 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 inline ListVehiclesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
114 private:
115
116 Aws::String m_modelManifestArn;
117 bool m_modelManifestArnHasBeenSet = false;
118
119 Aws::Vector<Aws::String> m_attributeNames;
120 bool m_attributeNamesHasBeenSet = false;
121
122 Aws::Vector<Aws::String> m_attributeValues;
123 bool m_attributeValuesHasBeenSet = false;
124
125 Aws::String m_nextToken;
126 bool m_nextTokenHasBeenSet = false;
127
128 int m_maxResults;
129 bool m_maxResultsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace IoTFleetWise
134} // namespace Aws
ListVehiclesRequest & WithModelManifestArn(const Aws::String &value)
ListVehiclesRequest & WithNextToken(const Aws::String &value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListVehiclesRequest & WithMaxResults(int value)
void SetAttributeValues(Aws::Vector< Aws::String > &&value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
ListVehiclesRequest & AddAttributeNames(const char *value)
ListVehiclesRequest & AddAttributeValues(const char *value)
const Aws::Vector< Aws::String > & GetAttributeNames() const
void SetModelManifestArn(const Aws::String &value)
ListVehiclesRequest & AddAttributeValues(Aws::String &&value)
ListVehiclesRequest & WithAttributeValues(const Aws::Vector< Aws::String > &value)
ListVehiclesRequest & WithAttributeNames(const Aws::Vector< Aws::String > &value)
ListVehiclesRequest & WithModelManifestArn(Aws::String &&value)
ListVehiclesRequest & WithNextToken(Aws::String &&value)
ListVehiclesRequest & WithAttributeValues(Aws::Vector< Aws::String > &&value)
void SetAttributeNames(const Aws::Vector< Aws::String > &value)
ListVehiclesRequest & WithAttributeNames(Aws::Vector< Aws::String > &&value)
ListVehiclesRequest & AddAttributeValues(const Aws::String &value)
ListVehiclesRequest & WithNextToken(const char *value)
void SetAttributeValues(const Aws::Vector< Aws::String > &value)
void SetAttributeNames(Aws::Vector< Aws::String > &&value)
ListVehiclesRequest & AddAttributeNames(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAttributeValues() const
virtual const char * GetServiceRequestName() const override
ListVehiclesRequest & WithModelManifestArn(const char *value)
ListVehiclesRequest & AddAttributeNames(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