AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetApplicationComponentDetailsResult.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/ApplicationComponentDetail.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/migrationhubstrategy/model/AssociatedApplication.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MigrationHubStrategyRecommendations
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetApplicationComponentDetailsResult();
36
37
39
42 inline const ApplicationComponentDetail& GetApplicationComponentDetail() const{ return m_applicationComponentDetail; }
43 inline void SetApplicationComponentDetail(const ApplicationComponentDetail& value) { m_applicationComponentDetail = value; }
44 inline void SetApplicationComponentDetail(ApplicationComponentDetail&& value) { m_applicationComponentDetail = std::move(value); }
48
50
54 inline const Aws::Vector<AssociatedApplication>& GetAssociatedApplications() const{ return m_associatedApplications; }
55 inline void SetAssociatedApplications(const Aws::Vector<AssociatedApplication>& value) { m_associatedApplications = value; }
56 inline void SetAssociatedApplications(Aws::Vector<AssociatedApplication>&& value) { m_associatedApplications = std::move(value); }
59 inline GetApplicationComponentDetailsResult& AddAssociatedApplications(const AssociatedApplication& value) { m_associatedApplications.push_back(value); return *this; }
60 inline GetApplicationComponentDetailsResult& AddAssociatedApplications(AssociatedApplication&& value) { m_associatedApplications.push_back(std::move(value)); return *this; }
62
64
68 inline const Aws::Vector<Aws::String>& GetAssociatedServerIds() const{ return m_associatedServerIds; }
69 inline void SetAssociatedServerIds(const Aws::Vector<Aws::String>& value) { m_associatedServerIds = value; }
70 inline void SetAssociatedServerIds(Aws::Vector<Aws::String>&& value) { m_associatedServerIds = std::move(value); }
73 inline GetApplicationComponentDetailsResult& AddAssociatedServerIds(const Aws::String& value) { m_associatedServerIds.push_back(value); return *this; }
74 inline GetApplicationComponentDetailsResult& AddAssociatedServerIds(Aws::String&& value) { m_associatedServerIds.push_back(std::move(value)); return *this; }
75 inline GetApplicationComponentDetailsResult& AddAssociatedServerIds(const char* value) { m_associatedServerIds.push_back(value); return *this; }
77
79
83 inline bool GetMoreApplicationResource() const{ return m_moreApplicationResource; }
84 inline void SetMoreApplicationResource(bool value) { m_moreApplicationResource = value; }
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline GetApplicationComponentDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline GetApplicationComponentDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline GetApplicationComponentDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 ApplicationComponentDetail m_applicationComponentDetail;
101
102 Aws::Vector<AssociatedApplication> m_associatedApplications;
103
104 Aws::Vector<Aws::String> m_associatedServerIds;
105
106 bool m_moreApplicationResource;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace MigrationHubStrategyRecommendations
113} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetApplicationComponentDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetApplicationComponentDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationComponentDetailsResult & WithApplicationComponentDetail(const ApplicationComponentDetail &value)
GetApplicationComponentDetailsResult & WithApplicationComponentDetail(ApplicationComponentDetail &&value)
GetApplicationComponentDetailsResult & WithAssociatedApplications(const Aws::Vector< AssociatedApplication > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetApplicationComponentDetailsResult()
GetApplicationComponentDetailsResult & AddAssociatedApplications(const AssociatedApplication &value)
GetApplicationComponentDetailsResult & WithAssociatedServerIds(const Aws::Vector< Aws::String > &value)
GetApplicationComponentDetailsResult & AddAssociatedApplications(AssociatedApplication &&value)
GetApplicationComponentDetailsResult & WithAssociatedApplications(Aws::Vector< AssociatedApplication > &&value)
GetApplicationComponentDetailsResult & WithAssociatedServerIds(Aws::Vector< Aws::String > &&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