AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnprocessedAccount.h
1
6#pragma once
7#include <aws/detective/Detective_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 Detective
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DETECTIVE_API UnprocessedAccount() = default;
36 AWS_DETECTIVE_API UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
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 UnprocessedAccount& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetReason() const { return m_reason; }
59 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
60 template<typename ReasonT = Aws::String>
61 void SetReason(ReasonT&& value) { m_reasonHasBeenSet = true; m_reason = std::forward<ReasonT>(value); }
62 template<typename ReasonT = Aws::String>
63 UnprocessedAccount& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
65 private:
66
67 Aws::String m_accountId;
68 bool m_accountIdHasBeenSet = false;
69
70 Aws::String m_reason;
71 bool m_reasonHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Detective
76} // namespace Aws
AWS_DETECTIVE_API UnprocessedAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedAccount & WithAccountId(AccountIdT &&value)
UnprocessedAccount & WithReason(ReasonT &&value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DETECTIVE_API UnprocessedAccount()=default
AWS_DETECTIVE_API UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue