AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeInstanceProfilesResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
10#include <aws/dms/model/InstanceProfile.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService {
24namespace Model {
26 public:
27 AWS_DATABASEMIGRATIONSERVICE_API DescribeInstanceProfilesResult() = default;
29 AWS_DATABASEMIGRATIONSERVICE_API DescribeInstanceProfilesResult& operator=(
31
33
43 inline const Aws::String& GetMarker() const { return m_marker; }
44 template <typename MarkerT = Aws::String>
45 void SetMarker(MarkerT&& value) {
46 m_markerHasBeenSet = true;
47 m_marker = std::forward<MarkerT>(value);
48 }
49 template <typename MarkerT = Aws::String>
51 SetMarker(std::forward<MarkerT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<InstanceProfile>& GetInstanceProfiles() const { return m_instanceProfiles; }
61 template <typename InstanceProfilesT = Aws::Vector<InstanceProfile>>
62 void SetInstanceProfiles(InstanceProfilesT&& value) {
63 m_instanceProfilesHasBeenSet = true;
64 m_instanceProfiles = std::forward<InstanceProfilesT>(value);
65 }
66 template <typename InstanceProfilesT = Aws::Vector<InstanceProfile>>
68 SetInstanceProfiles(std::forward<InstanceProfilesT>(value));
69 return *this;
70 }
71 template <typename InstanceProfilesT = InstanceProfile>
73 m_instanceProfilesHasBeenSet = true;
74 m_instanceProfiles.emplace_back(std::forward<InstanceProfilesT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_marker;
95
96 Aws::Vector<InstanceProfile> m_instanceProfiles;
97
98 Aws::String m_requestId;
99 bool m_markerHasBeenSet = false;
100 bool m_instanceProfilesHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace DatabaseMigrationService
106} // namespace Aws
DescribeInstanceProfilesResult & AddInstanceProfiles(InstanceProfilesT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeInstanceProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeInstanceProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInstanceProfilesResult & WithInstanceProfiles(InstanceProfilesT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeInstanceProfilesResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue