AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddObjectInput.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LakeFormation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LAKEFORMATION_API AddObjectInput();
36 AWS_LAKEFORMATION_API AddObjectInput(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LAKEFORMATION_API AddObjectInput& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUri() const{ return m_uri; }
46 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
47 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
48 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
49 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
50 inline AddObjectInput& WithUri(const Aws::String& value) { SetUri(value); return *this;}
51 inline AddObjectInput& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
52 inline AddObjectInput& WithUri(const char* value) { SetUri(value); return *this;}
54
56
60 inline const Aws::String& GetETag() const{ return m_eTag; }
61 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
62 inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; }
63 inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); }
64 inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); }
65 inline AddObjectInput& WithETag(const Aws::String& value) { SetETag(value); return *this;}
66 inline AddObjectInput& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
67 inline AddObjectInput& WithETag(const char* value) { SetETag(value); return *this;}
69
71
74 inline long long GetSize() const{ return m_size; }
75 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
76 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
77 inline AddObjectInput& WithSize(long long value) { SetSize(value); return *this;}
79
81
87 inline const Aws::Vector<Aws::String>& GetPartitionValues() const{ return m_partitionValues; }
88 inline bool PartitionValuesHasBeenSet() const { return m_partitionValuesHasBeenSet; }
89 inline void SetPartitionValues(const Aws::Vector<Aws::String>& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = value; }
90 inline void SetPartitionValues(Aws::Vector<Aws::String>&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = std::move(value); }
92 inline AddObjectInput& WithPartitionValues(Aws::Vector<Aws::String>&& value) { SetPartitionValues(std::move(value)); return *this;}
93 inline AddObjectInput& AddPartitionValues(const Aws::String& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(value); return *this; }
94 inline AddObjectInput& AddPartitionValues(Aws::String&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(std::move(value)); return *this; }
95 inline AddObjectInput& AddPartitionValues(const char* value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(value); return *this; }
97 private:
98
99 Aws::String m_uri;
100 bool m_uriHasBeenSet = false;
101
102 Aws::String m_eTag;
103 bool m_eTagHasBeenSet = false;
104
105 long long m_size;
106 bool m_sizeHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_partitionValues;
109 bool m_partitionValuesHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace LakeFormation
114} // namespace Aws
AddObjectInput & WithETag(Aws::String &&value)
AddObjectInput & AddPartitionValues(Aws::String &&value)
AddObjectInput & WithSize(long long value)
AddObjectInput & WithUri(const Aws::String &value)
AddObjectInput & WithETag(const Aws::String &value)
void SetPartitionValues(Aws::Vector< Aws::String > &&value)
AddObjectInput & AddPartitionValues(const Aws::String &value)
AddObjectInput & AddPartitionValues(const char *value)
AWS_LAKEFORMATION_API AddObjectInput()
const Aws::Vector< Aws::String > & GetPartitionValues() const
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetETag(const Aws::String &value)
AWS_LAKEFORMATION_API AddObjectInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPartitionValues(const Aws::Vector< Aws::String > &value)
AddObjectInput & WithUri(const char *value)
AddObjectInput & WithPartitionValues(const Aws::Vector< Aws::String > &value)
AWS_LAKEFORMATION_API AddObjectInput(Aws::Utils::Json::JsonView jsonValue)
AddObjectInput & WithPartitionValues(Aws::Vector< Aws::String > &&value)
void SetUri(const Aws::String &value)
const Aws::String & GetETag() const
AddObjectInput & WithETag(const char *value)
AddObjectInput & WithUri(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue