AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RangeOverride.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/RangeUnit.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 CustomerProfiles
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CUSTOMERPROFILES_API RangeOverride() = default;
36 AWS_CUSTOMERPROFILES_API RangeOverride(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CUSTOMERPROFILES_API RangeOverride& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetStart() const { return m_start; }
46 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
47 inline void SetStart(int value) { m_startHasBeenSet = true; m_start = value; }
48 inline RangeOverride& WithStart(int value) { SetStart(value); return *this;}
50
52
55 inline int GetEnd() const { return m_end; }
56 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
57 inline void SetEnd(int value) { m_endHasBeenSet = true; m_end = value; }
58 inline RangeOverride& WithEnd(int value) { SetEnd(value); return *this;}
60
62
65 inline RangeUnit GetUnit() const { return m_unit; }
66 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
67 inline void SetUnit(RangeUnit value) { m_unitHasBeenSet = true; m_unit = value; }
68 inline RangeOverride& WithUnit(RangeUnit value) { SetUnit(value); return *this;}
70 private:
71
72 int m_start{0};
73 bool m_startHasBeenSet = false;
74
75 int m_end{0};
76 bool m_endHasBeenSet = false;
77
79 bool m_unitHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CustomerProfiles
84} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API RangeOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API RangeOverride(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API RangeOverride()=default
RangeOverride & WithUnit(RangeUnit value)
Aws::Utils::Json::JsonValue JsonValue