AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateModelManifestRequest.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/ManifestStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTFleetWise
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTFLEETWISE_API UpdateModelManifestRequest();
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 "UpdateModelManifest"; }
33
34 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
35
36 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline UpdateModelManifestRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline UpdateModelManifestRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline UpdateModelManifestRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline UpdateModelManifestRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline UpdateModelManifestRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline UpdateModelManifestRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
72 inline const Aws::Vector<Aws::String>& GetNodesToAdd() const{ return m_nodesToAdd; }
73 inline bool NodesToAddHasBeenSet() const { return m_nodesToAddHasBeenSet; }
74 inline void SetNodesToAdd(const Aws::Vector<Aws::String>& value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd = value; }
75 inline void SetNodesToAdd(Aws::Vector<Aws::String>&& value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd = std::move(value); }
77 inline UpdateModelManifestRequest& WithNodesToAdd(Aws::Vector<Aws::String>&& value) { SetNodesToAdd(std::move(value)); return *this;}
78 inline UpdateModelManifestRequest& AddNodesToAdd(const Aws::String& value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd.push_back(value); return *this; }
79 inline UpdateModelManifestRequest& AddNodesToAdd(Aws::String&& value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd.push_back(std::move(value)); return *this; }
80 inline UpdateModelManifestRequest& AddNodesToAdd(const char* value) { m_nodesToAddHasBeenSet = true; m_nodesToAdd.push_back(value); return *this; }
82
84
88 inline const Aws::Vector<Aws::String>& GetNodesToRemove() const{ return m_nodesToRemove; }
89 inline bool NodesToRemoveHasBeenSet() const { return m_nodesToRemoveHasBeenSet; }
90 inline void SetNodesToRemove(const Aws::Vector<Aws::String>& value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove = value; }
91 inline void SetNodesToRemove(Aws::Vector<Aws::String>&& value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove = std::move(value); }
94 inline UpdateModelManifestRequest& AddNodesToRemove(const Aws::String& value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove.push_back(value); return *this; }
95 inline UpdateModelManifestRequest& AddNodesToRemove(Aws::String&& value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove.push_back(std::move(value)); return *this; }
96 inline UpdateModelManifestRequest& AddNodesToRemove(const char* value) { m_nodesToRemoveHasBeenSet = true; m_nodesToRemove.push_back(value); return *this; }
98
100
105 inline const ManifestStatus& GetStatus() const{ return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(const ManifestStatus& value) { m_statusHasBeenSet = true; m_status = value; }
108 inline void SetStatus(ManifestStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
109 inline UpdateModelManifestRequest& WithStatus(const ManifestStatus& value) { SetStatus(value); return *this;}
110 inline UpdateModelManifestRequest& WithStatus(ManifestStatus&& value) { SetStatus(std::move(value)); return *this;}
112 private:
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 Aws::Vector<Aws::String> m_nodesToAdd;
121 bool m_nodesToAddHasBeenSet = false;
122
123 Aws::Vector<Aws::String> m_nodesToRemove;
124 bool m_nodesToRemoveHasBeenSet = false;
125
126 ManifestStatus m_status;
127 bool m_statusHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace IoTFleetWise
132} // namespace Aws
UpdateModelManifestRequest & AddNodesToAdd(Aws::String &&value)
UpdateModelManifestRequest & WithStatus(ManifestStatus &&value)
UpdateModelManifestRequest & WithStatus(const ManifestStatus &value)
UpdateModelManifestRequest & WithDescription(Aws::String &&value)
UpdateModelManifestRequest & AddNodesToRemove(const char *value)
void SetNodesToAdd(const Aws::Vector< Aws::String > &value)
UpdateModelManifestRequest & AddNodesToAdd(const char *value)
UpdateModelManifestRequest & WithNodesToRemove(Aws::Vector< Aws::String > &&value)
UpdateModelManifestRequest & WithName(const char *value)
UpdateModelManifestRequest & AddNodesToRemove(Aws::String &&value)
UpdateModelManifestRequest & WithNodesToAdd(const Aws::Vector< Aws::String > &value)
UpdateModelManifestRequest & AddNodesToRemove(const Aws::String &value)
UpdateModelManifestRequest & AddNodesToAdd(const Aws::String &value)
UpdateModelManifestRequest & WithDescription(const Aws::String &value)
UpdateModelManifestRequest & WithName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetNodesToRemove() const
UpdateModelManifestRequest & WithNodesToRemove(const Aws::Vector< Aws::String > &value)
void SetNodesToRemove(const Aws::Vector< Aws::String > &value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateModelManifestRequest & WithDescription(const char *value)
const Aws::Vector< Aws::String > & GetNodesToAdd() const
UpdateModelManifestRequest & WithNodesToAdd(Aws::Vector< Aws::String > &&value)
void SetNodesToRemove(Aws::Vector< Aws::String > &&value)
UpdateModelManifestRequest & WithName(Aws::String &&value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
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