AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
MatchRange.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace AppMesh {
17namespace Model {
18
28 public:
29 AWS_APPMESH_API MatchRange() = default;
30 AWS_APPMESH_API MatchRange(Aws::Utils::Json::JsonView jsonValue);
31 AWS_APPMESH_API MatchRange& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline long long GetEnd() const { return m_end; }
39 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
40 inline void SetEnd(long long value) {
41 m_endHasBeenSet = true;
42 m_end = value;
43 }
44 inline MatchRange& WithEnd(long long value) {
45 SetEnd(value);
46 return *this;
47 }
49
51
54 inline long long GetStart() const { return m_start; }
55 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
56 inline void SetStart(long long value) {
57 m_startHasBeenSet = true;
58 m_start = value;
59 }
60 inline MatchRange& WithStart(long long value) {
61 SetStart(value);
62 return *this;
63 }
65 private:
66 long long m_end{0};
67
68 long long m_start{0};
69 bool m_endHasBeenSet = false;
70 bool m_startHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace AppMesh
75} // namespace Aws
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStart(long long value)
Definition MatchRange.h:56
AWS_APPMESH_API MatchRange & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchRange & WithStart(long long value)
Definition MatchRange.h:60
MatchRange & WithEnd(long long value)
Definition MatchRange.h:44
AWS_APPMESH_API MatchRange()=default
AWS_APPMESH_API MatchRange(Aws::Utils::Json::JsonView jsonValue)
void SetEnd(long long value)
Definition MatchRange.h:40
Aws::Utils::Json::JsonValue JsonValue