AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListInstanceProfilesResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace IAM
27{
28namespace Model
29{
37 {
38 public:
42
43
45
48 inline const Aws::Vector<InstanceProfile>& GetInstanceProfiles() const{ return m_instanceProfiles; }
49 inline void SetInstanceProfiles(const Aws::Vector<InstanceProfile>& value) { m_instanceProfiles = value; }
50 inline void SetInstanceProfiles(Aws::Vector<InstanceProfile>&& value) { m_instanceProfiles = std::move(value); }
53 inline ListInstanceProfilesResult& AddInstanceProfiles(const InstanceProfile& value) { m_instanceProfiles.push_back(value); return *this; }
54 inline ListInstanceProfilesResult& AddInstanceProfiles(InstanceProfile&& value) { m_instanceProfiles.push_back(std::move(value)); return *this; }
56
58
67 inline bool GetIsTruncated() const{ return m_isTruncated; }
68 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
69 inline ListInstanceProfilesResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
71
73
78 inline const Aws::String& GetMarker() const{ return m_marker; }
79 inline void SetMarker(const Aws::String& value) { m_marker = value; }
80 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
81 inline void SetMarker(const char* value) { m_marker.assign(value); }
82 inline ListInstanceProfilesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline ListInstanceProfilesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline ListInstanceProfilesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
86
88
89 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
90 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
91 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
93 inline ListInstanceProfilesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
95 private:
96
97 Aws::Vector<InstanceProfile> m_instanceProfiles;
98
99 bool m_isTruncated;
100
101 Aws::String m_marker;
102
103 ResponseMetadata m_responseMetadata;
104 };
105
106} // namespace Model
107} // namespace IAM
108} // namespace Aws
const Aws::Vector< InstanceProfile > & GetInstanceProfiles() const
ListInstanceProfilesResult & WithResponseMetadata(ResponseMetadata &&value)
ListInstanceProfilesResult & AddInstanceProfiles(const InstanceProfile &value)
ListInstanceProfilesResult & WithInstanceProfiles(const Aws::Vector< InstanceProfile > &value)
AWS_IAM_API ListInstanceProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListInstanceProfilesResult & WithMarker(const Aws::String &value)
ListInstanceProfilesResult & WithMarker(Aws::String &&value)
void SetInstanceProfiles(Aws::Vector< InstanceProfile > &&value)
ListInstanceProfilesResult & WithInstanceProfiles(Aws::Vector< InstanceProfile > &&value)
ListInstanceProfilesResult & AddInstanceProfiles(InstanceProfile &&value)
ListInstanceProfilesResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_IAM_API ListInstanceProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
ListInstanceProfilesResult & WithIsTruncated(bool value)
void SetInstanceProfiles(const Aws::Vector< InstanceProfile > &value)
ListInstanceProfilesResult & WithMarker(const char *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