AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
GetSnowballUsageResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/snowball/Snowball_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Snowball {
22namespace Model {
24 public:
25 AWS_SNOWBALL_API GetSnowballUsageResult() = default;
28
30
34 inline int GetSnowballLimit() const { return m_snowballLimit; }
35 inline void SetSnowballLimit(int value) {
36 m_snowballLimitHasBeenSet = true;
37 m_snowballLimit = value;
38 }
40 SetSnowballLimit(value);
41 return *this;
42 }
44
46
49 inline int GetSnowballsInUse() const { return m_snowballsInUse; }
50 inline void SetSnowballsInUse(int value) {
51 m_snowballsInUseHasBeenSet = true;
52 m_snowballsInUse = value;
53 }
55 SetSnowballsInUse(value);
56 return *this;
57 }
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template <typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) {
65 m_requestIdHasBeenSet = true;
66 m_requestId = std::forward<RequestIdT>(value);
67 }
68 template <typename RequestIdT = Aws::String>
70 SetRequestId(std::forward<RequestIdT>(value));
71 return *this;
72 }
74 private:
75 int m_snowballLimit{0};
76
77 int m_snowballsInUse{0};
78
79 Aws::String m_requestId;
80 bool m_snowballLimitHasBeenSet = false;
81 bool m_snowballsInUseHasBeenSet = false;
82 bool m_requestIdHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Snowball
87} // namespace Aws
GetSnowballUsageResult & WithRequestId(RequestIdT &&value)
GetSnowballUsageResult & WithSnowballLimit(int value)
AWS_SNOWBALL_API GetSnowballUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SNOWBALL_API GetSnowballUsageResult()=default
AWS_SNOWBALL_API GetSnowballUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSnowballUsageResult & WithSnowballsInUse(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue