7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/ResponseMetadata.h>
11#include <aws/iam/model/InstanceProfile.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
50 template<
typename InstanceProfilesT = Aws::Vector<InstanceProfile>>
51 void SetInstanceProfiles(InstanceProfilesT&& value) { m_instanceProfilesHasBeenSet =
true; m_instanceProfiles = std::forward<InstanceProfilesT>(value); }
52 template<
typename InstanceProfilesT = Aws::Vector<InstanceProfile>>
54 template<
typename InstanceProfilesT = InstanceProfile>
69 inline void SetIsTruncated(
bool value) { m_isTruncatedHasBeenSet =
true; m_isTruncated = value; }
80 template<
typename MarkerT = Aws::String>
81 void SetMarker(MarkerT&& value) { m_markerHasBeenSet =
true; m_marker = std::forward<MarkerT>(value); }
82 template<
typename MarkerT = Aws::String>
89 template<
typename ResponseMetadataT = ResponseMetadata>
90 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
91 template<
typename ResponseMetadataT = ResponseMetadata>
97 bool m_instanceProfilesHasBeenSet =
false;
99 bool m_isTruncated{
false};
100 bool m_isTruncatedHasBeenSet =
false;
103 bool m_markerHasBeenSet =
false;
105 ResponseMetadata m_responseMetadata;
106 bool m_responseMetadataHasBeenSet =
false;
bool GetIsTruncated() const
const Aws::String & GetMarker() const
const Aws::Vector< InstanceProfile > & GetInstanceProfiles() const
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_IAM_API ListInstanceProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListInstanceProfilesResult & AddInstanceProfiles(InstanceProfilesT &&value)
AWS_IAM_API ListInstanceProfilesResult()=default
void SetInstanceProfiles(InstanceProfilesT &&value)
ListInstanceProfilesResult & WithMarker(MarkerT &&value)
void SetMarker(MarkerT &&value)
ListInstanceProfilesResult & WithInstanceProfiles(InstanceProfilesT &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetIsTruncated(bool value)
AWS_IAM_API ListInstanceProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListInstanceProfilesResult & WithResponseMetadata(ResponseMetadataT &&value)
ListInstanceProfilesResult & WithIsTruncated(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument