AWS SDK for C++  1.9.103
AWS SDK for C++
PartListElement.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 Glacier
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetRangeInBytes() const{ return m_rangeInBytes; }
45 
49  inline bool RangeInBytesHasBeenSet() const { return m_rangeInBytesHasBeenSet; }
50 
54  inline void SetRangeInBytes(const Aws::String& value) { m_rangeInBytesHasBeenSet = true; m_rangeInBytes = value; }
55 
59  inline void SetRangeInBytes(Aws::String&& value) { m_rangeInBytesHasBeenSet = true; m_rangeInBytes = std::move(value); }
60 
64  inline void SetRangeInBytes(const char* value) { m_rangeInBytesHasBeenSet = true; m_rangeInBytes.assign(value); }
65 
69  inline PartListElement& WithRangeInBytes(const Aws::String& value) { SetRangeInBytes(value); return *this;}
70 
74  inline PartListElement& WithRangeInBytes(Aws::String&& value) { SetRangeInBytes(std::move(value)); return *this;}
75 
79  inline PartListElement& WithRangeInBytes(const char* value) { SetRangeInBytes(value); return *this;}
80 
81 
86  inline const Aws::String& GetSHA256TreeHash() const{ return m_sHA256TreeHash; }
87 
92  inline bool SHA256TreeHashHasBeenSet() const { return m_sHA256TreeHashHasBeenSet; }
93 
98  inline void SetSHA256TreeHash(const Aws::String& value) { m_sHA256TreeHashHasBeenSet = true; m_sHA256TreeHash = value; }
99 
104  inline void SetSHA256TreeHash(Aws::String&& value) { m_sHA256TreeHashHasBeenSet = true; m_sHA256TreeHash = std::move(value); }
105 
110  inline void SetSHA256TreeHash(const char* value) { m_sHA256TreeHashHasBeenSet = true; m_sHA256TreeHash.assign(value); }
111 
116  inline PartListElement& WithSHA256TreeHash(const Aws::String& value) { SetSHA256TreeHash(value); return *this;}
117 
122  inline PartListElement& WithSHA256TreeHash(Aws::String&& value) { SetSHA256TreeHash(std::move(value)); return *this;}
123 
128  inline PartListElement& WithSHA256TreeHash(const char* value) { SetSHA256TreeHash(value); return *this;}
129 
130  private:
131 
132  Aws::String m_rangeInBytes;
133  bool m_rangeInBytesHasBeenSet;
134 
135  Aws::String m_sHA256TreeHash;
136  bool m_sHA256TreeHashHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace Glacier
141 } // namespace Aws
Aws::Glacier::Model::PartListElement::GetSHA256TreeHash
const Aws::String & GetSHA256TreeHash() const
Definition: PartListElement.h:86
Aws::Glacier::Model::PartListElement
Definition: PartListElement.h:33
Aws::Glacier::Model::PartListElement::WithSHA256TreeHash
PartListElement & WithSHA256TreeHash(const Aws::String &value)
Definition: PartListElement.h:116
Aws::Glacier::Model::PartListElement::WithSHA256TreeHash
PartListElement & WithSHA256TreeHash(const char *value)
Definition: PartListElement.h:128
Aws::Glacier::Model::PartListElement::WithRangeInBytes
PartListElement & WithRangeInBytes(const Aws::String &value)
Definition: PartListElement.h:69
Aws::Glacier::Model::PartListElement::SetSHA256TreeHash
void SetSHA256TreeHash(const char *value)
Definition: PartListElement.h:110
Aws::Glacier::Model::PartListElement::SetSHA256TreeHash
void SetSHA256TreeHash(Aws::String &&value)
Definition: PartListElement.h:104
Aws::Glacier::Model::PartListElement::operator=
PartListElement & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::PartListElement::WithRangeInBytes
PartListElement & WithRangeInBytes(Aws::String &&value)
Definition: PartListElement.h:74
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::PartListElement::SetSHA256TreeHash
void SetSHA256TreeHash(const Aws::String &value)
Definition: PartListElement.h:98
Aws::Glacier::Model::PartListElement::SHA256TreeHashHasBeenSet
bool SHA256TreeHashHasBeenSet() const
Definition: PartListElement.h:92
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Glacier::Model::PartListElement::SetRangeInBytes
void SetRangeInBytes(const Aws::String &value)
Definition: PartListElement.h:54
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::PartListElement::SetRangeInBytes
void SetRangeInBytes(Aws::String &&value)
Definition: PartListElement.h:59
Aws::Glacier::Model::PartListElement::SetRangeInBytes
void SetRangeInBytes(const char *value)
Definition: PartListElement.h:64
Aws::Glacier::Model::PartListElement::RangeInBytesHasBeenSet
bool RangeInBytesHasBeenSet() const
Definition: PartListElement.h:49
Aws::Glacier::Model::PartListElement::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::PartListElement::WithRangeInBytes
PartListElement & WithRangeInBytes(const char *value)
Definition: PartListElement.h:79
Aws::Glacier::Model::PartListElement::PartListElement
PartListElement(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::PartListElement::GetRangeInBytes
const Aws::String & GetRangeInBytes() const
Definition: PartListElement.h:44
Aws::Glacier::Model::PartListElement::WithSHA256TreeHash
PartListElement & WithSHA256TreeHash(Aws::String &&value)
Definition: PartListElement.h:122
Aws::Glacier::Model::PartListElement::PartListElement
PartListElement()
Glacier_EXPORTS.h