AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataRetrievalRule.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
32 {
33 public:
34 AWS_GLACIER_API DataRetrievalRule();
37 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetStrategy() const{ return m_strategy; }
46 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
47 inline void SetStrategy(const Aws::String& value) { m_strategyHasBeenSet = true; m_strategy = value; }
48 inline void SetStrategy(Aws::String&& value) { m_strategyHasBeenSet = true; m_strategy = std::move(value); }
49 inline void SetStrategy(const char* value) { m_strategyHasBeenSet = true; m_strategy.assign(value); }
50 inline DataRetrievalRule& WithStrategy(const Aws::String& value) { SetStrategy(value); return *this;}
51 inline DataRetrievalRule& WithStrategy(Aws::String&& value) { SetStrategy(std::move(value)); return *this;}
52 inline DataRetrievalRule& WithStrategy(const char* value) { SetStrategy(value); return *this;}
54
56
62 inline long long GetBytesPerHour() const{ return m_bytesPerHour; }
63 inline bool BytesPerHourHasBeenSet() const { return m_bytesPerHourHasBeenSet; }
64 inline void SetBytesPerHour(long long value) { m_bytesPerHourHasBeenSet = true; m_bytesPerHour = value; }
65 inline DataRetrievalRule& WithBytesPerHour(long long value) { SetBytesPerHour(value); return *this;}
67 private:
68
69 Aws::String m_strategy;
70 bool m_strategyHasBeenSet = false;
71
72 long long m_bytesPerHour;
73 bool m_bytesPerHourHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Glacier
78} // namespace Aws
const Aws::String & GetStrategy() const
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
DataRetrievalRule & WithStrategy(Aws::String &&value)
DataRetrievalRule & WithBytesPerHour(long long value)
DataRetrievalRule & WithStrategy(const Aws::String &value)
AWS_GLACIER_API DataRetrievalRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLACIER_API DataRetrievalRule(Aws::Utils::Json::JsonView jsonValue)
DataRetrievalRule & WithStrategy(const char *value)
void SetStrategy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue