AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
PutRuntimeLogConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/RuntimeLogConfigurations.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoTManagedIntegrations {
16namespace Model {
17
21 public:
22 AWS_IOTMANAGEDINTEGRATIONS_API PutRuntimeLogConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutRuntimeLogConfiguration"; }
29
30 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetManagedThingId() const { return m_managedThingId; }
37 inline bool ManagedThingIdHasBeenSet() const { return m_managedThingIdHasBeenSet; }
38 template <typename ManagedThingIdT = Aws::String>
39 void SetManagedThingId(ManagedThingIdT&& value) {
40 m_managedThingIdHasBeenSet = true;
41 m_managedThingId = std::forward<ManagedThingIdT>(value);
42 }
43 template <typename ManagedThingIdT = Aws::String>
45 SetManagedThingId(std::forward<ManagedThingIdT>(value));
46 return *this;
47 }
49
51
54 inline const RuntimeLogConfigurations& GetRuntimeLogConfigurations() const { return m_runtimeLogConfigurations; }
55 inline bool RuntimeLogConfigurationsHasBeenSet() const { return m_runtimeLogConfigurationsHasBeenSet; }
56 template <typename RuntimeLogConfigurationsT = RuntimeLogConfigurations>
57 void SetRuntimeLogConfigurations(RuntimeLogConfigurationsT&& value) {
58 m_runtimeLogConfigurationsHasBeenSet = true;
59 m_runtimeLogConfigurations = std::forward<RuntimeLogConfigurationsT>(value);
60 }
61 template <typename RuntimeLogConfigurationsT = RuntimeLogConfigurations>
63 SetRuntimeLogConfigurations(std::forward<RuntimeLogConfigurationsT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_managedThingId;
69
70 RuntimeLogConfigurations m_runtimeLogConfigurations;
71 bool m_managedThingIdHasBeenSet = false;
72 bool m_runtimeLogConfigurationsHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace IoTManagedIntegrations
77} // namespace Aws
PutRuntimeLogConfigurationRequest & WithManagedThingId(ManagedThingIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
PutRuntimeLogConfigurationRequest & WithRuntimeLogConfigurations(RuntimeLogConfigurationsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API PutRuntimeLogConfigurationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String