AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutomatedDiscoveryAccountUpdate.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/AutomatedDiscoveryAccountStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline AutomatedDiscoveryAccountUpdate& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline AutomatedDiscoveryAccountUpdate& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline AutomatedDiscoveryAccountUpdate& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
63 inline const AutomatedDiscoveryAccountStatus& GetStatus() const{ return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(const AutomatedDiscoveryAccountStatus& value) { m_statusHasBeenSet = true; m_status = value; }
66 inline void SetStatus(AutomatedDiscoveryAccountStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68 inline AutomatedDiscoveryAccountUpdate& WithStatus(AutomatedDiscoveryAccountStatus&& value) { SetStatus(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_accountId;
73 bool m_accountIdHasBeenSet = false;
74
76 bool m_statusHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Macie2
81} // namespace Aws
AutomatedDiscoveryAccountUpdate & WithAccountId(const Aws::String &value)
AutomatedDiscoveryAccountUpdate & WithStatus(AutomatedDiscoveryAccountStatus &&value)
const AutomatedDiscoveryAccountStatus & GetStatus() const
AutomatedDiscoveryAccountUpdate & WithAccountId(const char *value)
AutomatedDiscoveryAccountUpdate & WithStatus(const AutomatedDiscoveryAccountStatus &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API AutomatedDiscoveryAccountUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(AutomatedDiscoveryAccountStatus &&value)
AutomatedDiscoveryAccountUpdate & WithAccountId(Aws::String &&value)
void SetStatus(const AutomatedDiscoveryAccountStatus &value)
AWS_MACIE2_API AutomatedDiscoveryAccountUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue