This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-guardduty/include/aws/guardduty/model/AccountDetail.h

133 lines
3.5 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/guardduty/GuardDuty_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace GuardDuty
{
namespace Model
{
/**
* <p>Contains information about the account.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountDetail">AWS
* API Reference</a></p>
*/
class AWS_GUARDDUTY_API AccountDetail
{
public:
AccountDetail();
AccountDetail(Aws::Utils::Json::JsonView jsonValue);
AccountDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The member account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The member account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The member account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The member account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The member account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The member account ID.</p>
*/
inline AccountDetail& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The member account ID.</p>
*/
inline AccountDetail& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The member account ID.</p>
*/
inline AccountDetail& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The email address of the member account.</p>
*/
inline const Aws::String& GetEmail() const{ return m_email; }
/**
* <p>The email address of the member account.</p>
*/
inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
/**
* <p>The email address of the member account.</p>
*/
inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
/**
* <p>The email address of the member account.</p>
*/
inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
/**
* <p>The email address of the member account.</p>
*/
inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
/**
* <p>The email address of the member account.</p>
*/
inline AccountDetail& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
/**
* <p>The email address of the member account.</p>
*/
inline AccountDetail& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
/**
* <p>The email address of the member account.</p>
*/
inline AccountDetail& WithEmail(const char* value) { SetEmail(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_email;
bool m_emailHasBeenSet;
};
} // namespace Model
} // namespace GuardDuty
} // namespace Aws