AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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