AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 CreateModelManifestRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template<typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
59 template<typename DescriptionT = Aws::String>
60 CreateModelManifestRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
62
64
67 inline const Aws::Vector<Aws::String>& GetNodes() const { return m_nodes; }
68 inline bool NodesHasBeenSet() const { return m_nodesHasBeenSet; }
69 template<typename NodesT = Aws::Vector<Aws::String>>
70 void SetNodes(NodesT&& value) { m_nodesHasBeenSet = true; m_nodes = std::forward<NodesT>(value); }
71 template<typename NodesT = Aws::Vector<Aws::String>>
72 CreateModelManifestRequest& WithNodes(NodesT&& value) { SetNodes(std::forward<NodesT>(value)); return *this;}
73 template<typename NodesT = Aws::String>
74 CreateModelManifestRequest& AddNodes(NodesT&& value) { m_nodesHasBeenSet = true; m_nodes.emplace_back(std::forward<NodesT>(value)); return *this; }
76
78
81 inline const Aws::String& GetSignalCatalogArn() const { return m_signalCatalogArn; }
82 inline bool SignalCatalogArnHasBeenSet() const { return m_signalCatalogArnHasBeenSet; }
83 template<typename SignalCatalogArnT = Aws::String>
84 void SetSignalCatalogArn(SignalCatalogArnT&& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = std::forward<SignalCatalogArnT>(value); }
85 template<typename SignalCatalogArnT = Aws::String>
86 CreateModelManifestRequest& WithSignalCatalogArn(SignalCatalogArnT&& value) { SetSignalCatalogArn(std::forward<SignalCatalogArnT>(value)); return *this;}
88
90
93 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 template<typename TagsT = Aws::Vector<Tag>>
96 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
97 template<typename TagsT = Aws::Vector<Tag>>
98 CreateModelManifestRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
99 template<typename TagsT = Tag>
100 CreateModelManifestRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
102 private:
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
111 bool m_nodesHasBeenSet = false;
112
113 Aws::String m_signalCatalogArn;
114 bool m_signalCatalogArnHasBeenSet = false;
115
116 Aws::Vector<Tag> m_tags;
117 bool m_tagsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace IoTFleetWise
122} // namespace Aws
CreateModelManifestRequest & AddTags(TagsT &&value)
CreateModelManifestRequest & AddNodes(NodesT &&value)
CreateModelManifestRequest & WithTags(TagsT &&value)
CreateModelManifestRequest & WithName(NameT &&value)
AWS_IOTFLEETWISE_API CreateModelManifestRequest()=default
CreateModelManifestRequest & WithSignalCatalogArn(SignalCatalogArnT &&value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateModelManifestRequest & WithNodes(NodesT &&value)
CreateModelManifestRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetNodes() const
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