AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UnprocessedAccount.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API UnprocessedAccount() = default;
36 AWS_GUARDDUTY_API UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAccountId() const { return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 template<typename AccountIdT = Aws::String>
48 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
49 template<typename AccountIdT = Aws::String>
50 UnprocessedAccount& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetResult() const { return m_result; }
58 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
59 template<typename ResultT = Aws::String>
60 void SetResult(ResultT&& value) { m_resultHasBeenSet = true; m_result = std::forward<ResultT>(value); }
61 template<typename ResultT = Aws::String>
62 UnprocessedAccount& WithResult(ResultT&& value) { SetResult(std::forward<ResultT>(value)); return *this;}
64 private:
65
66 Aws::String m_accountId;
67 bool m_accountIdHasBeenSet = false;
68
69 Aws::String m_result;
70 bool m_resultHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace GuardDuty
75} // namespace Aws
AWS_GUARDDUTY_API UnprocessedAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedAccount & WithAccountId(AccountIdT &&value)
AWS_GUARDDUTY_API UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API UnprocessedAccount()=default
UnprocessedAccount & WithResult(ResultT &&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