AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoteAccountDetails.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 RemoteAccountDetails();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
48 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
49 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
50 inline RemoteAccountDetails& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline RemoteAccountDetails& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline RemoteAccountDetails& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54
56
62 inline bool GetAffiliated() const{ return m_affiliated; }
63 inline bool AffiliatedHasBeenSet() const { return m_affiliatedHasBeenSet; }
64 inline void SetAffiliated(bool value) { m_affiliatedHasBeenSet = true; m_affiliated = value; }
65 inline RemoteAccountDetails& WithAffiliated(bool value) { SetAffiliated(value); return *this;}
67 private:
68
69 Aws::String m_accountId;
70 bool m_accountIdHasBeenSet = false;
71
72 bool m_affiliated;
73 bool m_affiliatedHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GuardDuty
78} // namespace Aws
RemoteAccountDetails & WithAccountId(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API RemoteAccountDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
RemoteAccountDetails & WithAccountId(const char *value)
RemoteAccountDetails & WithAccountId(Aws::String &&value)
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