AWS SDK for C++  1.9.104
AWS SDK for C++
Record.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Macie2
22 {
23 namespace Model
24 {
25 
34  {
35  public:
36  Record();
40 
41 
55  inline const Aws::String& GetJsonPath() const{ return m_jsonPath; }
56 
70  inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
71 
85  inline void SetJsonPath(const Aws::String& value) { m_jsonPathHasBeenSet = true; m_jsonPath = value; }
86 
100  inline void SetJsonPath(Aws::String&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::move(value); }
101 
115  inline void SetJsonPath(const char* value) { m_jsonPathHasBeenSet = true; m_jsonPath.assign(value); }
116 
130  inline Record& WithJsonPath(const Aws::String& value) { SetJsonPath(value); return *this;}
131 
145  inline Record& WithJsonPath(Aws::String&& value) { SetJsonPath(std::move(value)); return *this;}
146 
160  inline Record& WithJsonPath(const char* value) { SetJsonPath(value); return *this;}
161 
162 
169  inline long long GetRecordIndex() const{ return m_recordIndex; }
170 
177  inline bool RecordIndexHasBeenSet() const { return m_recordIndexHasBeenSet; }
178 
185  inline void SetRecordIndex(long long value) { m_recordIndexHasBeenSet = true; m_recordIndex = value; }
186 
193  inline Record& WithRecordIndex(long long value) { SetRecordIndex(value); return *this;}
194 
195  private:
196 
197  Aws::String m_jsonPath;
198  bool m_jsonPathHasBeenSet;
199 
200  long long m_recordIndex;
201  bool m_recordIndexHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace Macie2
206 } // namespace Aws
Aws::Macie2::Model::Record::SetJsonPath
void SetJsonPath(Aws::String &&value)
Definition: Record.h:100
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::Record::WithJsonPath
Record & WithJsonPath(const Aws::String &value)
Definition: Record.h:130
Aws::Macie2::Model::Record
Definition: Record.h:34
Aws::Macie2::Model::Record::GetRecordIndex
long long GetRecordIndex() const
Definition: Record.h:169
Macie2_EXPORTS.h
Aws::Macie2::Model::Record::WithJsonPath
Record & WithJsonPath(const char *value)
Definition: Record.h:160
Aws::Macie2::Model::Record::Record
Record()
Aws::Macie2::Model::Record::SetJsonPath
void SetJsonPath(const char *value)
Definition: Record.h:115
Aws::Macie2::Model::Record::WithRecordIndex
Record & WithRecordIndex(long long value)
Definition: Record.h:193
Aws::Macie2::Model::Record::GetJsonPath
const Aws::String & GetJsonPath() const
Definition: Record.h:55
Aws::Macie2::Model::Record::RecordIndexHasBeenSet
bool RecordIndexHasBeenSet() const
Definition: Record.h:177
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::Record::Record
Record(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Record::JsonPathHasBeenSet
bool JsonPathHasBeenSet() const
Definition: Record.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::Record::WithJsonPath
Record & WithJsonPath(Aws::String &&value)
Definition: Record.h:145
Aws::Macie2::Model::Record::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::Record::SetJsonPath
void SetJsonPath(const Aws::String &value)
Definition: Record.h:85
Aws::Macie2::Model::Record::operator=
Record & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Record::SetRecordIndex
void SetRecordIndex(long long value)
Definition: Record.h:185