AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdatePackageConfigurationRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/model/VersionUpdateByJobsConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoT
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_IOT_API UpdatePackageConfigurationRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdatePackageConfiguration"; }
37
38 AWS_IOT_API Aws::String SerializePayload() const override;
39
40 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
48 inline const VersionUpdateByJobsConfig& GetVersionUpdateByJobsConfig() const { return m_versionUpdateByJobsConfig; }
49 inline bool VersionUpdateByJobsConfigHasBeenSet() const { return m_versionUpdateByJobsConfigHasBeenSet; }
50 template<typename VersionUpdateByJobsConfigT = VersionUpdateByJobsConfig>
51 void SetVersionUpdateByJobsConfig(VersionUpdateByJobsConfigT&& value) { m_versionUpdateByJobsConfigHasBeenSet = true; m_versionUpdateByJobsConfig = std::forward<VersionUpdateByJobsConfigT>(value); }
52 template<typename VersionUpdateByJobsConfigT = VersionUpdateByJobsConfig>
53 UpdatePackageConfigurationRequest& WithVersionUpdateByJobsConfig(VersionUpdateByJobsConfigT&& value) { SetVersionUpdateByJobsConfig(std::forward<VersionUpdateByJobsConfigT>(value)); return *this;}
55
57
62 inline const Aws::String& GetClientToken() const { return m_clientToken; }
63 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
64 template<typename ClientTokenT = Aws::String>
65 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
66 template<typename ClientTokenT = Aws::String>
67 UpdatePackageConfigurationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
69 private:
70
71 VersionUpdateByJobsConfig m_versionUpdateByJobsConfig;
72 bool m_versionUpdateByJobsConfigHasBeenSet = false;
73
75 bool m_clientTokenHasBeenSet = true;
76 };
77
78} // namespace Model
79} // namespace IoT
80} // 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