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/Organization.h

230 lines
6.6 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 ISP organization of the remote IP
* address.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Organization">AWS
* API Reference</a></p>
*/
class AWS_GUARDDUTY_API Organization
{
public:
Organization();
Organization(Aws::Utils::Json::JsonView jsonValue);
Organization& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Autonomous System Number (ASN) of the internet provider of the remote IP
* address.</p>
*/
inline const Aws::String& GetAsn() const{ return m_asn; }
/**
* <p>The Autonomous System Number (ASN) of the internet provider of the remote IP
* address.</p>
*/
inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
/**
* <p>The Autonomous System Number (ASN) of the internet provider of the remote IP
* address.</p>
*/
inline void SetAsn(const Aws::String& value) { m_asnHasBeenSet = true; m_asn = value; }
/**
* <p>The Autonomous System Number (ASN) of the internet provider of the remote IP
* address.</p>
*/
inline void SetAsn(Aws::String&& value) { m_asnHasBeenSet = true; m_asn = std::move(value); }
/**
* <p>The Autonomous System Number (ASN) of the internet provider of the remote IP
* address.</p>
*/
inline void SetAsn(const char* value) { m_asnHasBeenSet = true; m_asn.assign(value); }
/**
* <p>The Autonomous System Number (ASN) of the internet provider of the remote IP
* address.</p>
*/
inline Organization& WithAsn(const Aws::String& value) { SetAsn(value); return *this;}
/**
* <p>The Autonomous System Number (ASN) of the internet provider of the remote IP
* address.</p>
*/
inline Organization& WithAsn(Aws::String&& value) { SetAsn(std::move(value)); return *this;}
/**
* <p>The Autonomous System Number (ASN) of the internet provider of the remote IP
* address.</p>
*/
inline Organization& WithAsn(const char* value) { SetAsn(value); return *this;}
/**
* <p>The organization that registered this ASN.</p>
*/
inline const Aws::String& GetAsnOrg() const{ return m_asnOrg; }
/**
* <p>The organization that registered this ASN.</p>
*/
inline bool AsnOrgHasBeenSet() const { return m_asnOrgHasBeenSet; }
/**
* <p>The organization that registered this ASN.</p>
*/
inline void SetAsnOrg(const Aws::String& value) { m_asnOrgHasBeenSet = true; m_asnOrg = value; }
/**
* <p>The organization that registered this ASN.</p>
*/
inline void SetAsnOrg(Aws::String&& value) { m_asnOrgHasBeenSet = true; m_asnOrg = std::move(value); }
/**
* <p>The organization that registered this ASN.</p>
*/
inline void SetAsnOrg(const char* value) { m_asnOrgHasBeenSet = true; m_asnOrg.assign(value); }
/**
* <p>The organization that registered this ASN.</p>
*/
inline Organization& WithAsnOrg(const Aws::String& value) { SetAsnOrg(value); return *this;}
/**
* <p>The organization that registered this ASN.</p>
*/
inline Organization& WithAsnOrg(Aws::String&& value) { SetAsnOrg(std::move(value)); return *this;}
/**
* <p>The organization that registered this ASN.</p>
*/
inline Organization& WithAsnOrg(const char* value) { SetAsnOrg(value); return *this;}
/**
* <p>The ISP information for the internet provider.</p>
*/
inline const Aws::String& GetIsp() const{ return m_isp; }
/**
* <p>The ISP information for the internet provider.</p>
*/
inline bool IspHasBeenSet() const { return m_ispHasBeenSet; }
/**
* <p>The ISP information for the internet provider.</p>
*/
inline void SetIsp(const Aws::String& value) { m_ispHasBeenSet = true; m_isp = value; }
/**
* <p>The ISP information for the internet provider.</p>
*/
inline void SetIsp(Aws::String&& value) { m_ispHasBeenSet = true; m_isp = std::move(value); }
/**
* <p>The ISP information for the internet provider.</p>
*/
inline void SetIsp(const char* value) { m_ispHasBeenSet = true; m_isp.assign(value); }
/**
* <p>The ISP information for the internet provider.</p>
*/
inline Organization& WithIsp(const Aws::String& value) { SetIsp(value); return *this;}
/**
* <p>The ISP information for the internet provider.</p>
*/
inline Organization& WithIsp(Aws::String&& value) { SetIsp(std::move(value)); return *this;}
/**
* <p>The ISP information for the internet provider.</p>
*/
inline Organization& WithIsp(const char* value) { SetIsp(value); return *this;}
/**
* <p>The name of the internet provider.</p>
*/
inline const Aws::String& GetOrg() const{ return m_org; }
/**
* <p>The name of the internet provider.</p>
*/
inline bool OrgHasBeenSet() const { return m_orgHasBeenSet; }
/**
* <p>The name of the internet provider.</p>
*/
inline void SetOrg(const Aws::String& value) { m_orgHasBeenSet = true; m_org = value; }
/**
* <p>The name of the internet provider.</p>
*/
inline void SetOrg(Aws::String&& value) { m_orgHasBeenSet = true; m_org = std::move(value); }
/**
* <p>The name of the internet provider.</p>
*/
inline void SetOrg(const char* value) { m_orgHasBeenSet = true; m_org.assign(value); }
/**
* <p>The name of the internet provider.</p>
*/
inline Organization& WithOrg(const Aws::String& value) { SetOrg(value); return *this;}
/**
* <p>The name of the internet provider.</p>
*/
inline Organization& WithOrg(Aws::String&& value) { SetOrg(std::move(value)); return *this;}
/**
* <p>The name of the internet provider.</p>
*/
inline Organization& WithOrg(const char* value) { SetOrg(value); return *this;}
private:
Aws::String m_asn;
bool m_asnHasBeenSet;
Aws::String m_asnOrg;
bool m_asnOrgHasBeenSet;
Aws::String m_isp;
bool m_ispHasBeenSet;
Aws::String m_org;
bool m_orgHasBeenSet;
};
} // namespace Model
} // namespace GuardDuty
} // namespace Aws