AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExpenseCurrency.h
1
6#pragma once
7#include <aws/textract/Textract_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 Textract
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_TEXTRACT_API ExpenseCurrency();
35 AWS_TEXTRACT_API ExpenseCurrency(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
48 inline const Aws::String& GetCode() const{ return m_code; }
49 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
50 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
51 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
52 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
53 inline ExpenseCurrency& WithCode(const Aws::String& value) { SetCode(value); return *this;}
54 inline ExpenseCurrency& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
55 inline ExpenseCurrency& WithCode(const char* value) { SetCode(value); return *this;}
57
59
62 inline double GetConfidence() const{ return m_confidence; }
63 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
64 inline void SetConfidence(double value) { m_confidenceHasBeenSet = true; m_confidence = value; }
65 inline ExpenseCurrency& WithConfidence(double value) { SetConfidence(value); return *this;}
67 private:
68
69 Aws::String m_code;
70 bool m_codeHasBeenSet = false;
71
72 double m_confidence;
73 bool m_confidenceHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Textract
78} // namespace Aws
ExpenseCurrency & WithCode(Aws::String &&value)
ExpenseCurrency & WithConfidence(double value)
AWS_TEXTRACT_API ExpenseCurrency(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API ExpenseCurrency & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
ExpenseCurrency & WithCode(const Aws::String &value)
ExpenseCurrency & WithCode(const char *value)
const Aws::String & GetCode() const
void SetCode(const Aws::String &value)
void SetCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue