AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
CreateOtaTaskConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
10#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
11#include <aws/iot-managed-integrations/model/PushConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IoTManagedIntegrations {
17namespace Model {
18
22 public:
23 AWS_IOTMANAGEDINTEGRATIONS_API CreateOtaTaskConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateOtaTaskConfiguration"; }
30
31 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetDescription() const { return m_description; }
38 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
39 template <typename DescriptionT = Aws::String>
40 void SetDescription(DescriptionT&& value) {
41 m_descriptionHasBeenSet = true;
42 m_description = std::forward<DescriptionT>(value);
43 }
44 template <typename DescriptionT = Aws::String>
46 SetDescription(std::forward<DescriptionT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const PushConfig& GetPushConfig() const { return m_pushConfig; }
74 inline bool PushConfigHasBeenSet() const { return m_pushConfigHasBeenSet; }
75 template <typename PushConfigT = PushConfig>
76 void SetPushConfig(PushConfigT&& value) {
77 m_pushConfigHasBeenSet = true;
78 m_pushConfig = std::forward<PushConfigT>(value);
79 }
80 template <typename PushConfigT = PushConfig>
82 SetPushConfig(std::forward<PushConfigT>(value));
83 return *this;
84 }
86
88
93 inline const Aws::String& GetClientToken() const { return m_clientToken; }
94 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
95 template <typename ClientTokenT = Aws::String>
96 void SetClientToken(ClientTokenT&& value) {
97 m_clientTokenHasBeenSet = true;
98 m_clientToken = std::forward<ClientTokenT>(value);
99 }
100 template <typename ClientTokenT = Aws::String>
102 SetClientToken(std::forward<ClientTokenT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_description;
108
109 Aws::String m_name;
110
111 PushConfig m_pushConfig;
112
114 bool m_descriptionHasBeenSet = false;
115 bool m_nameHasBeenSet = false;
116 bool m_pushConfigHasBeenSet = false;
117 bool m_clientTokenHasBeenSet = true;
118};
119
120} // namespace Model
121} // namespace IoTManagedIntegrations
122} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API CreateOtaTaskConfigurationRequest()=default
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
CreateOtaTaskConfigurationRequest & WithDescription(DescriptionT &&value)
CreateOtaTaskConfigurationRequest & WithPushConfig(PushConfigT &&value)
CreateOtaTaskConfigurationRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String