AWS SDK for C++  1.9.109
AWS SDK for C++
GetUsageStatisticsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace GuardDuty
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const UsageStatistics& GetUsageStatistics() const{ return m_usageStatistics; }
41 
46  inline void SetUsageStatistics(const UsageStatistics& value) { m_usageStatistics = value; }
47 
52  inline void SetUsageStatistics(UsageStatistics&& value) { m_usageStatistics = std::move(value); }
53 
58  inline GetUsageStatisticsResult& WithUsageStatistics(const UsageStatistics& value) { SetUsageStatistics(value); return *this;}
59 
64  inline GetUsageStatisticsResult& WithUsageStatistics(UsageStatistics&& value) { SetUsageStatistics(std::move(value)); return *this;}
65 
66 
71  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 
77  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
78 
83  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
84 
89  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
90 
95  inline GetUsageStatisticsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 
101  inline GetUsageStatisticsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
107  inline GetUsageStatisticsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
108 
109  private:
110 
111  UsageStatistics m_usageStatistics;
112 
113  Aws::String m_nextToken;
114  };
115 
116 } // namespace Model
117 } // namespace GuardDuty
118 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::GetUsageStatisticsResult::SetUsageStatistics
void SetUsageStatistics(UsageStatistics &&value)
Definition: GetUsageStatisticsResult.h:52
Aws::GuardDuty::Model::GetUsageStatisticsResult::SetUsageStatistics
void SetUsageStatistics(const UsageStatistics &value)
Definition: GetUsageStatisticsResult.h:46
Aws::GuardDuty::Model::GetUsageStatisticsResult::GetUsageStatistics
const UsageStatistics & GetUsageStatistics() const
Definition: GetUsageStatisticsResult.h:40
Aws::GuardDuty::Model::GetUsageStatisticsResult::WithUsageStatistics
GetUsageStatisticsResult & WithUsageStatistics(UsageStatistics &&value)
Definition: GetUsageStatisticsResult.h:64
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UsageStatistics
Definition: UsageStatistics.h:36
Aws::GuardDuty::Model::GetUsageStatisticsResult::WithUsageStatistics
GetUsageStatisticsResult & WithUsageStatistics(const UsageStatistics &value)
Definition: GetUsageStatisticsResult.h:58
Aws::GuardDuty::Model::GetUsageStatisticsResult::GetUsageStatisticsResult
GetUsageStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetUsageStatisticsResult::WithNextToken
GetUsageStatisticsResult & WithNextToken(Aws::String &&value)
Definition: GetUsageStatisticsResult.h:101
Aws::GuardDuty::Model::GetUsageStatisticsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetUsageStatisticsResult.h:83
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
AWSString.h
Aws::GuardDuty::Model::GetUsageStatisticsResult::WithNextToken
GetUsageStatisticsResult & WithNextToken(const char *value)
Definition: GetUsageStatisticsResult.h:107
Aws::GuardDuty::Model::GetUsageStatisticsResult::WithNextToken
GetUsageStatisticsResult & WithNextToken(const Aws::String &value)
Definition: GetUsageStatisticsResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::GetUsageStatisticsResult::GetUsageStatisticsResult
GetUsageStatisticsResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::GetUsageStatisticsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetUsageStatisticsResult.h:77
Aws::GuardDuty::Model::GetUsageStatisticsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetUsageStatisticsResult.h:71
UsageStatistics.h
Aws::GuardDuty::Model::GetUsageStatisticsResult::operator=
GetUsageStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetUsageStatisticsResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetUsageStatisticsResult.h:89
Aws::GuardDuty::Model::GetUsageStatisticsResult
Definition: GetUsageStatisticsResult.h:29