AWS SDK for C++  1.9.161
AWS SDK for C++
KeyRange.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 Snowball
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetBeginMarker() const{ return m_beginMarker; }
49 
54  inline bool BeginMarkerHasBeenSet() const { return m_beginMarkerHasBeenSet; }
55 
60  inline void SetBeginMarker(const Aws::String& value) { m_beginMarkerHasBeenSet = true; m_beginMarker = value; }
61 
66  inline void SetBeginMarker(Aws::String&& value) { m_beginMarkerHasBeenSet = true; m_beginMarker = std::move(value); }
67 
72  inline void SetBeginMarker(const char* value) { m_beginMarkerHasBeenSet = true; m_beginMarker.assign(value); }
73 
78  inline KeyRange& WithBeginMarker(const Aws::String& value) { SetBeginMarker(value); return *this;}
79 
84  inline KeyRange& WithBeginMarker(Aws::String&& value) { SetBeginMarker(std::move(value)); return *this;}
85 
90  inline KeyRange& WithBeginMarker(const char* value) { SetBeginMarker(value); return *this;}
91 
92 
97  inline const Aws::String& GetEndMarker() const{ return m_endMarker; }
98 
103  inline bool EndMarkerHasBeenSet() const { return m_endMarkerHasBeenSet; }
104 
109  inline void SetEndMarker(const Aws::String& value) { m_endMarkerHasBeenSet = true; m_endMarker = value; }
110 
115  inline void SetEndMarker(Aws::String&& value) { m_endMarkerHasBeenSet = true; m_endMarker = std::move(value); }
116 
121  inline void SetEndMarker(const char* value) { m_endMarkerHasBeenSet = true; m_endMarker.assign(value); }
122 
127  inline KeyRange& WithEndMarker(const Aws::String& value) { SetEndMarker(value); return *this;}
128 
133  inline KeyRange& WithEndMarker(Aws::String&& value) { SetEndMarker(std::move(value)); return *this;}
134 
139  inline KeyRange& WithEndMarker(const char* value) { SetEndMarker(value); return *this;}
140 
141  private:
142 
143  Aws::String m_beginMarker;
144  bool m_beginMarkerHasBeenSet;
145 
146  Aws::String m_endMarker;
147  bool m_endMarkerHasBeenSet;
148  };
149 
150 } // namespace Model
151 } // namespace Snowball
152 } // namespace Aws
Aws::Snowball::Model::KeyRange::WithEndMarker
KeyRange & WithEndMarker(Aws::String &&value)
Definition: KeyRange.h:133
Aws::Snowball::Model::KeyRange::BeginMarkerHasBeenSet
bool BeginMarkerHasBeenSet() const
Definition: KeyRange.h:54
Aws::Snowball::Model::KeyRange::WithEndMarker
KeyRange & WithEndMarker(const Aws::String &value)
Definition: KeyRange.h:127
Aws::Snowball::Model::KeyRange::KeyRange
KeyRange()
Aws::Snowball::Model::KeyRange::SetBeginMarker
void SetBeginMarker(const char *value)
Definition: KeyRange.h:72
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::KeyRange::KeyRange
KeyRange(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::KeyRange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Snowball::Model::KeyRange::SetEndMarker
void SetEndMarker(const char *value)
Definition: KeyRange.h:121
Aws::Snowball::Model::KeyRange::WithEndMarker
KeyRange & WithEndMarker(const char *value)
Definition: KeyRange.h:139
Aws::Snowball::Model::KeyRange::SetBeginMarker
void SetBeginMarker(Aws::String &&value)
Definition: KeyRange.h:66
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Snowball::Model::KeyRange::WithBeginMarker
KeyRange & WithBeginMarker(const char *value)
Definition: KeyRange.h:90
Aws::Snowball::Model::KeyRange::GetBeginMarker
const Aws::String & GetBeginMarker() const
Definition: KeyRange.h:48
Aws::Snowball::Model::KeyRange::operator=
KeyRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::KeyRange::SetEndMarker
void SetEndMarker(const Aws::String &value)
Definition: KeyRange.h:109
Aws::Snowball::Model::KeyRange::GetEndMarker
const Aws::String & GetEndMarker() const
Definition: KeyRange.h:97
Aws::Snowball::Model::KeyRange::EndMarkerHasBeenSet
bool EndMarkerHasBeenSet() const
Definition: KeyRange.h:103
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::KeyRange::WithBeginMarker
KeyRange & WithBeginMarker(Aws::String &&value)
Definition: KeyRange.h:84
Aws::Snowball::Model::KeyRange::WithBeginMarker
KeyRange & WithBeginMarker(const Aws::String &value)
Definition: KeyRange.h:78
Aws::Snowball::Model::KeyRange
Definition: KeyRange.h:36
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::KeyRange::SetBeginMarker
void SetBeginMarker(const Aws::String &value)
Definition: KeyRange.h:60
Aws::Snowball::Model::KeyRange::SetEndMarker
void SetEndMarker(Aws::String &&value)
Definition: KeyRange.h:115
Snowball_EXPORTS.h