AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
DeleteInstrumentationConfigurationRequest.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignalsRequest.h>
8#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
9#include <aws/application-signals/model/DynamicInstrumentationSignalType.h>
10#include <aws/application-signals/model/InstrumentationType.h>
11#include <aws/application-signals/model/LocationIdentifier.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ApplicationSignals {
18namespace Model {
19
23 public:
24 AWS_APPLICATIONSIGNALS_API DeleteInstrumentationConfigurationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteInstrumentationConfiguration"; }
31
32 AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override;
33
35
39 inline InstrumentationType GetInstrumentationType() const { return m_instrumentationType; }
40 inline bool InstrumentationTypeHasBeenSet() const { return m_instrumentationTypeHasBeenSet; }
42 m_instrumentationTypeHasBeenSet = true;
43 m_instrumentationType = value;
44 }
47 return *this;
48 }
50
52
55 inline const Aws::String& GetService() const { return m_service; }
56 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
57 template <typename ServiceT = Aws::String>
58 void SetService(ServiceT&& value) {
59 m_serviceHasBeenSet = true;
60 m_service = std::forward<ServiceT>(value);
61 }
62 template <typename ServiceT = Aws::String>
64 SetService(std::forward<ServiceT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetEnvironment() const { return m_environment; }
74 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
75 template <typename EnvironmentT = Aws::String>
76 void SetEnvironment(EnvironmentT&& value) {
77 m_environmentHasBeenSet = true;
78 m_environment = std::forward<EnvironmentT>(value);
79 }
80 template <typename EnvironmentT = Aws::String>
82 SetEnvironment(std::forward<EnvironmentT>(value));
83 return *this;
84 }
86
88
91 inline DynamicInstrumentationSignalType GetSignalType() const { return m_signalType; }
92 inline bool SignalTypeHasBeenSet() const { return m_signalTypeHasBeenSet; }
94 m_signalTypeHasBeenSet = true;
95 m_signalType = value;
96 }
98 SetSignalType(value);
99 return *this;
100 }
102
104
107 inline const LocationIdentifier& GetLocationIdentifier() const { return m_locationIdentifier; }
108 inline bool LocationIdentifierHasBeenSet() const { return m_locationIdentifierHasBeenSet; }
109 template <typename LocationIdentifierT = LocationIdentifier>
110 void SetLocationIdentifier(LocationIdentifierT&& value) {
111 m_locationIdentifierHasBeenSet = true;
112 m_locationIdentifier = std::forward<LocationIdentifierT>(value);
113 }
114 template <typename LocationIdentifierT = LocationIdentifier>
116 SetLocationIdentifier(std::forward<LocationIdentifierT>(value));
117 return *this;
118 }
120 private:
122
123 Aws::String m_service;
124
125 Aws::String m_environment;
126
128
129 LocationIdentifier m_locationIdentifier;
130 bool m_instrumentationTypeHasBeenSet = false;
131 bool m_serviceHasBeenSet = false;
132 bool m_environmentHasBeenSet = false;
133 bool m_signalTypeHasBeenSet = false;
134 bool m_locationIdentifierHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace ApplicationSignals
139} // namespace Aws
DeleteInstrumentationConfigurationRequest & WithSignalType(DynamicInstrumentationSignalType value)
DeleteInstrumentationConfigurationRequest & WithLocationIdentifier(LocationIdentifierT &&value)
DeleteInstrumentationConfigurationRequest & WithEnvironment(EnvironmentT &&value)
AWS_APPLICATIONSIGNALS_API DeleteInstrumentationConfigurationRequest()=default
DeleteInstrumentationConfigurationRequest & WithInstrumentationType(InstrumentationType value)
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String