AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeInstanceProfilesResult.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dms/model/InstanceProfile.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DatabaseMigrationService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DATABASEMIGRATIONSERVICE_API DescribeInstanceProfilesResult() = default;
35
36
38
48 inline const Aws::String& GetMarker() const { return m_marker; }
49 template<typename MarkerT = Aws::String>
50 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
51 template<typename MarkerT = Aws::String>
52 DescribeInstanceProfilesResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
54
56
59 inline const Aws::Vector<InstanceProfile>& GetInstanceProfiles() const { return m_instanceProfiles; }
60 template<typename InstanceProfilesT = Aws::Vector<InstanceProfile>>
61 void SetInstanceProfiles(InstanceProfilesT&& value) { m_instanceProfilesHasBeenSet = true; m_instanceProfiles = std::forward<InstanceProfilesT>(value); }
62 template<typename InstanceProfilesT = Aws::Vector<InstanceProfile>>
63 DescribeInstanceProfilesResult& WithInstanceProfiles(InstanceProfilesT&& value) { SetInstanceProfiles(std::forward<InstanceProfilesT>(value)); return *this;}
64 template<typename InstanceProfilesT = InstanceProfile>
65 DescribeInstanceProfilesResult& AddInstanceProfiles(InstanceProfilesT&& value) { m_instanceProfilesHasBeenSet = true; m_instanceProfiles.emplace_back(std::forward<InstanceProfilesT>(value)); return *this; }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 DescribeInstanceProfilesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_marker;
79 bool m_markerHasBeenSet = false;
80
81 Aws::Vector<InstanceProfile> m_instanceProfiles;
82 bool m_instanceProfilesHasBeenSet = false;
83
84 Aws::String m_requestId;
85 bool m_requestIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DatabaseMigrationService
90} // 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