AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkUnitRange.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_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 LakeFormation
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LAKEFORMATION_API WorkUnitRange();
36 AWS_LAKEFORMATION_API WorkUnitRange(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LAKEFORMATION_API WorkUnitRange& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline long long GetWorkUnitIdMax() const{ return m_workUnitIdMax; }
47 inline bool WorkUnitIdMaxHasBeenSet() const { return m_workUnitIdMaxHasBeenSet; }
48 inline void SetWorkUnitIdMax(long long value) { m_workUnitIdMaxHasBeenSet = true; m_workUnitIdMax = value; }
49 inline WorkUnitRange& WithWorkUnitIdMax(long long value) { SetWorkUnitIdMax(value); return *this;}
51
53
56 inline long long GetWorkUnitIdMin() const{ return m_workUnitIdMin; }
57 inline bool WorkUnitIdMinHasBeenSet() const { return m_workUnitIdMinHasBeenSet; }
58 inline void SetWorkUnitIdMin(long long value) { m_workUnitIdMinHasBeenSet = true; m_workUnitIdMin = value; }
59 inline WorkUnitRange& WithWorkUnitIdMin(long long value) { SetWorkUnitIdMin(value); return *this;}
61
63
66 inline const Aws::String& GetWorkUnitToken() const{ return m_workUnitToken; }
67 inline bool WorkUnitTokenHasBeenSet() const { return m_workUnitTokenHasBeenSet; }
68 inline void SetWorkUnitToken(const Aws::String& value) { m_workUnitTokenHasBeenSet = true; m_workUnitToken = value; }
69 inline void SetWorkUnitToken(Aws::String&& value) { m_workUnitTokenHasBeenSet = true; m_workUnitToken = std::move(value); }
70 inline void SetWorkUnitToken(const char* value) { m_workUnitTokenHasBeenSet = true; m_workUnitToken.assign(value); }
71 inline WorkUnitRange& WithWorkUnitToken(const Aws::String& value) { SetWorkUnitToken(value); return *this;}
72 inline WorkUnitRange& WithWorkUnitToken(Aws::String&& value) { SetWorkUnitToken(std::move(value)); return *this;}
73 inline WorkUnitRange& WithWorkUnitToken(const char* value) { SetWorkUnitToken(value); return *this;}
75 private:
76
77 long long m_workUnitIdMax;
78 bool m_workUnitIdMaxHasBeenSet = false;
79
80 long long m_workUnitIdMin;
81 bool m_workUnitIdMinHasBeenSet = false;
82
83 Aws::String m_workUnitToken;
84 bool m_workUnitTokenHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace LakeFormation
89} // namespace Aws
WorkUnitRange & WithWorkUnitToken(Aws::String &&value)
AWS_LAKEFORMATION_API WorkUnitRange()
const Aws::String & GetWorkUnitToken() const
void SetWorkUnitToken(const char *value)
WorkUnitRange & WithWorkUnitToken(const char *value)
WorkUnitRange & WithWorkUnitIdMax(long long value)
AWS_LAKEFORMATION_API WorkUnitRange(Aws::Utils::Json::JsonView jsonValue)
void SetWorkUnitToken(Aws::String &&value)
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAKEFORMATION_API WorkUnitRange & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkUnitRange & WithWorkUnitToken(const Aws::String &value)
void SetWorkUnitToken(const Aws::String &value)
WorkUnitRange & WithWorkUnitIdMin(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue