AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PartListElement.h
1
6#pragma once
7#include <aws/glacier/Glacier_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 Glacier
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLACIER_API PartListElement();
36 AWS_GLACIER_API PartListElement(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRangeInBytes() const{ return m_rangeInBytes; }
46 inline bool RangeInBytesHasBeenSet() const { return m_rangeInBytesHasBeenSet; }
47 inline void SetRangeInBytes(const Aws::String& value) { m_rangeInBytesHasBeenSet = true; m_rangeInBytes = value; }
48 inline void SetRangeInBytes(Aws::String&& value) { m_rangeInBytesHasBeenSet = true; m_rangeInBytes = std::move(value); }
49 inline void SetRangeInBytes(const char* value) { m_rangeInBytesHasBeenSet = true; m_rangeInBytes.assign(value); }
50 inline PartListElement& WithRangeInBytes(const Aws::String& value) { SetRangeInBytes(value); return *this;}
51 inline PartListElement& WithRangeInBytes(Aws::String&& value) { SetRangeInBytes(std::move(value)); return *this;}
52 inline PartListElement& WithRangeInBytes(const char* value) { SetRangeInBytes(value); return *this;}
54
56
60 inline const Aws::String& GetSHA256TreeHash() const{ return m_sHA256TreeHash; }
61 inline bool SHA256TreeHashHasBeenSet() const { return m_sHA256TreeHashHasBeenSet; }
62 inline void SetSHA256TreeHash(const Aws::String& value) { m_sHA256TreeHashHasBeenSet = true; m_sHA256TreeHash = value; }
63 inline void SetSHA256TreeHash(Aws::String&& value) { m_sHA256TreeHashHasBeenSet = true; m_sHA256TreeHash = std::move(value); }
64 inline void SetSHA256TreeHash(const char* value) { m_sHA256TreeHashHasBeenSet = true; m_sHA256TreeHash.assign(value); }
65 inline PartListElement& WithSHA256TreeHash(const Aws::String& value) { SetSHA256TreeHash(value); return *this;}
66 inline PartListElement& WithSHA256TreeHash(Aws::String&& value) { SetSHA256TreeHash(std::move(value)); return *this;}
67 inline PartListElement& WithSHA256TreeHash(const char* value) { SetSHA256TreeHash(value); return *this;}
69 private:
70
71 Aws::String m_rangeInBytes;
72 bool m_rangeInBytesHasBeenSet = false;
73
74 Aws::String m_sHA256TreeHash;
75 bool m_sHA256TreeHashHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Glacier
80} // namespace Aws
PartListElement & WithRangeInBytes(const Aws::String &value)
void SetRangeInBytes(Aws::String &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
PartListElement & WithSHA256TreeHash(const char *value)
void SetRangeInBytes(const Aws::String &value)
PartListElement & WithSHA256TreeHash(Aws::String &&value)
void SetRangeInBytes(const char *value)
void SetSHA256TreeHash(Aws::String &&value)
const Aws::String & GetSHA256TreeHash() const
PartListElement & WithSHA256TreeHash(const Aws::String &value)
void SetSHA256TreeHash(const char *value)
const Aws::String & GetRangeInBytes() const
PartListElement & WithRangeInBytes(const char *value)
PartListElement & WithRangeInBytes(Aws::String &&value)
void SetSHA256TreeHash(const Aws::String &value)
AWS_GLACIER_API PartListElement(Aws::Utils::Json::JsonView jsonValue)
AWS_GLACIER_API PartListElement & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue