AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportDecoderManifestRequest.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/NetworkFileDefinition.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTFleetWise
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTFLEETWISE_API ImportDecoderManifestRequest();
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 "ImportDecoderManifest"; }
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 ImportDecoderManifestRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline ImportDecoderManifestRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline ImportDecoderManifestRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::Vector<NetworkFileDefinition>& GetNetworkFileDefinitions() const{ return m_networkFileDefinitions; }
58 inline bool NetworkFileDefinitionsHasBeenSet() const { return m_networkFileDefinitionsHasBeenSet; }
59 inline void SetNetworkFileDefinitions(const Aws::Vector<NetworkFileDefinition>& value) { m_networkFileDefinitionsHasBeenSet = true; m_networkFileDefinitions = value; }
60 inline void SetNetworkFileDefinitions(Aws::Vector<NetworkFileDefinition>&& value) { m_networkFileDefinitionsHasBeenSet = true; m_networkFileDefinitions = std::move(value); }
63 inline ImportDecoderManifestRequest& AddNetworkFileDefinitions(const NetworkFileDefinition& value) { m_networkFileDefinitionsHasBeenSet = true; m_networkFileDefinitions.push_back(value); return *this; }
64 inline ImportDecoderManifestRequest& AddNetworkFileDefinitions(NetworkFileDefinition&& value) { m_networkFileDefinitionsHasBeenSet = true; m_networkFileDefinitions.push_back(std::move(value)); return *this; }
66 private:
67
68 Aws::String m_name;
69 bool m_nameHasBeenSet = false;
70
71 Aws::Vector<NetworkFileDefinition> m_networkFileDefinitions;
72 bool m_networkFileDefinitionsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTFleetWise
77} // namespace Aws
ImportDecoderManifestRequest & WithNetworkFileDefinitions(Aws::Vector< NetworkFileDefinition > &&value)
ImportDecoderManifestRequest & WithName(const char *value)
void SetNetworkFileDefinitions(const Aws::Vector< NetworkFileDefinition > &value)
ImportDecoderManifestRequest & WithName(Aws::String &&value)
ImportDecoderManifestRequest & AddNetworkFileDefinitions(const NetworkFileDefinition &value)
const Aws::Vector< NetworkFileDefinition > & GetNetworkFileDefinitions() const
void SetNetworkFileDefinitions(Aws::Vector< NetworkFileDefinition > &&value)
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
ImportDecoderManifestRequest & WithName(const Aws::String &value)
ImportDecoderManifestRequest & AddNetworkFileDefinitions(NetworkFileDefinition &&value)
ImportDecoderManifestRequest & WithNetworkFileDefinitions(const Aws::Vector< NetworkFileDefinition > &value)
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() 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