AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetHypervisorPropertyMappingsResult.h
1
6#pragma once
7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/backup-gateway/model/VmwareToAwsTagMapping.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 BackupGateway
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BACKUPGATEWAY_API GetHypervisorPropertyMappingsResult();
35
36
38
41 inline const Aws::String& GetHypervisorArn() const{ return m_hypervisorArn; }
42 inline void SetHypervisorArn(const Aws::String& value) { m_hypervisorArn = value; }
43 inline void SetHypervisorArn(Aws::String&& value) { m_hypervisorArn = std::move(value); }
44 inline void SetHypervisorArn(const char* value) { m_hypervisorArn.assign(value); }
46 inline GetHypervisorPropertyMappingsResult& WithHypervisorArn(Aws::String&& value) { SetHypervisorArn(std::move(value)); return *this;}
47 inline GetHypervisorPropertyMappingsResult& WithHypervisorArn(const char* value) { SetHypervisorArn(value); return *this;}
49
51
54 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
55 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArn = value; }
56 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArn = std::move(value); }
57 inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); }
58 inline GetHypervisorPropertyMappingsResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
59 inline GetHypervisorPropertyMappingsResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
60 inline GetHypervisorPropertyMappingsResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
62
64
68 inline const Aws::Vector<VmwareToAwsTagMapping>& GetVmwareToAwsTagMappings() const{ return m_vmwareToAwsTagMappings; }
69 inline void SetVmwareToAwsTagMappings(const Aws::Vector<VmwareToAwsTagMapping>& value) { m_vmwareToAwsTagMappings = value; }
70 inline void SetVmwareToAwsTagMappings(Aws::Vector<VmwareToAwsTagMapping>&& value) { m_vmwareToAwsTagMappings = std::move(value); }
73 inline GetHypervisorPropertyMappingsResult& AddVmwareToAwsTagMappings(const VmwareToAwsTagMapping& value) { m_vmwareToAwsTagMappings.push_back(value); return *this; }
74 inline GetHypervisorPropertyMappingsResult& AddVmwareToAwsTagMappings(VmwareToAwsTagMapping&& value) { m_vmwareToAwsTagMappings.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline GetHypervisorPropertyMappingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline GetHypervisorPropertyMappingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline GetHypervisorPropertyMappingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_hypervisorArn;
90
91 Aws::String m_iamRoleArn;
92
93 Aws::Vector<VmwareToAwsTagMapping> m_vmwareToAwsTagMappings;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace BackupGateway
100} // namespace Aws
GetHypervisorPropertyMappingsResult & WithHypervisorArn(const Aws::String &value)
GetHypervisorPropertyMappingsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< VmwareToAwsTagMapping > & GetVmwareToAwsTagMappings() const
GetHypervisorPropertyMappingsResult & WithIamRoleArn(Aws::String &&value)
GetHypervisorPropertyMappingsResult & WithHypervisorArn(Aws::String &&value)
AWS_BACKUPGATEWAY_API GetHypervisorPropertyMappingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHypervisorPropertyMappingsResult & WithRequestId(const Aws::String &value)
GetHypervisorPropertyMappingsResult & AddVmwareToAwsTagMappings(VmwareToAwsTagMapping &&value)
GetHypervisorPropertyMappingsResult & WithHypervisorArn(const char *value)
GetHypervisorPropertyMappingsResult & WithVmwareToAwsTagMappings(const Aws::Vector< VmwareToAwsTagMapping > &value)
GetHypervisorPropertyMappingsResult & WithIamRoleArn(const Aws::String &value)
GetHypervisorPropertyMappingsResult & WithVmwareToAwsTagMappings(Aws::Vector< VmwareToAwsTagMapping > &&value)
GetHypervisorPropertyMappingsResult & WithRequestId(const char *value)
AWS_BACKUPGATEWAY_API GetHypervisorPropertyMappingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVmwareToAwsTagMappings(Aws::Vector< VmwareToAwsTagMapping > &&value)
GetHypervisorPropertyMappingsResult & WithIamRoleArn(const char *value)
GetHypervisorPropertyMappingsResult & AddVmwareToAwsTagMappings(const VmwareToAwsTagMapping &value)
void SetVmwareToAwsTagMappings(const Aws::Vector< VmwareToAwsTagMapping > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue