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/ResourceShareAssociation.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename ResourceShareAssociationsT = Aws::Vector<ResourceShareAssociation>>
38 m_resourceShareAssociationsHasBeenSet =
true;
39 m_resourceShareAssociations = std::forward<ResourceShareAssociationsT>(value);
41 template <
typename ResourceShareAssociationsT = Aws::Vector<ResourceShareAssociation>>
46 template <
typename ResourceShareAssociationsT = ResourceShareAssociation>
48 m_resourceShareAssociationsHasBeenSet =
true;
49 m_resourceShareAssociations.emplace_back(std::forward<ResourceShareAssociationsT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
96 bool m_resourceShareAssociationsHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
AWS_RAM_API GetResourceShareAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
AWS_RAM_API GetResourceShareAssociationsResult()=default
GetResourceShareAssociationsResult & WithNextToken(NextTokenT &&value)
GetResourceShareAssociationsResult & WithRequestId(RequestIdT &&value)
AWS_RAM_API GetResourceShareAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ResourceShareAssociation > & GetResourceShareAssociations() const
const Aws::String & GetNextToken() const
void SetResourceShareAssociations(ResourceShareAssociationsT &&value)
GetResourceShareAssociationsResult & WithResourceShareAssociations(ResourceShareAssociationsT &&value)
GetResourceShareAssociationsResult & AddResourceShareAssociations(ResourceShareAssociationsT &&value)
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