AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DimensionKeyDetail.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pi/model/DetailStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PI
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PI_API DimensionKeyDetail();
40
41
43
50 inline const Aws::String& GetValue() const{ return m_value; }
51 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
52 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
53 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
54 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
55 inline DimensionKeyDetail& WithValue(const Aws::String& value) { SetValue(value); return *this;}
56 inline DimensionKeyDetail& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
57 inline DimensionKeyDetail& WithValue(const char* value) { SetValue(value); return *this;}
59
61
67 inline const Aws::String& GetDimension() const{ return m_dimension; }
68 inline bool DimensionHasBeenSet() const { return m_dimensionHasBeenSet; }
69 inline void SetDimension(const Aws::String& value) { m_dimensionHasBeenSet = true; m_dimension = value; }
70 inline void SetDimension(Aws::String&& value) { m_dimensionHasBeenSet = true; m_dimension = std::move(value); }
71 inline void SetDimension(const char* value) { m_dimensionHasBeenSet = true; m_dimension.assign(value); }
72 inline DimensionKeyDetail& WithDimension(const Aws::String& value) { SetDimension(value); return *this;}
73 inline DimensionKeyDetail& WithDimension(Aws::String&& value) { SetDimension(std::move(value)); return *this;}
74 inline DimensionKeyDetail& WithDimension(const char* value) { SetDimension(value); return *this;}
76
78
88 inline const DetailStatus& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const DetailStatus& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(DetailStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline DimensionKeyDetail& WithStatus(const DetailStatus& value) { SetStatus(value); return *this;}
93 inline DimensionKeyDetail& WithStatus(DetailStatus&& value) { SetStatus(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_value;
98 bool m_valueHasBeenSet = false;
99
100 Aws::String m_dimension;
101 bool m_dimensionHasBeenSet = false;
102
103 DetailStatus m_status;
104 bool m_statusHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace PI
109} // namespace Aws
AWS_PI_API DimensionKeyDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
DimensionKeyDetail & WithValue(const Aws::String &value)
AWS_PI_API DimensionKeyDetail(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
void SetDimension(const Aws::String &value)
DimensionKeyDetail & WithDimension(const Aws::String &value)
void SetDimension(Aws::String &&value)
DimensionKeyDetail & WithValue(const char *value)
const Aws::String & GetValue() const
void SetStatus(DetailStatus &&value)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
DimensionKeyDetail & WithValue(Aws::String &&value)
void SetValue(Aws::String &&value)
DimensionKeyDetail & WithDimension(Aws::String &&value)
void SetStatus(const DetailStatus &value)
const DetailStatus & GetStatus() const
const Aws::String & GetDimension() const
DimensionKeyDetail & WithDimension(const char *value)
DimensionKeyDetail & WithStatus(const DetailStatus &value)
DimensionKeyDetail & WithStatus(DetailStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue