AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UnprocessedAccount.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/detective/Detective_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Detective {
20namespace Model {
21
29 public:
30 AWS_DETECTIVE_API UnprocessedAccount() = default;
31 AWS_DETECTIVE_API UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template <typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) {
44 m_accountIdHasBeenSet = true;
45 m_accountId = std::forward<AccountIdT>(value);
46 }
47 template <typename AccountIdT = Aws::String>
48 UnprocessedAccount& WithAccountId(AccountIdT&& value) {
49 SetAccountId(std::forward<AccountIdT>(value));
50 return *this;
51 }
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) {
62 m_reasonHasBeenSet = true;
63 m_reason = std::forward<ReasonT>(value);
64 }
65 template <typename ReasonT = Aws::String>
66 UnprocessedAccount& WithReason(ReasonT&& value) {
67 SetReason(std::forward<ReasonT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_accountId;
73
74 Aws::String m_reason;
75 bool m_accountIdHasBeenSet = false;
76 bool m_reasonHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Detective
81} // 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