AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
ThrottlingException.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Transfer {
20namespace Model {
21
29 public:
30 AWS_TRANSFER_API ThrottlingException() = default;
33 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetRetryAfterSeconds() const { return m_retryAfterSeconds; }
38 inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; }
39 template <typename RetryAfterSecondsT = Aws::String>
40 void SetRetryAfterSeconds(RetryAfterSecondsT&& value) {
41 m_retryAfterSecondsHasBeenSet = true;
42 m_retryAfterSeconds = std::forward<RetryAfterSecondsT>(value);
43 }
44 template <typename RetryAfterSecondsT = Aws::String>
45 ThrottlingException& WithRetryAfterSeconds(RetryAfterSecondsT&& value) {
46 SetRetryAfterSeconds(std::forward<RetryAfterSecondsT>(value));
47 return *this;
48 }
50 private:
51 Aws::String m_retryAfterSeconds;
52 bool m_retryAfterSecondsHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace Transfer
57} // namespace Aws
const Aws::String & GetRetryAfterSeconds() const
void SetRetryAfterSeconds(RetryAfterSecondsT &&value)
ThrottlingException & WithRetryAfterSeconds(RetryAfterSecondsT &&value)
AWS_TRANSFER_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API ThrottlingException()=default
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue