AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Bucket.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
22{
23namespace Model
24{
25
32 class Bucket
33 {
34 public:
35 AWS_IOT_API Bucket();
36 AWS_IOT_API Bucket(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::String& GetKeyValue() const{ return m_keyValue; }
46 inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; }
47 inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; }
48 inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); }
49 inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); }
50 inline Bucket& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
51 inline Bucket& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
52 inline Bucket& WithKeyValue(const char* value) { SetKeyValue(value); return *this;}
54
56
60 inline int GetCount() const{ return m_count; }
61 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
62 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
63 inline Bucket& WithCount(int value) { SetCount(value); return *this;}
65 private:
66
67 Aws::String m_keyValue;
68 bool m_keyValueHasBeenSet = false;
69
70 int m_count;
71 bool m_countHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoT
76} // namespace Aws
bool KeyValueHasBeenSet() const
Definition Bucket.h:46
void SetKeyValue(const char *value)
Definition Bucket.h:49
Bucket & WithCount(int value)
Definition Bucket.h:63
void SetKeyValue(const Aws::String &value)
Definition Bucket.h:47
Bucket & WithKeyValue(const char *value)
Definition Bucket.h:52
AWS_IOT_API Bucket & operator=(Aws::Utils::Json::JsonView jsonValue)
Bucket & WithKeyValue(const Aws::String &value)
Definition Bucket.h:50
const Aws::String & GetKeyValue() const
Definition Bucket.h:45
void SetCount(int value)
Definition Bucket.h:62
bool CountHasBeenSet() const
Definition Bucket.h:61
int GetCount() const
Definition Bucket.h:60
Bucket & WithKeyValue(Aws::String &&value)
Definition Bucket.h:51
AWS_IOT_API Bucket(Aws::Utils::Json::JsonView jsonValue)
void SetKeyValue(Aws::String &&value)
Definition Bucket.h:48
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue