AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateModelManifestRequest.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/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTFleetWise
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTFLEETWISE_API CreateModelManifestRequest();
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 "CreateModelManifest"; }
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 CreateModelManifestRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline CreateModelManifestRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline CreateModelManifestRequest& 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 CreateModelManifestRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline CreateModelManifestRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline CreateModelManifestRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetNodes() const{ return m_nodes; }
72 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
73 inline void SetNodes(const Aws::Vector<Aws::String>& value) { m_nodesHasBeenSet = true; m_nodes = value; }
74 inline void SetNodes(Aws::Vector<Aws::String>&& value) { m_nodesHasBeenSet = true; m_nodes = std::move(value); }
75 inline CreateModelManifestRequest& WithNodes(const Aws::Vector<Aws::String>& value) { SetNodes(value); return *this;}
76 inline CreateModelManifestRequest& WithNodes(Aws::Vector<Aws::String>&& value) { SetNodes(std::move(value)); return *this;}
77 inline CreateModelManifestRequest& AddNodes(const Aws::String& value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
78 inline CreateModelManifestRequest& AddNodes(Aws::String&& value) { m_nodesHasBeenSet = true; m_nodes.push_back(std::move(value)); return *this; }
79 inline CreateModelManifestRequest& AddNodes(const char* value) { m_nodesHasBeenSet = true; m_nodes.push_back(value); return *this; }
81
83
86 inline const Aws::String& GetSignalCatalogArn() const{ return m_signalCatalogArn; }
87 inline bool SignalCatalogArnHasBeenSet() const { return m_signalCatalogArnHasBeenSet; }
88 inline void SetSignalCatalogArn(const Aws::String& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = value; }
89 inline void SetSignalCatalogArn(Aws::String&& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = std::move(value); }
90 inline void SetSignalCatalogArn(const char* value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn.assign(value); }
92 inline CreateModelManifestRequest& WithSignalCatalogArn(Aws::String&& value) { SetSignalCatalogArn(std::move(value)); return *this;}
93 inline CreateModelManifestRequest& WithSignalCatalogArn(const char* value) { SetSignalCatalogArn(value); return *this;}
95
97
100 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
101 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
102 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
103 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
104 inline CreateModelManifestRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
105 inline CreateModelManifestRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
106 inline CreateModelManifestRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
107 inline CreateModelManifestRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
109 private:
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
118 bool m_nodesHasBeenSet = false;
119
120 Aws::String m_signalCatalogArn;
121 bool m_signalCatalogArnHasBeenSet = false;
122
123 Aws::Vector<Tag> m_tags;
124 bool m_tagsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace IoTFleetWise
129} // namespace Aws
CreateModelManifestRequest & WithDescription(const char *value)
CreateModelManifestRequest & WithName(const Aws::String &value)
CreateModelManifestRequest & WithDescription(Aws::String &&value)
CreateModelManifestRequest & AddNodes(Aws::String &&value)
CreateModelManifestRequest & AddTags(const Tag &value)
CreateModelManifestRequest & WithNodes(const Aws::Vector< Aws::String > &value)
CreateModelManifestRequest & AddNodes(const char *value)
CreateModelManifestRequest & AddNodes(const Aws::String &value)
CreateModelManifestRequest & WithSignalCatalogArn(const char *value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
CreateModelManifestRequest & WithTags(const Aws::Vector< Tag > &value)
void SetNodes(const Aws::Vector< Aws::String > &value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelManifestRequest & WithSignalCatalogArn(Aws::String &&value)
CreateModelManifestRequest & WithSignalCatalogArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetNodes() const
CreateModelManifestRequest & WithNodes(Aws::Vector< Aws::String > &&value)
CreateModelManifestRequest & WithName(Aws::String &&value)
CreateModelManifestRequest & WithName(const char *value)
CreateModelManifestRequest & WithTags(Aws::Vector< Tag > &&value)
CreateModelManifestRequest & WithDescription(const 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