1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/guardduty/GuardDuty_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 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 26 /** 27 * <p>Contains information about the accounts that weren't processed.</p><p><h3>See 28 * Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnprocessedAccount">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_GUARDDUTY_API UnprocessedAccount 33 { 34 public: 35 UnprocessedAccount(); 36 UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue); 37 UnprocessedAccount& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * <p>The AWS account ID.</p> 43 */ GetAccountId()44 inline const Aws::String& GetAccountId() const{ return m_accountId; } 45 46 /** 47 * <p>The AWS account ID.</p> 48 */ AccountIdHasBeenSet()49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } 50 51 /** 52 * <p>The AWS account ID.</p> 53 */ SetAccountId(const Aws::String & value)54 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } 55 56 /** 57 * <p>The AWS account ID.</p> 58 */ SetAccountId(Aws::String && value)59 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } 60 61 /** 62 * <p>The AWS account ID.</p> 63 */ SetAccountId(const char * value)64 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } 65 66 /** 67 * <p>The AWS account ID.</p> 68 */ WithAccountId(const Aws::String & value)69 inline UnprocessedAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} 70 71 /** 72 * <p>The AWS account ID.</p> 73 */ WithAccountId(Aws::String && value)74 inline UnprocessedAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} 75 76 /** 77 * <p>The AWS account ID.</p> 78 */ WithAccountId(const char * value)79 inline UnprocessedAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;} 80 81 82 /** 83 * <p>A reason why the account hasn't been processed.</p> 84 */ GetResult()85 inline const Aws::String& GetResult() const{ return m_result; } 86 87 /** 88 * <p>A reason why the account hasn't been processed.</p> 89 */ ResultHasBeenSet()90 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; } 91 92 /** 93 * <p>A reason why the account hasn't been processed.</p> 94 */ SetResult(const Aws::String & value)95 inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; } 96 97 /** 98 * <p>A reason why the account hasn't been processed.</p> 99 */ SetResult(Aws::String && value)100 inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); } 101 102 /** 103 * <p>A reason why the account hasn't been processed.</p> 104 */ SetResult(const char * value)105 inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); } 106 107 /** 108 * <p>A reason why the account hasn't been processed.</p> 109 */ WithResult(const Aws::String & value)110 inline UnprocessedAccount& WithResult(const Aws::String& value) { SetResult(value); return *this;} 111 112 /** 113 * <p>A reason why the account hasn't been processed.</p> 114 */ WithResult(Aws::String && value)115 inline UnprocessedAccount& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;} 116 117 /** 118 * <p>A reason why the account hasn't been processed.</p> 119 */ WithResult(const char * value)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 134