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/application-signals/ApplicationSignals_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 ApplicationSignals
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_APPLICATIONSIGNALS_API Dimension();
41 AWS_APPLICATIONSIGNALS_API Dimension(Aws::Utils::Json::JsonView jsonValue);
42 AWS_APPLICATIONSIGNALS_API Dimension& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
58 inline Dimension& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline Dimension& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline Dimension& WithName(const char* value) { SetName(value); return *this;}
62
64
69 inline const Aws::String& GetValue() const{ return m_value; }
70 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
71 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
72 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
73 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
74 inline Dimension& WithValue(const Aws::String& value) { SetValue(value); return *this;}
75 inline Dimension& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
76 inline Dimension& WithValue(const char* value) { SetValue(value); return *this;}
78 private:
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
83 Aws::String m_value;
84 bool m_valueHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ApplicationSignals
89} // namespace Aws
void SetName(const Aws::String &value)
Definition Dimension.h:55
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
Dimension & WithName(Aws::String &&value)
Definition Dimension.h:59
void SetValue(const Aws::String &value)
Definition Dimension.h:71
void SetName(Aws::String &&value)
Definition Dimension.h:56
Dimension & WithValue(Aws::String &&value)
Definition Dimension.h:75
Dimension & WithName(const char *value)
Definition Dimension.h:60
const Aws::String & GetName() const
Definition Dimension.h:53
void SetValue(Aws::String &&value)
Definition Dimension.h:72
Dimension & WithName(const Aws::String &value)
Definition Dimension.h:58
const Aws::String & GetValue() const
Definition Dimension.h:69
AWS_APPLICATIONSIGNALS_API Dimension(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Dimension()
Dimension & WithValue(const char *value)
Definition Dimension.h:76
AWS_APPLICATIONSIGNALS_API Dimension & operator=(Aws::Utils::Json::JsonView jsonValue)
Dimension & WithValue(const Aws::String &value)
Definition Dimension.h:74
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue