AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
41 inline const UsageStatistics& GetUsageStatistics() const{ return m_usageStatistics; }
42 inline void SetUsageStatistics(const UsageStatistics& value) { m_usageStatistics = value; }
43 inline void SetUsageStatistics(UsageStatistics&& value) { m_usageStatistics = std::move(value); }
45 inline GetUsageStatisticsResult& WithUsageStatistics(UsageStatistics&& value) { SetUsageStatistics(std::move(value)); return *this;}
47
49
53 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
54 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
55 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
56 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
57 inline GetUsageStatisticsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
58 inline GetUsageStatisticsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
59 inline GetUsageStatisticsResult& WithNextToken(const char* value) { SetNextToken(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 GetUsageStatisticsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline GetUsageStatisticsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline GetUsageStatisticsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 UsageStatistics m_usageStatistics;
75
76 Aws::String m_nextToken;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace GuardDuty
83} // namespace Aws
GetUsageStatisticsResult & WithNextToken(const Aws::String &value)
GetUsageStatisticsResult & WithRequestId(const char *value)
AWS_GUARDDUTY_API GetUsageStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsageStatisticsResult & WithUsageStatistics(UsageStatistics &&value)
GetUsageStatisticsResult & WithUsageStatistics(const UsageStatistics &value)
GetUsageStatisticsResult & WithRequestId(const Aws::String &value)
void SetUsageStatistics(const UsageStatistics &value)
GetUsageStatisticsResult & WithNextToken(const char *value)
AWS_GUARDDUTY_API GetUsageStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUsageStatisticsResult & WithRequestId(Aws::String &&value)
GetUsageStatisticsResult & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue