AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ConnectionQueryStringParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridge/EventBridge_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EventBridge {
20namespace Model {
21
31 public:
32 AWS_EVENTBRIDGE_API ConnectionQueryStringParameter() = default;
35 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetKey() const { return m_key; }
42 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
43 template <typename KeyT = Aws::String>
44 void SetKey(KeyT&& value) {
45 m_keyHasBeenSet = true;
46 m_key = std::forward<KeyT>(value);
47 }
48 template <typename KeyT = Aws::String>
50 SetKey(std::forward<KeyT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetValue() const { return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 template <typename ValueT = Aws::String>
62 void SetValue(ValueT&& value) {
63 m_valueHasBeenSet = true;
64 m_value = std::forward<ValueT>(value);
65 }
66 template <typename ValueT = Aws::String>
68 SetValue(std::forward<ValueT>(value));
69 return *this;
70 }
72
74
77 inline bool GetIsValueSecret() const { return m_isValueSecret; }
78 inline bool IsValueSecretHasBeenSet() const { return m_isValueSecretHasBeenSet; }
79 inline void SetIsValueSecret(bool value) {
80 m_isValueSecretHasBeenSet = true;
81 m_isValueSecret = value;
82 }
84 SetIsValueSecret(value);
85 return *this;
86 }
88 private:
89 Aws::String m_key;
90
91 Aws::String m_value;
92
93 bool m_isValueSecret{false};
94 bool m_keyHasBeenSet = false;
95 bool m_valueHasBeenSet = false;
96 bool m_isValueSecretHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace EventBridge
101} // namespace Aws
AWS_EVENTBRIDGE_API ConnectionQueryStringParameter()=default
AWS_EVENTBRIDGE_API ConnectionQueryStringParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionQueryStringParameter & WithValue(ValueT &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionQueryStringParameter & WithIsValueSecret(bool value)
AWS_EVENTBRIDGE_API ConnectionQueryStringParameter(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue