AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnprocessedAccount.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 UnprocessedAccount();
36 AWS_GUARDDUTY_API UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue);
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 UnprocessedAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline UnprocessedAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline UnprocessedAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54
56
59 inline const Aws::String& GetResult() const{ return m_result; }
60 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
61 inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; }
62 inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
63 inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); }
64 inline UnprocessedAccount& WithResult(const Aws::String& value) { SetResult(value); return *this;}
65 inline UnprocessedAccount& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;}
66 inline UnprocessedAccount& WithResult(const char* value) { SetResult(value); return *this;}
68 private:
69
70 Aws::String m_accountId;
71 bool m_accountIdHasBeenSet = false;
72
73 Aws::String m_result;
74 bool m_resultHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
AWS_GUARDDUTY_API UnprocessedAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedAccount & WithAccountId(Aws::String &&value)
UnprocessedAccount & WithResult(Aws::String &&value)
void SetResult(const Aws::String &value)
UnprocessedAccount & WithResult(const Aws::String &value)
AWS_GUARDDUTY_API UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue)
UnprocessedAccount & WithAccountId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessedAccount & WithResult(const char *value)
UnprocessedAccount & WithAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue