AWS SDK for C++  1.9.159
AWS SDK for C++
LocalIpDetails.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& GetIpAddressV4() const{ return m_ipAddressV4; }
45 
49  inline bool IpAddressV4HasBeenSet() const { return m_ipAddressV4HasBeenSet; }
50 
54  inline void SetIpAddressV4(const Aws::String& value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4 = value; }
55 
59  inline void SetIpAddressV4(Aws::String&& value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4 = std::move(value); }
60 
64  inline void SetIpAddressV4(const char* value) { m_ipAddressV4HasBeenSet = true; m_ipAddressV4.assign(value); }
65 
69  inline LocalIpDetails& WithIpAddressV4(const Aws::String& value) { SetIpAddressV4(value); return *this;}
70 
74  inline LocalIpDetails& WithIpAddressV4(Aws::String&& value) { SetIpAddressV4(std::move(value)); return *this;}
75 
79  inline LocalIpDetails& WithIpAddressV4(const char* value) { SetIpAddressV4(value); return *this;}
80 
81  private:
82 
83  Aws::String m_ipAddressV4;
84  bool m_ipAddressV4HasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace GuardDuty
89 } // namespace Aws
Aws::GuardDuty::Model::LocalIpDetails::IpAddressV4HasBeenSet
bool IpAddressV4HasBeenSet() const
Definition: LocalIpDetails.h:49
Aws::GuardDuty::Model::LocalIpDetails::WithIpAddressV4
LocalIpDetails & WithIpAddressV4(Aws::String &&value)
Definition: LocalIpDetails.h:74
Aws::GuardDuty::Model::LocalIpDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::LocalIpDetails::LocalIpDetails
LocalIpDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::LocalIpDetails
Definition: LocalIpDetails.h:33
Aws::GuardDuty::Model::LocalIpDetails::WithIpAddressV4
LocalIpDetails & WithIpAddressV4(const Aws::String &value)
Definition: LocalIpDetails.h:69
Aws::GuardDuty::Model::LocalIpDetails::SetIpAddressV4
void SetIpAddressV4(const char *value)
Definition: LocalIpDetails.h:64
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::LocalIpDetails::SetIpAddressV4
void SetIpAddressV4(Aws::String &&value)
Definition: LocalIpDetails.h:59
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::LocalIpDetails::WithIpAddressV4
LocalIpDetails & WithIpAddressV4(const char *value)
Definition: LocalIpDetails.h:79
Aws::GuardDuty::Model::LocalIpDetails::GetIpAddressV4
const Aws::String & GetIpAddressV4() const
Definition: LocalIpDetails.h:44
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::GuardDuty::Model::LocalIpDetails::operator=
LocalIpDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::LocalIpDetails::SetIpAddressV4
void SetIpAddressV4(const Aws::String &value)
Definition: LocalIpDetails.h:54
Aws::GuardDuty::Model::LocalIpDetails::LocalIpDetails
LocalIpDetails()