AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateTelemetryPipelineRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdminRequest.h>
9#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
10#include <aws/observabilityadmin/model/TelemetryPipelineConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ObservabilityAdmin {
16namespace Model {
17
21 public:
22 AWS_OBSERVABILITYADMIN_API UpdateTelemetryPipelineRequest() = 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 "UpdateTelemetryPipeline"; }
29
30 AWS_OBSERVABILITYADMIN_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetPipelineIdentifier() const { return m_pipelineIdentifier; }
37 inline bool PipelineIdentifierHasBeenSet() const { return m_pipelineIdentifierHasBeenSet; }
38 template <typename PipelineIdentifierT = Aws::String>
39 void SetPipelineIdentifier(PipelineIdentifierT&& value) {
40 m_pipelineIdentifierHasBeenSet = true;
41 m_pipelineIdentifier = std::forward<PipelineIdentifierT>(value);
42 }
43 template <typename PipelineIdentifierT = Aws::String>
45 SetPipelineIdentifier(std::forward<PipelineIdentifierT>(value));
46 return *this;
47 }
49
51
55 inline const TelemetryPipelineConfiguration& GetConfiguration() const { return m_configuration; }
56 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
57 template <typename ConfigurationT = TelemetryPipelineConfiguration>
58 void SetConfiguration(ConfigurationT&& value) {
59 m_configurationHasBeenSet = true;
60 m_configuration = std::forward<ConfigurationT>(value);
61 }
62 template <typename ConfigurationT = TelemetryPipelineConfiguration>
64 SetConfiguration(std::forward<ConfigurationT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_pipelineIdentifier;
70
71 TelemetryPipelineConfiguration m_configuration;
72 bool m_pipelineIdentifierHasBeenSet = false;
73 bool m_configurationHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ObservabilityAdmin
78} // namespace Aws
AWS_OBSERVABILITYADMIN_API Aws::String SerializePayload() const override
AWS_OBSERVABILITYADMIN_API UpdateTelemetryPipelineRequest()=default
UpdateTelemetryPipelineRequest & WithConfiguration(ConfigurationT &&value)
UpdateTelemetryPipelineRequest & WithPipelineIdentifier(PipelineIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String