AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableObject.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
32 {
33 public:
34 AWS_LAKEFORMATION_API TableObject();
35 AWS_LAKEFORMATION_API TableObject(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LAKEFORMATION_API TableObject& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetUri() const{ return m_uri; }
45 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
46 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
47 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
48 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
49 inline TableObject& WithUri(const Aws::String& value) { SetUri(value); return *this;}
50 inline TableObject& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
51 inline TableObject& WithUri(const char* value) { SetUri(value); return *this;}
53
55
59 inline const Aws::String& GetETag() const{ return m_eTag; }
60 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
61 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
62 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
63 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
64 inline TableObject& WithETag(const Aws::String& value) { SetETag(value); return *this;}
65 inline TableObject& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
66 inline TableObject& WithETag(const char* value) { SetETag(value); return *this;}
68
70
73 inline long long GetSize() const{ return m_size; }
74 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
75 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
76 inline TableObject& WithSize(long long value) { SetSize(value); return *this;}
78 private:
79
80 Aws::String m_uri;
81 bool m_uriHasBeenSet = false;
82
83 Aws::String m_eTag;
84 bool m_eTagHasBeenSet = false;
85
86 long long m_size;
87 bool m_sizeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace LakeFormation
92} // namespace Aws
AWS_LAKEFORMATION_API TableObject()
TableObject & WithETag(const char *value)
Definition TableObject.h:66
AWS_LAKEFORMATION_API TableObject & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetETag(const Aws::String &value)
Definition TableObject.h:61
TableObject & WithUri(const Aws::String &value)
Definition TableObject.h:49
const Aws::String & GetETag() const
Definition TableObject.h:59
const Aws::String & GetUri() const
Definition TableObject.h:44
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
TableObject & WithETag(Aws::String &&value)
Definition TableObject.h:65
TableObject & WithSize(long long value)
Definition TableObject.h:76
TableObject & WithUri(const char *value)
Definition TableObject.h:51
void SetUri(const Aws::String &value)
Definition TableObject.h:46
TableObject & WithETag(const Aws::String &value)
Definition TableObject.h:64
TableObject & WithUri(Aws::String &&value)
Definition TableObject.h:50
AWS_LAKEFORMATION_API TableObject(Aws::Utils::Json::JsonView jsonValue)
void SetETag(const char *value)
Definition TableObject.h:63
void SetETag(Aws::String &&value)
Definition TableObject.h:62
void SetUri(Aws::String &&value)
Definition TableObject.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue