AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
RemoteAccountDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
29 public:
30 AWS_GUARDDUTY_API RemoteAccountDetails() = default;
33 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAccountId() const { return m_accountId; }
40 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
41 template <typename AccountIdT = Aws::String>
42 void SetAccountId(AccountIdT&& value) {
43 m_accountIdHasBeenSet = true;
44 m_accountId = std::forward<AccountIdT>(value);
45 }
46 template <typename AccountIdT = Aws::String>
47 RemoteAccountDetails& WithAccountId(AccountIdT&& value) {
48 SetAccountId(std::forward<AccountIdT>(value));
49 return *this;
50 }
52
54
60 inline bool GetAffiliated() const { return m_affiliated; }
61 inline bool AffiliatedHasBeenSet() const { return m_affiliatedHasBeenSet; }
62 inline void SetAffiliated(bool value) {
63 m_affiliatedHasBeenSet = true;
64 m_affiliated = value;
65 }
67 SetAffiliated(value);
68 return *this;
69 }
71 private:
72 Aws::String m_accountId;
73
74 bool m_affiliated{false};
75 bool m_accountIdHasBeenSet = false;
76 bool m_affiliatedHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace GuardDuty
81} // namespace Aws
RemoteAccountDetails & WithAccountId(AccountIdT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API RemoteAccountDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API RemoteAccountDetails()=default
RemoteAccountDetails & WithAffiliated(bool value)
AWS_GUARDDUTY_API RemoteAccountDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue