AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::RDSDataService::Model::ResultSetOptions Class Reference

#include <ResultSetOptions.h>

Public Member Functions

 ResultSetOptions ()
 
 ResultSetOptions (Aws::Utils::Json::JsonView jsonValue)
 
ResultSetOptionsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const DecimalReturnTypeGetDecimalReturnType () const
 
bool DecimalReturnTypeHasBeenSet () const
 
void SetDecimalReturnType (const DecimalReturnType &value)
 
void SetDecimalReturnType (DecimalReturnType &&value)
 
ResultSetOptionsWithDecimalReturnType (const DecimalReturnType &value)
 
ResultSetOptionsWithDecimalReturnType (DecimalReturnType &&value)
 

Detailed Description

Options that control how the result set is returned.

See Also:

AWS API Reference

Definition at line 32 of file ResultSetOptions.h.

Constructor & Destructor Documentation

◆ ResultSetOptions() [1/2]

Aws::RDSDataService::Model::ResultSetOptions::ResultSetOptions ( )

◆ ResultSetOptions() [2/2]

Aws::RDSDataService::Model::ResultSetOptions::ResultSetOptions ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ DecimalReturnTypeHasBeenSet()

bool Aws::RDSDataService::Model::ResultSetOptions::DecimalReturnTypeHasBeenSet ( ) const
inline

A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

Definition at line 63 of file ResultSetOptions.h.

◆ GetDecimalReturnType()

const DecimalReturnType& Aws::RDSDataService::Model::ResultSetOptions::GetDecimalReturnType ( ) const
inline

A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

Definition at line 51 of file ResultSetOptions.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::RDSDataService::Model::ResultSetOptions::Jsonize ( ) const

◆ operator=()

ResultSetOptions& Aws::RDSDataService::Model::ResultSetOptions::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetDecimalReturnType() [1/2]

void Aws::RDSDataService::Model::ResultSetOptions::SetDecimalReturnType ( const DecimalReturnType value)
inline

A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

Definition at line 75 of file ResultSetOptions.h.

◆ SetDecimalReturnType() [2/2]

void Aws::RDSDataService::Model::ResultSetOptions::SetDecimalReturnType ( DecimalReturnType &&  value)
inline

A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

Definition at line 87 of file ResultSetOptions.h.

◆ WithDecimalReturnType() [1/2]

ResultSetOptions& Aws::RDSDataService::Model::ResultSetOptions::WithDecimalReturnType ( const DecimalReturnType value)
inline

A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

Definition at line 99 of file ResultSetOptions.h.

◆ WithDecimalReturnType() [2/2]

ResultSetOptions& Aws::RDSDataService::Model::ResultSetOptions::WithDecimalReturnType ( DecimalReturnType &&  value)
inline

A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

Definition at line 111 of file ResultSetOptions.h.


The documentation for this class was generated from the following file: