AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetUsageStatisticsResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/UsageStatistics.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GUARDDUTY_API GetUsageStatisticsResult() = default;
34
35
37
41 inline const UsageStatistics& GetUsageStatistics() const { return m_usageStatistics; }
42 template<typename UsageStatisticsT = UsageStatistics>
43 void SetUsageStatistics(UsageStatisticsT&& value) { m_usageStatisticsHasBeenSet = true; m_usageStatistics = std::forward<UsageStatisticsT>(value); }
44 template<typename UsageStatisticsT = UsageStatistics>
45 GetUsageStatisticsResult& WithUsageStatistics(UsageStatisticsT&& value) { SetUsageStatistics(std::forward<UsageStatisticsT>(value)); return *this;}
47
49
53 inline const Aws::String& GetNextToken() const { return m_nextToken; }
54 template<typename NextTokenT = Aws::String>
55 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
56 template<typename NextTokenT = Aws::String>
57 GetUsageStatisticsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template<typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
65 template<typename RequestIdT = Aws::String>
66 GetUsageStatisticsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
68 private:
69
70 UsageStatistics m_usageStatistics;
71 bool m_usageStatisticsHasBeenSet = false;
72
73 Aws::String m_nextToken;
74 bool m_nextTokenHasBeenSet = false;
75
76 Aws::String m_requestId;
77 bool m_requestIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace GuardDuty
82} // namespace Aws
AWS_GUARDDUTY_API GetUsageStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsageStatisticsResult & WithRequestId(RequestIdT &&value)
GetUsageStatisticsResult & WithUsageStatistics(UsageStatisticsT &&value)
AWS_GUARDDUTY_API GetUsageStatisticsResult()=default
AWS_GUARDDUTY_API GetUsageStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsageStatisticsResult & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue