AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UsageTopAccountResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/Total.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API UsageTopAccountResult() = default;
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const { return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 UsageTopAccountResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
53
55
56 inline const Total& GetTotal() const { return m_total; }
57 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
58 template<typename TotalT = Total>
59 void SetTotal(TotalT&& value) { m_totalHasBeenSet = true; m_total = std::forward<TotalT>(value); }
60 template<typename TotalT = Total>
61 UsageTopAccountResult& WithTotal(TotalT&& value) { SetTotal(std::forward<TotalT>(value)); return *this;}
63 private:
64
65 Aws::String m_accountId;
66 bool m_accountIdHasBeenSet = false;
67
68 Total m_total;
69 bool m_totalHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace GuardDuty
74} // namespace Aws
AWS_GUARDDUTY_API UsageTopAccountResult & operator=(Aws::Utils::Json::JsonView jsonValue)
UsageTopAccountResult & WithTotal(TotalT &&value)
AWS_GUARDDUTY_API UsageTopAccountResult(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API UsageTopAccountResult()=default
UsageTopAccountResult & WithAccountId(AccountIdT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue