7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/workspaces/WorkSpaces_EXPORTS.h>
12#include <aws/workspaces/model/ImageResourceAssociation.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename AssociationsT = Aws::Vector<ImageResourceAssociation>>
39 m_associationsHasBeenSet =
true;
40 m_associations = std::forward<AssociationsT>(value);
42 template <
typename AssociationsT = Aws::Vector<ImageResourceAssociation>>
47 template <
typename AssociationsT = ImageResourceAssociation>
49 m_associationsHasBeenSet =
true;
50 m_associations.emplace_back(std::forward<AssociationsT>(value));
58 template <
typename RequestIdT = Aws::String>
60 m_requestIdHasBeenSet =
true;
61 m_requestId = std::forward<RequestIdT>(value);
63 template <
typename RequestIdT = Aws::String>
76 bool m_associationsHasBeenSet =
false;
77 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
AWS_WORKSPACES_API DescribeImageAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::String & GetRequestId() const
void SetAssociations(AssociationsT &&value)
DescribeImageAssociationsResult & WithAssociations(AssociationsT &&value)
AWS_WORKSPACES_API DescribeImageAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeImageAssociationsResult & AddAssociations(AssociationsT &&value)
AWS_WORKSPACES_API DescribeImageAssociationsResult()=default
DescribeImageAssociationsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ImageResourceAssociation > & GetAssociations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector