AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSnowballUsageResult.h
1
6#pragma once
7#include <aws/snowball/Snowball_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 Snowball
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SNOWBALL_API GetSnowballUsageResult();
33
34
36
40 inline int GetSnowballLimit() const{ return m_snowballLimit; }
41 inline void SetSnowballLimit(int value) { m_snowballLimit = value; }
42 inline GetSnowballUsageResult& WithSnowballLimit(int value) { SetSnowballLimit(value); return *this;}
44
46
49 inline int GetSnowballsInUse() const{ return m_snowballsInUse; }
50 inline void SetSnowballsInUse(int value) { m_snowballsInUse = value; }
51 inline GetSnowballUsageResult& WithSnowballsInUse(int value) { SetSnowballsInUse(value); return *this;}
53
55
56 inline const Aws::String& GetRequestId() const{ return m_requestId; }
57 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
58 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
59 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline GetSnowballUsageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline GetSnowballUsageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline GetSnowballUsageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
66 int m_snowballLimit;
67
68 int m_snowballsInUse;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace Snowball
75} // namespace Aws
GetSnowballUsageResult & WithSnowballLimit(int value)
AWS_SNOWBALL_API GetSnowballUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSnowballUsageResult & WithRequestId(const Aws::String &value)
GetSnowballUsageResult & WithRequestId(Aws::String &&value)
AWS_SNOWBALL_API GetSnowballUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSnowballUsageResult & WithRequestId(const char *value)
GetSnowballUsageResult & WithSnowballsInUse(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue