AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ProcessorParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/ProcessorParameterName.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Firehose {
21namespace Model {
22
29 public:
30 AWS_FIREHOSE_API ProcessorParameter() = default;
33 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline ProcessorParameterName GetParameterName() const { return m_parameterName; }
45 inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; }
47 m_parameterNameHasBeenSet = true;
48 m_parameterName = value;
49 }
51 SetParameterName(value);
52 return *this;
53 }
55
57
60 inline const Aws::String& GetParameterValue() const { return m_parameterValue; }
61 inline bool ParameterValueHasBeenSet() const { return m_parameterValueHasBeenSet; }
62 template <typename ParameterValueT = Aws::String>
63 void SetParameterValue(ParameterValueT&& value) {
64 m_parameterValueHasBeenSet = true;
65 m_parameterValue = std::forward<ParameterValueT>(value);
66 }
67 template <typename ParameterValueT = Aws::String>
68 ProcessorParameter& WithParameterValue(ParameterValueT&& value) {
69 SetParameterValue(std::forward<ParameterValueT>(value));
70 return *this;
71 }
73 private:
75
76 Aws::String m_parameterValue;
77 bool m_parameterNameHasBeenSet = false;
78 bool m_parameterValueHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Firehose
83} // namespace Aws
ProcessorParameter & WithParameterName(ProcessorParameterName value)
void SetParameterName(ProcessorParameterName value)
AWS_FIREHOSE_API ProcessorParameter(Aws::Utils::Json::JsonView jsonValue)
void SetParameterValue(ParameterValueT &&value)
const Aws::String & GetParameterValue() const
AWS_FIREHOSE_API ProcessorParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
ProcessorParameter & WithParameterValue(ParameterValueT &&value)
ProcessorParameterName GetParameterName() const
AWS_FIREHOSE_API ProcessorParameter()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue