AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDecoderManifestRequest.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/SignalDecoder.h>
12#include <aws/iotfleetwise/model/NetworkInterface.h>
13#include <aws/iotfleetwise/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace IoTFleetWise
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTFLEETWISE_API CreateDecoderManifestRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateDecoderManifest"; }
35
36 AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override;
37
38 AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CreateDecoderManifestRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CreateDecoderManifestRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CreateDecoderManifestRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline CreateDecoderManifestRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline CreateDecoderManifestRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline CreateDecoderManifestRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline const Aws::String& GetModelManifestArn() const{ return m_modelManifestArn; }
74 inline bool ModelManifestArnHasBeenSet() const { return m_modelManifestArnHasBeenSet; }
75 inline void SetModelManifestArn(const Aws::String& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = value; }
76 inline void SetModelManifestArn(Aws::String&& value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn = std::move(value); }
77 inline void SetModelManifestArn(const char* value) { m_modelManifestArnHasBeenSet = true; m_modelManifestArn.assign(value); }
79 inline CreateDecoderManifestRequest& WithModelManifestArn(Aws::String&& value) { SetModelManifestArn(std::move(value)); return *this;}
80 inline CreateDecoderManifestRequest& WithModelManifestArn(const char* value) { SetModelManifestArn(value); return *this;}
82
84
87 inline const Aws::Vector<SignalDecoder>& GetSignalDecoders() const{ return m_signalDecoders; }
88 inline bool SignalDecodersHasBeenSet() const { return m_signalDecodersHasBeenSet; }
89 inline void SetSignalDecoders(const Aws::Vector<SignalDecoder>& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders = value; }
90 inline void SetSignalDecoders(Aws::Vector<SignalDecoder>&& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders = std::move(value); }
93 inline CreateDecoderManifestRequest& AddSignalDecoders(const SignalDecoder& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders.push_back(value); return *this; }
94 inline CreateDecoderManifestRequest& AddSignalDecoders(SignalDecoder&& value) { m_signalDecodersHasBeenSet = true; m_signalDecoders.push_back(std::move(value)); return *this; }
96
98
101 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
102 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
103 inline void SetNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
104 inline void SetNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
107 inline CreateDecoderManifestRequest& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
108 inline CreateDecoderManifestRequest& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
110
112
115 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
116 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
117 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
118 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
119 inline CreateDecoderManifestRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
120 inline CreateDecoderManifestRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
121 inline CreateDecoderManifestRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
122 inline CreateDecoderManifestRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
124 private:
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 Aws::String m_description;
130 bool m_descriptionHasBeenSet = false;
131
132 Aws::String m_modelManifestArn;
133 bool m_modelManifestArnHasBeenSet = false;
134
135 Aws::Vector<SignalDecoder> m_signalDecoders;
136 bool m_signalDecodersHasBeenSet = false;
137
138 Aws::Vector<NetworkInterface> m_networkInterfaces;
139 bool m_networkInterfacesHasBeenSet = false;
140
141 Aws::Vector<Tag> m_tags;
142 bool m_tagsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace IoTFleetWise
147} // namespace Aws
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
CreateDecoderManifestRequest & WithName(const char *value)
CreateDecoderManifestRequest & WithSignalDecoders(Aws::Vector< SignalDecoder > &&value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDecoderManifestRequest & WithDescription(const Aws::String &value)
void SetSignalDecoders(Aws::Vector< SignalDecoder > &&value)
CreateDecoderManifestRequest & AddTags(const Tag &value)
CreateDecoderManifestRequest & WithName(const Aws::String &value)
CreateDecoderManifestRequest & WithName(Aws::String &&value)
CreateDecoderManifestRequest & WithDescription(Aws::String &&value)
void SetSignalDecoders(const Aws::Vector< SignalDecoder > &value)
CreateDecoderManifestRequest & AddSignalDecoders(SignalDecoder &&value)
CreateDecoderManifestRequest & WithModelManifestArn(Aws::String &&value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
CreateDecoderManifestRequest & AddNetworkInterfaces(NetworkInterface &&value)
const Aws::Vector< SignalDecoder > & GetSignalDecoders() const
CreateDecoderManifestRequest & WithDescription(const char *value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
CreateDecoderManifestRequest & WithModelManifestArn(const char *value)
CreateDecoderManifestRequest & WithSignalDecoders(const Aws::Vector< SignalDecoder > &value)
CreateDecoderManifestRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDecoderManifestRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDecoderManifestRequest & AddNetworkInterfaces(const NetworkInterface &value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
CreateDecoderManifestRequest & WithModelManifestArn(const Aws::String &value)
CreateDecoderManifestRequest & AddSignalDecoders(const SignalDecoder &value)
CreateDecoderManifestRequest & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
CreateDecoderManifestRequest & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &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