AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImpossibleTravelDetail.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Detective
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DETECTIVE_API ImpossibleTravelDetail();
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStartingIpAddress() const{ return m_startingIpAddress; }
46 inline bool StartingIpAddressHasBeenSet() const { return m_startingIpAddressHasBeenSet; }
47 inline void SetStartingIpAddress(const Aws::String& value) { m_startingIpAddressHasBeenSet = true; m_startingIpAddress = value; }
48 inline void SetStartingIpAddress(Aws::String&& value) { m_startingIpAddressHasBeenSet = true; m_startingIpAddress = std::move(value); }
49 inline void SetStartingIpAddress(const char* value) { m_startingIpAddressHasBeenSet = true; m_startingIpAddress.assign(value); }
51 inline ImpossibleTravelDetail& WithStartingIpAddress(Aws::String&& value) { SetStartingIpAddress(std::move(value)); return *this;}
52 inline ImpossibleTravelDetail& WithStartingIpAddress(const char* value) { SetStartingIpAddress(value); return *this;}
54
56
59 inline const Aws::String& GetEndingIpAddress() const{ return m_endingIpAddress; }
60 inline bool EndingIpAddressHasBeenSet() const { return m_endingIpAddressHasBeenSet; }
61 inline void SetEndingIpAddress(const Aws::String& value) { m_endingIpAddressHasBeenSet = true; m_endingIpAddress = value; }
62 inline void SetEndingIpAddress(Aws::String&& value) { m_endingIpAddressHasBeenSet = true; m_endingIpAddress = std::move(value); }
63 inline void SetEndingIpAddress(const char* value) { m_endingIpAddressHasBeenSet = true; m_endingIpAddress.assign(value); }
64 inline ImpossibleTravelDetail& WithEndingIpAddress(const Aws::String& value) { SetEndingIpAddress(value); return *this;}
65 inline ImpossibleTravelDetail& WithEndingIpAddress(Aws::String&& value) { SetEndingIpAddress(std::move(value)); return *this;}
66 inline ImpossibleTravelDetail& WithEndingIpAddress(const char* value) { SetEndingIpAddress(value); return *this;}
68
70
73 inline const Aws::String& GetStartingLocation() const{ return m_startingLocation; }
74 inline bool StartingLocationHasBeenSet() const { return m_startingLocationHasBeenSet; }
75 inline void SetStartingLocation(const Aws::String& value) { m_startingLocationHasBeenSet = true; m_startingLocation = value; }
76 inline void SetStartingLocation(Aws::String&& value) { m_startingLocationHasBeenSet = true; m_startingLocation = std::move(value); }
77 inline void SetStartingLocation(const char* value) { m_startingLocationHasBeenSet = true; m_startingLocation.assign(value); }
78 inline ImpossibleTravelDetail& WithStartingLocation(const Aws::String& value) { SetStartingLocation(value); return *this;}
79 inline ImpossibleTravelDetail& WithStartingLocation(Aws::String&& value) { SetStartingLocation(std::move(value)); return *this;}
80 inline ImpossibleTravelDetail& WithStartingLocation(const char* value) { SetStartingLocation(value); return *this;}
82
84
87 inline const Aws::String& GetEndingLocation() const{ return m_endingLocation; }
88 inline bool EndingLocationHasBeenSet() const { return m_endingLocationHasBeenSet; }
89 inline void SetEndingLocation(const Aws::String& value) { m_endingLocationHasBeenSet = true; m_endingLocation = value; }
90 inline void SetEndingLocation(Aws::String&& value) { m_endingLocationHasBeenSet = true; m_endingLocation = std::move(value); }
91 inline void SetEndingLocation(const char* value) { m_endingLocationHasBeenSet = true; m_endingLocation.assign(value); }
92 inline ImpossibleTravelDetail& WithEndingLocation(const Aws::String& value) { SetEndingLocation(value); return *this;}
93 inline ImpossibleTravelDetail& WithEndingLocation(Aws::String&& value) { SetEndingLocation(std::move(value)); return *this;}
94 inline ImpossibleTravelDetail& WithEndingLocation(const char* value) { SetEndingLocation(value); return *this;}
96
98
102 inline int GetHourlyTimeDelta() const{ return m_hourlyTimeDelta; }
103 inline bool HourlyTimeDeltaHasBeenSet() const { return m_hourlyTimeDeltaHasBeenSet; }
104 inline void SetHourlyTimeDelta(int value) { m_hourlyTimeDeltaHasBeenSet = true; m_hourlyTimeDelta = value; }
105 inline ImpossibleTravelDetail& WithHourlyTimeDelta(int value) { SetHourlyTimeDelta(value); return *this;}
107 private:
108
109 Aws::String m_startingIpAddress;
110 bool m_startingIpAddressHasBeenSet = false;
111
112 Aws::String m_endingIpAddress;
113 bool m_endingIpAddressHasBeenSet = false;
114
115 Aws::String m_startingLocation;
116 bool m_startingLocationHasBeenSet = false;
117
118 Aws::String m_endingLocation;
119 bool m_endingLocationHasBeenSet = false;
120
121 int m_hourlyTimeDelta;
122 bool m_hourlyTimeDeltaHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Detective
127} // namespace Aws
ImpossibleTravelDetail & WithStartingLocation(const char *value)
ImpossibleTravelDetail & WithStartingIpAddress(const char *value)
ImpossibleTravelDetail & WithEndingLocation(Aws::String &&value)
ImpossibleTravelDetail & WithStartingLocation(Aws::String &&value)
ImpossibleTravelDetail & WithStartingIpAddress(const Aws::String &value)
AWS_DETECTIVE_API ImpossibleTravelDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ImpossibleTravelDetail & WithStartingIpAddress(Aws::String &&value)
ImpossibleTravelDetail & WithEndingLocation(const char *value)
ImpossibleTravelDetail & WithEndingIpAddress(const Aws::String &value)
ImpossibleTravelDetail & WithHourlyTimeDelta(int value)
ImpossibleTravelDetail & WithEndingLocation(const Aws::String &value)
AWS_DETECTIVE_API ImpossibleTravelDetail(Aws::Utils::Json::JsonView jsonValue)
ImpossibleTravelDetail & WithEndingIpAddress(Aws::String &&value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
ImpossibleTravelDetail & WithStartingLocation(const Aws::String &value)
ImpossibleTravelDetail & WithEndingIpAddress(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue