AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Substring.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AccessAnalyzer
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_ACCESSANALYZER_API Substring();
34 AWS_ACCESSANALYZER_API Substring(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ACCESSANALYZER_API Substring& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetStart() const{ return m_start; }
44 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
45 inline void SetStart(int value) { m_startHasBeenSet = true; m_start = value; }
46 inline Substring& WithStart(int value) { SetStart(value); return *this;}
48
50
53 inline int GetLength() const{ return m_length; }
54 inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; }
55 inline void SetLength(int value) { m_lengthHasBeenSet = true; m_length = value; }
56 inline Substring& WithLength(int value) { SetLength(value); return *this;}
58 private:
59
60 int m_start;
61 bool m_startHasBeenSet = false;
62
63 int m_length;
64 bool m_lengthHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace AccessAnalyzer
69} // namespace Aws
AWS_ACCESSANALYZER_API Substring & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Substring()
Substring & WithLength(int value)
Definition Substring.h:56
AWS_ACCESSANALYZER_API Substring(Aws::Utils::Json::JsonView jsonValue)
Substring & WithStart(int value)
Definition Substring.h:46
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue