AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAttackStatisticsResult.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/model/TimeRange.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/shield/model/AttackStatisticsDataItem.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Shield
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const TimeRange& GetTimeRange() const{ return m_timeRange; }
43 inline void SetTimeRange(const TimeRange& value) { m_timeRange = value; }
44 inline void SetTimeRange(TimeRange&& value) { m_timeRange = std::move(value); }
45 inline DescribeAttackStatisticsResult& WithTimeRange(const TimeRange& value) { SetTimeRange(value); return *this;}
46 inline DescribeAttackStatisticsResult& WithTimeRange(TimeRange&& value) { SetTimeRange(std::move(value)); return *this;}
48
50
53 inline const Aws::Vector<AttackStatisticsDataItem>& GetDataItems() const{ return m_dataItems; }
54 inline void SetDataItems(const Aws::Vector<AttackStatisticsDataItem>& value) { m_dataItems = value; }
55 inline void SetDataItems(Aws::Vector<AttackStatisticsDataItem>&& value) { m_dataItems = std::move(value); }
58 inline DescribeAttackStatisticsResult& AddDataItems(const AttackStatisticsDataItem& value) { m_dataItems.push_back(value); return *this; }
59 inline DescribeAttackStatisticsResult& AddDataItems(AttackStatisticsDataItem&& value) { m_dataItems.push_back(std::move(value)); return *this; }
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline DescribeAttackStatisticsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline DescribeAttackStatisticsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline DescribeAttackStatisticsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 TimeRange m_timeRange;
75
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace Shield
83} // namespace Aws
DescribeAttackStatisticsResult & WithTimeRange(TimeRange &&value)
DescribeAttackStatisticsResult & WithDataItems(Aws::Vector< AttackStatisticsDataItem > &&value)
AWS_SHIELD_API DescribeAttackStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< AttackStatisticsDataItem > & GetDataItems() const
AWS_SHIELD_API DescribeAttackStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDataItems(const Aws::Vector< AttackStatisticsDataItem > &value)
DescribeAttackStatisticsResult & WithRequestId(const Aws::String &value)
void SetDataItems(Aws::Vector< AttackStatisticsDataItem > &&value)
DescribeAttackStatisticsResult & WithRequestId(const char *value)
DescribeAttackStatisticsResult & WithRequestId(Aws::String &&value)
DescribeAttackStatisticsResult & WithDataItems(const Aws::Vector< AttackStatisticsDataItem > &value)
DescribeAttackStatisticsResult & AddDataItems(const AttackStatisticsDataItem &value)
DescribeAttackStatisticsResult & AddDataItems(AttackStatisticsDataItem &&value)
DescribeAttackStatisticsResult & WithTimeRange(const TimeRange &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue