AWS SDK for C++  1.8.152
AWS SDK for C++
UnprocessedAccount.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GuardDuty
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 
49  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 
54  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 
59  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
60 
64  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
65 
69  inline UnprocessedAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
70 
74  inline UnprocessedAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
75 
79  inline UnprocessedAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;}
80 
81 
85  inline const Aws::String& GetResult() const{ return m_result; }
86 
90  inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
91 
95  inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; }
96 
100  inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
101 
105  inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); }
106 
110  inline UnprocessedAccount& WithResult(const Aws::String& value) { SetResult(value); return *this;}
111 
115  inline UnprocessedAccount& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;}
116 
120  inline UnprocessedAccount& WithResult(const char* value) { SetResult(value); return *this;}
121 
122  private:
123 
124  Aws::String m_accountId;
125  bool m_accountIdHasBeenSet;
126 
127  Aws::String m_result;
128  bool m_resultHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace GuardDuty
133 } // namespace Aws
Aws::GuardDuty::Model::UnprocessedAccount::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: UnprocessedAccount.h:49
Aws::GuardDuty::Model::UnprocessedAccount::ResultHasBeenSet
bool ResultHasBeenSet() const
Definition: UnprocessedAccount.h:90
Aws::GuardDuty::Model::UnprocessedAccount::WithAccountId
UnprocessedAccount & WithAccountId(Aws::String &&value)
Definition: UnprocessedAccount.h:74
Aws::GuardDuty::Model::UnprocessedAccount::UnprocessedAccount
UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::UnprocessedAccount::WithResult
UnprocessedAccount & WithResult(Aws::String &&value)
Definition: UnprocessedAccount.h:115
Aws::GuardDuty::Model::UnprocessedAccount::GetAccountId
const Aws::String & GetAccountId() const
Definition: UnprocessedAccount.h:44
Aws::GuardDuty::Model::UnprocessedAccount::SetResult
void SetResult(const Aws::String &value)
Definition: UnprocessedAccount.h:95
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UnprocessedAccount
Definition: UnprocessedAccount.h:33
Aws::GuardDuty::Model::UnprocessedAccount::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: UnprocessedAccount.h:54
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::UnprocessedAccount::WithResult
UnprocessedAccount & WithResult(const char *value)
Definition: UnprocessedAccount.h:120
Aws::GuardDuty::Model::UnprocessedAccount::WithResult
UnprocessedAccount & WithResult(const Aws::String &value)
Definition: UnprocessedAccount.h:110
Aws::GuardDuty::Model::UnprocessedAccount::SetAccountId
void SetAccountId(const char *value)
Definition: UnprocessedAccount.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::UnprocessedAccount::WithAccountId
UnprocessedAccount & WithAccountId(const Aws::String &value)
Definition: UnprocessedAccount.h:69
Aws::GuardDuty::Model::UnprocessedAccount::GetResult
const Aws::String & GetResult() const
Definition: UnprocessedAccount.h:85
Aws::GuardDuty::Model::UnprocessedAccount::SetResult
void SetResult(Aws::String &&value)
Definition: UnprocessedAccount.h:100
Aws::GuardDuty::Model::UnprocessedAccount::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::UnprocessedAccount::WithAccountId
UnprocessedAccount & WithAccountId(const char *value)
Definition: UnprocessedAccount.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::UnprocessedAccount::UnprocessedAccount
UnprocessedAccount()
Aws::GuardDuty::Model::UnprocessedAccount::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: UnprocessedAccount.h:59
Aws::GuardDuty::Model::UnprocessedAccount::operator=
UnprocessedAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::UnprocessedAccount::SetResult
void SetResult(const char *value)
Definition: UnprocessedAccount.h:105