7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/shield/Shield_EXPORTS.h>
9#include <aws/shield/model/Subscription.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename SubscriptionT = Subscription>
37 m_subscriptionHasBeenSet =
true;
38 m_subscription = std::forward<SubscriptionT>(value);
40 template <
typename SubscriptionT = Subscription>
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
65 bool m_subscriptionHasBeenSet =
false;
66 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
AWS_SHIELD_API DescribeSubscriptionResult()=default
const Subscription & GetSubscription() const
DescribeSubscriptionResult & WithRequestId(RequestIdT &&value)
DescribeSubscriptionResult & WithSubscription(SubscriptionT &&value)
AWS_SHIELD_API DescribeSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SHIELD_API DescribeSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSubscription(SubscriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue