AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdatePackageConfigurationRequest.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/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/VersionUpdateByJobsConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace IoT {
20namespace Model {
21
25 public:
26 AWS_IOT_API UpdatePackageConfigurationRequest() = 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 "UpdatePackageConfiguration"; }
33
34 AWS_IOT_API Aws::String SerializePayload() const override;
35
36 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
43 inline const VersionUpdateByJobsConfig& GetVersionUpdateByJobsConfig() const { return m_versionUpdateByJobsConfig; }
44 inline bool VersionUpdateByJobsConfigHasBeenSet() const { return m_versionUpdateByJobsConfigHasBeenSet; }
45 template <typename VersionUpdateByJobsConfigT = VersionUpdateByJobsConfig>
46 void SetVersionUpdateByJobsConfig(VersionUpdateByJobsConfigT&& value) {
47 m_versionUpdateByJobsConfigHasBeenSet = true;
48 m_versionUpdateByJobsConfig = std::forward<VersionUpdateByJobsConfigT>(value);
49 }
50 template <typename VersionUpdateByJobsConfigT = VersionUpdateByJobsConfig>
52 SetVersionUpdateByJobsConfig(std::forward<VersionUpdateByJobsConfigT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetClientToken() const { return m_clientToken; }
64 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
65 template <typename ClientTokenT = Aws::String>
66 void SetClientToken(ClientTokenT&& value) {
67 m_clientTokenHasBeenSet = true;
68 m_clientToken = std::forward<ClientTokenT>(value);
69 }
70 template <typename ClientTokenT = Aws::String>
72 SetClientToken(std::forward<ClientTokenT>(value));
73 return *this;
74 }
76 private:
77 VersionUpdateByJobsConfig m_versionUpdateByJobsConfig;
78
80 bool m_versionUpdateByJobsConfigHasBeenSet = false;
81 bool m_clientTokenHasBeenSet = true;
82};
83
84} // namespace Model
85} // namespace IoT
86} // namespace Aws
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdatePackageConfigurationRequest & WithClientToken(ClientTokenT &&value)
UpdatePackageConfigurationRequest & WithVersionUpdateByJobsConfig(VersionUpdateByJobsConfigT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetVersionUpdateByJobsConfig(VersionUpdateByJobsConfigT &&value)
const VersionUpdateByJobsConfig & GetVersionUpdateByJobsConfig() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String