AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KeyRange.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Snowball
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_SNOWBALL_API KeyRange();
39 AWS_SNOWBALL_API KeyRange(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SNOWBALL_API KeyRange& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetBeginMarker() const{ return m_beginMarker; }
50 inline bool BeginMarkerHasBeenSet() const { return m_beginMarkerHasBeenSet; }
51 inline void SetBeginMarker(const Aws::String& value) { m_beginMarkerHasBeenSet = true; m_beginMarker = value; }
52 inline void SetBeginMarker(Aws::String&& value) { m_beginMarkerHasBeenSet = true; m_beginMarker = std::move(value); }
53 inline void SetBeginMarker(const char* value) { m_beginMarkerHasBeenSet = true; m_beginMarker.assign(value); }
54 inline KeyRange& WithBeginMarker(const Aws::String& value) { SetBeginMarker(value); return *this;}
55 inline KeyRange& WithBeginMarker(Aws::String&& value) { SetBeginMarker(std::move(value)); return *this;}
56 inline KeyRange& WithBeginMarker(const char* value) { SetBeginMarker(value); return *this;}
58
60
64 inline const Aws::String& GetEndMarker() const{ return m_endMarker; }
65 inline bool EndMarkerHasBeenSet() const { return m_endMarkerHasBeenSet; }
66 inline void SetEndMarker(const Aws::String& value) { m_endMarkerHasBeenSet = true; m_endMarker = value; }
67 inline void SetEndMarker(Aws::String&& value) { m_endMarkerHasBeenSet = true; m_endMarker = std::move(value); }
68 inline void SetEndMarker(const char* value) { m_endMarkerHasBeenSet = true; m_endMarker.assign(value); }
69 inline KeyRange& WithEndMarker(const Aws::String& value) { SetEndMarker(value); return *this;}
70 inline KeyRange& WithEndMarker(Aws::String&& value) { SetEndMarker(std::move(value)); return *this;}
71 inline KeyRange& WithEndMarker(const char* value) { SetEndMarker(value); return *this;}
73 private:
74
75 Aws::String m_beginMarker;
76 bool m_beginMarkerHasBeenSet = false;
77
78 Aws::String m_endMarker;
79 bool m_endMarkerHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Snowball
84} // namespace Aws
void SetEndMarker(const Aws::String &value)
Definition KeyRange.h:66
bool BeginMarkerHasBeenSet() const
Definition KeyRange.h:50
void SetBeginMarker(const Aws::String &value)
Definition KeyRange.h:51
const Aws::String & GetBeginMarker() const
Definition KeyRange.h:49
KeyRange & WithBeginMarker(const Aws::String &value)
Definition KeyRange.h:54
KeyRange & WithBeginMarker(Aws::String &&value)
Definition KeyRange.h:55
void SetBeginMarker(Aws::String &&value)
Definition KeyRange.h:52
AWS_SNOWBALL_API KeyRange()
bool EndMarkerHasBeenSet() const
Definition KeyRange.h:65
const Aws::String & GetEndMarker() const
Definition KeyRange.h:64
void SetEndMarker(Aws::String &&value)
Definition KeyRange.h:67
void SetEndMarker(const char *value)
Definition KeyRange.h:68
KeyRange & WithEndMarker(Aws::String &&value)
Definition KeyRange.h:70
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SNOWBALL_API KeyRange & operator=(Aws::Utils::Json::JsonView jsonValue)
KeyRange & WithEndMarker(const Aws::String &value)
Definition KeyRange.h:69
void SetBeginMarker(const char *value)
Definition KeyRange.h:53
KeyRange & WithEndMarker(const char *value)
Definition KeyRange.h:71
AWS_SNOWBALL_API KeyRange(Aws::Utils::Json::JsonView jsonValue)
KeyRange & WithBeginMarker(const char *value)
Definition KeyRange.h:56
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue