AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
ResultSetOptions.h
1
6#pragma once
7#include <aws/rds-data/RDSDataService_EXPORTS.h>
8#include <aws/rds-data/model/DecimalReturnType.h>
9#include <aws/rds-data/model/LongReturnType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace RDSDataService {
21namespace Model {
22
30 public:
31 AWS_RDSDATASERVICE_API ResultSetOptions() = default;
32 AWS_RDSDATASERVICE_API ResultSetOptions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RDSDATASERVICE_API ResultSetOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_RDSDATASERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
46 inline DecimalReturnType GetDecimalReturnType() const { return m_decimalReturnType; }
47 inline bool DecimalReturnTypeHasBeenSet() const { return m_decimalReturnTypeHasBeenSet; }
49 m_decimalReturnTypeHasBeenSet = true;
50 m_decimalReturnType = value;
51 }
54 return *this;
55 }
57
59
65 inline LongReturnType GetLongReturnType() const { return m_longReturnType; }
66 inline bool LongReturnTypeHasBeenSet() const { return m_longReturnTypeHasBeenSet; }
67 inline void SetLongReturnType(LongReturnType value) {
68 m_longReturnTypeHasBeenSet = true;
69 m_longReturnType = value;
70 }
72 SetLongReturnType(value);
73 return *this;
74 }
76 private:
78
80 bool m_decimalReturnTypeHasBeenSet = false;
81 bool m_longReturnTypeHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace RDSDataService
86} // namespace Aws
AWS_RDSDATASERVICE_API ResultSetOptions(Aws::Utils::Json::JsonView jsonValue)
void SetDecimalReturnType(DecimalReturnType value)
AWS_RDSDATASERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ResultSetOptions & WithDecimalReturnType(DecimalReturnType value)
AWS_RDSDATASERVICE_API ResultSetOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
ResultSetOptions & WithLongReturnType(LongReturnType value)
AWS_RDSDATASERVICE_API ResultSetOptions()=default
Aws::Utils::Json::JsonValue JsonValue