AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CheckCapacityResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WAFV2
24{
25namespace Model
26{
28 {
29 public:
30 AWS_WAFV2_API CheckCapacityResult();
33
34
36
39 inline long long GetCapacity() const{ return m_capacity; }
40 inline void SetCapacity(long long value) { m_capacity = value; }
41 inline CheckCapacityResult& WithCapacity(long long value) { SetCapacity(value); return *this;}
43
45
46 inline const Aws::String& GetRequestId() const{ return m_requestId; }
47 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
48 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
49 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
50 inline CheckCapacityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
51 inline CheckCapacityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
52 inline CheckCapacityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
54 private:
55
56 long long m_capacity;
57
58 Aws::String m_requestId;
59 };
60
61} // namespace Model
62} // namespace WAFV2
63} // namespace Aws
CheckCapacityResult & WithCapacity(long long value)
void SetRequestId(const Aws::String &value)
CheckCapacityResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
AWS_WAFV2_API CheckCapacityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAFV2_API CheckCapacityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckCapacityResult & WithRequestId(Aws::String &&value)
CheckCapacityResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue