AWS SDK for C++  1.9.153
AWS SDK for C++
Substring.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace AccessAnalyzer
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetLength() const{ return m_length; }
43 
47  inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; }
48 
52  inline void SetLength(int value) { m_lengthHasBeenSet = true; m_length = value; }
53 
57  inline Substring& WithLength(int value) { SetLength(value); return *this;}
58 
59 
63  inline int GetStart() const{ return m_start; }
64 
68  inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
69 
73  inline void SetStart(int value) { m_startHasBeenSet = true; m_start = value; }
74 
78  inline Substring& WithStart(int value) { SetStart(value); return *this;}
79 
80  private:
81 
82  int m_length;
83  bool m_lengthHasBeenSet;
84 
85  int m_start;
86  bool m_startHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace AccessAnalyzer
91 } // namespace Aws
Aws::AccessAnalyzer::Model::Substring
Definition: Substring.h:31
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::Substring::WithLength
Substring & WithLength(int value)
Definition: Substring.h:57
Aws::AccessAnalyzer::Model::Substring::LengthHasBeenSet
bool LengthHasBeenSet() const
Definition: Substring.h:47
Aws::AccessAnalyzer::Model::Substring::operator=
Substring & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::Substring::SetStart
void SetStart(int value)
Definition: Substring.h:73
Aws::AccessAnalyzer::Model::Substring::Substring
Substring()
Aws::AccessAnalyzer::Model::Substring::GetStart
int GetStart() const
Definition: Substring.h:63
Aws::AccessAnalyzer::Model::Substring::GetLength
int GetLength() const
Definition: Substring.h:42
Aws::AccessAnalyzer::Model::Substring::Substring
Substring(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AccessAnalyzer::Model::Substring::WithStart
Substring & WithStart(int value)
Definition: Substring.h:78
Aws::AccessAnalyzer::Model::Substring::StartHasBeenSet
bool StartHasBeenSet() const
Definition: Substring.h:68
Aws::AccessAnalyzer::Model::Substring::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::Substring::SetLength
void SetLength(int value)
Definition: Substring.h:52