7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/shield/model/ProtectionGroup.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename ProtectionGroupsT = Aws::Vector<ProtectionGroup>>
43 void SetProtectionGroups(ProtectionGroupsT&& value) { m_protectionGroupsHasBeenSet =
true; m_protectionGroups = std::forward<ProtectionGroupsT>(value); }
44 template<
typename ProtectionGroupsT = Aws::Vector<ProtectionGroup>>
46 template<
typename ProtectionGroupsT = ProtectionGroup>
65 template<
typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
67 template<
typename NextTokenT = Aws::String>
74 template<
typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
76 template<
typename RequestIdT = Aws::String>
82 bool m_protectionGroupsHasBeenSet =
false;
85 bool m_nextTokenHasBeenSet =
false;
88 bool m_requestIdHasBeenSet =
false;
void SetProtectionGroups(ProtectionGroupsT &&value)
const Aws::String & GetNextToken() const
ListProtectionGroupsResult & WithProtectionGroups(ProtectionGroupsT &&value)
void SetNextToken(NextTokenT &&value)
AWS_SHIELD_API ListProtectionGroupsResult()=default
ListProtectionGroupsResult & WithNextToken(NextTokenT &&value)
ListProtectionGroupsResult & AddProtectionGroups(ProtectionGroupsT &&value)
const Aws::String & GetRequestId() const
AWS_SHIELD_API ListProtectionGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProtectionGroupsResult & WithRequestId(RequestIdT &&value)
AWS_SHIELD_API ListProtectionGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ProtectionGroup > & GetProtectionGroups() const
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue