AWS SDK for C++  1.9.104
AWS SDK for C++
GetAccountBalanceResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace MTurk
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const Aws::String& GetAvailableBalance() const{ return m_availableBalance; }
37 
38 
39  inline void SetAvailableBalance(const Aws::String& value) { m_availableBalance = value; }
40 
41 
42  inline void SetAvailableBalance(Aws::String&& value) { m_availableBalance = std::move(value); }
43 
44 
45  inline void SetAvailableBalance(const char* value) { m_availableBalance.assign(value); }
46 
47 
48  inline GetAccountBalanceResult& WithAvailableBalance(const Aws::String& value) { SetAvailableBalance(value); return *this;}
49 
50 
51  inline GetAccountBalanceResult& WithAvailableBalance(Aws::String&& value) { SetAvailableBalance(std::move(value)); return *this;}
52 
53 
54  inline GetAccountBalanceResult& WithAvailableBalance(const char* value) { SetAvailableBalance(value); return *this;}
55 
56 
57 
58  inline const Aws::String& GetOnHoldBalance() const{ return m_onHoldBalance; }
59 
60 
61  inline void SetOnHoldBalance(const Aws::String& value) { m_onHoldBalance = value; }
62 
63 
64  inline void SetOnHoldBalance(Aws::String&& value) { m_onHoldBalance = std::move(value); }
65 
66 
67  inline void SetOnHoldBalance(const char* value) { m_onHoldBalance.assign(value); }
68 
69 
70  inline GetAccountBalanceResult& WithOnHoldBalance(const Aws::String& value) { SetOnHoldBalance(value); return *this;}
71 
72 
73  inline GetAccountBalanceResult& WithOnHoldBalance(Aws::String&& value) { SetOnHoldBalance(std::move(value)); return *this;}
74 
75 
76  inline GetAccountBalanceResult& WithOnHoldBalance(const char* value) { SetOnHoldBalance(value); return *this;}
77 
78  private:
79 
80  Aws::String m_availableBalance;
81 
82  Aws::String m_onHoldBalance;
83  };
84 
85 } // namespace Model
86 } // namespace MTurk
87 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::GetAccountBalanceResult::GetAccountBalanceResult
GetAccountBalanceResult()
Aws::MTurk::Model::GetAccountBalanceResult::SetAvailableBalance
void SetAvailableBalance(const Aws::String &value)
Definition: GetAccountBalanceResult.h:39
Aws::MTurk::Model::GetAccountBalanceResult::GetAccountBalanceResult
GetAccountBalanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::GetAccountBalanceResult::SetOnHoldBalance
void SetOnHoldBalance(const Aws::String &value)
Definition: GetAccountBalanceResult.h:61
Aws::MTurk::Model::GetAccountBalanceResult::WithAvailableBalance
GetAccountBalanceResult & WithAvailableBalance(const char *value)
Definition: GetAccountBalanceResult.h:54
Aws::MTurk::Model::GetAccountBalanceResult
Definition: GetAccountBalanceResult.h:28
Aws::MTurk::Model::GetAccountBalanceResult::SetAvailableBalance
void SetAvailableBalance(Aws::String &&value)
Definition: GetAccountBalanceResult.h:42
Aws::MTurk::Model::GetAccountBalanceResult::WithAvailableBalance
GetAccountBalanceResult & WithAvailableBalance(Aws::String &&value)
Definition: GetAccountBalanceResult.h:51
Aws::MTurk::Model::GetAccountBalanceResult::WithOnHoldBalance
GetAccountBalanceResult & WithOnHoldBalance(const char *value)
Definition: GetAccountBalanceResult.h:76
Aws::MTurk::Model::GetAccountBalanceResult::operator=
GetAccountBalanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::GetAccountBalanceResult::SetOnHoldBalance
void SetOnHoldBalance(Aws::String &&value)
Definition: GetAccountBalanceResult.h:64
AWSString.h
Aws::MTurk::Model::GetAccountBalanceResult::WithOnHoldBalance
GetAccountBalanceResult & WithOnHoldBalance(Aws::String &&value)
Definition: GetAccountBalanceResult.h:73
Aws::MTurk::Model::GetAccountBalanceResult::GetAvailableBalance
const Aws::String & GetAvailableBalance() const
Definition: GetAccountBalanceResult.h:36
Aws::MTurk::Model::GetAccountBalanceResult::WithOnHoldBalance
GetAccountBalanceResult & WithOnHoldBalance(const Aws::String &value)
Definition: GetAccountBalanceResult.h:70
MTurk_EXPORTS.h
Aws::MTurk::Model::GetAccountBalanceResult::SetAvailableBalance
void SetAvailableBalance(const char *value)
Definition: GetAccountBalanceResult.h:45
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::GetAccountBalanceResult::GetOnHoldBalance
const Aws::String & GetOnHoldBalance() const
Definition: GetAccountBalanceResult.h:58
Aws::MTurk::Model::GetAccountBalanceResult::WithAvailableBalance
GetAccountBalanceResult & WithAvailableBalance(const Aws::String &value)
Definition: GetAccountBalanceResult.h:48
Aws::MTurk::Model::GetAccountBalanceResult::SetOnHoldBalance
void SetOnHoldBalance(const char *value)
Definition: GetAccountBalanceResult.h:67