AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ValueRange.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CustomerProfiles {
17namespace Model {
18
28 public:
29 AWS_CUSTOMERPROFILES_API ValueRange() = default;
30 AWS_CUSTOMERPROFILES_API ValueRange(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CUSTOMERPROFILES_API ValueRange& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline int GetStart() const { return m_start; }
41 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
42 inline void SetStart(int value) {
43 m_startHasBeenSet = true;
44 m_start = value;
45 }
46 inline ValueRange& WithStart(int value) {
47 SetStart(value);
48 return *this;
49 }
51
53
58 inline int GetEnd() const { return m_end; }
59 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
60 inline void SetEnd(int value) {
61 m_endHasBeenSet = true;
62 m_end = value;
63 }
64 inline ValueRange& WithEnd(int value) {
65 SetEnd(value);
66 return *this;
67 }
69 private:
70 int m_start{0};
71
72 int m_end{0};
73 bool m_startHasBeenSet = false;
74 bool m_endHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CustomerProfiles
79} // namespace Aws
ValueRange & WithStart(int value)
Definition ValueRange.h:46
AWS_CUSTOMERPROFILES_API ValueRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API ValueRange(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API ValueRange()=default
Aws::Utils::Json::JsonValue JsonValue