AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DocumentLocation.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/model/S3Object.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Textract {
20namespace Model {
21
31 public:
32 AWS_TEXTRACT_API DocumentLocation() = default;
33 AWS_TEXTRACT_API DocumentLocation(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const S3Object& GetS3Object() const { return m_s3Object; }
42 inline bool S3ObjectHasBeenSet() const { return m_s3ObjectHasBeenSet; }
43 template <typename S3ObjectT = S3Object>
44 void SetS3Object(S3ObjectT&& value) {
45 m_s3ObjectHasBeenSet = true;
46 m_s3Object = std::forward<S3ObjectT>(value);
47 }
48 template <typename S3ObjectT = S3Object>
49 DocumentLocation& WithS3Object(S3ObjectT&& value) {
50 SetS3Object(std::forward<S3ObjectT>(value));
51 return *this;
52 }
54 private:
55 S3Object m_s3Object;
56 bool m_s3ObjectHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Textract
61} // namespace Aws
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API DocumentLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API DocumentLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentLocation & WithS3Object(S3ObjectT &&value)
AWS_TEXTRACT_API DocumentLocation()=default
Aws::Utils::Json::JsonValue JsonValue