AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsElbv2LoadBalancerAttribute.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28 public:
29 AWS_SECURITYHUB_API AwsElbv2LoadBalancerAttribute() = default;
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetKey() const { return m_key; }
39 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
40 template <typename KeyT = Aws::String>
41 void SetKey(KeyT&& value) {
42 m_keyHasBeenSet = true;
43 m_key = std::forward<KeyT>(value);
44 }
45 template <typename KeyT = Aws::String>
47 SetKey(std::forward<KeyT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetValue() const { return m_value; }
57 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
58 template <typename ValueT = Aws::String>
59 void SetValue(ValueT&& value) {
60 m_valueHasBeenSet = true;
61 m_value = std::forward<ValueT>(value);
62 }
63 template <typename ValueT = Aws::String>
65 SetValue(std::forward<ValueT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_key;
71
72 Aws::String m_value;
73 bool m_keyHasBeenSet = false;
74 bool m_valueHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SecurityHub
79} // namespace Aws
AWS_SECURITYHUB_API AwsElbv2LoadBalancerAttribute()=default
AWS_SECURITYHUB_API AwsElbv2LoadBalancerAttribute(Aws::Utils::Json::JsonView jsonValue)
AwsElbv2LoadBalancerAttribute & WithValue(ValueT &&value)
AWS_SECURITYHUB_API AwsElbv2LoadBalancerAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue