AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Dimension.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace NetworkFirewall
22{
23namespace Model
24{
25
41 {
42 public:
43 AWS_NETWORKFIREWALL_API Dimension();
44 AWS_NETWORKFIREWALL_API Dimension(Aws::Utils::Json::JsonView jsonValue);
45 AWS_NETWORKFIREWALL_API Dimension& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetValue() const{ return m_value; }
54 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
55 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
56 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
57 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
58 inline Dimension& WithValue(const Aws::String& value) { SetValue(value); return *this;}
59 inline Dimension& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
60 inline Dimension& WithValue(const char* value) { SetValue(value); return *this;}
62 private:
63
64 Aws::String m_value;
65 bool m_valueHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace NetworkFirewall
70} // namespace Aws
void SetValue(const char *value)
Definition Dimension.h:57
const Aws::String & GetValue() const
Definition Dimension.h:53
Dimension & WithValue(const Aws::String &value)
Definition Dimension.h:58
AWS_NETWORKFIREWALL_API Dimension(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKFIREWALL_API Dimension & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
Definition Dimension.h:55
AWS_NETWORKFIREWALL_API Dimension()
void SetValue(Aws::String &&value)
Definition Dimension.h:56
Dimension & WithValue(Aws::String &&value)
Definition Dimension.h:59
Dimension & WithValue(const char *value)
Definition Dimension.h:60
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue