7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ram/RAM_EXPORTS.h>
10#include <aws/ram/model/ResourceShare.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename ResourceSharesT = Aws::Vector<ResourceShare>>
39 m_resourceSharesHasBeenSet =
true;
40 m_resourceShares = std::forward<ResourceSharesT>(value);
42 template <
typename ResourceSharesT = Aws::Vector<ResourceShare>>
47 template <
typename ResourceSharesT = ResourceShare>
49 m_resourceSharesHasBeenSet =
true;
50 m_resourceShares.emplace_back(std::forward<ResourceSharesT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
97 bool m_resourceSharesHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
GetResourceSharesResult & AddResourceShares(ResourceSharesT &&value)
void SetRequestId(RequestIdT &&value)
GetResourceSharesResult & WithResourceShares(ResourceSharesT &&value)
const Aws::Vector< ResourceShare > & GetResourceShares() const
const Aws::String & GetNextToken() const
void SetResourceShares(ResourceSharesT &&value)
const Aws::String & GetRequestId() const
AWS_RAM_API GetResourceSharesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RAM_API GetResourceSharesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RAM_API GetResourceSharesResult()=default
GetResourceSharesResult & WithNextToken(NextTokenT &&value)
GetResourceSharesResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&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