AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetServerDetailsResult.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migrationhubstrategy/model/ServerDetail.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 GetServerDetailsResult();
34 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetServerDetailsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetServerDetailsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
36
37
39
43 inline const Aws::Vector<AssociatedApplication>& GetAssociatedApplications() const{ return m_associatedApplications; }
44 inline void SetAssociatedApplications(const Aws::Vector<AssociatedApplication>& value) { m_associatedApplications = value; }
45 inline void SetAssociatedApplications(Aws::Vector<AssociatedApplication>&& value) { m_associatedApplications = std::move(value); }
48 inline GetServerDetailsResult& AddAssociatedApplications(const AssociatedApplication& value) { m_associatedApplications.push_back(value); return *this; }
49 inline GetServerDetailsResult& AddAssociatedApplications(AssociatedApplication&& value) { m_associatedApplications.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
61 inline GetServerDetailsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline GetServerDetailsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline GetServerDetailsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
70 inline const ServerDetail& GetServerDetail() const{ return m_serverDetail; }
71 inline void SetServerDetail(const ServerDetail& value) { m_serverDetail = value; }
72 inline void SetServerDetail(ServerDetail&& value) { m_serverDetail = std::move(value); }
73 inline GetServerDetailsResult& WithServerDetail(const ServerDetail& value) { SetServerDetail(value); return *this;}
74 inline GetServerDetailsResult& WithServerDetail(ServerDetail&& value) { SetServerDetail(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 GetServerDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline GetServerDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline GetServerDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::Vector<AssociatedApplication> m_associatedApplications;
90
91 Aws::String m_nextToken;
92
93 ServerDetail m_serverDetail;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace MigrationHubStrategyRecommendations
100} // namespace Aws
const Aws::Vector< AssociatedApplication > & GetAssociatedApplications() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetServerDetailsResult()
GetServerDetailsResult & WithServerDetail(const ServerDetail &value)
void SetAssociatedApplications(const Aws::Vector< AssociatedApplication > &value)
GetServerDetailsResult & AddAssociatedApplications(AssociatedApplication &&value)
GetServerDetailsResult & AddAssociatedApplications(const AssociatedApplication &value)
GetServerDetailsResult & WithAssociatedApplications(const Aws::Vector< AssociatedApplication > &value)
void SetAssociatedApplications(Aws::Vector< AssociatedApplication > &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetServerDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServerDetailsResult & WithAssociatedApplications(Aws::Vector< AssociatedApplication > &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetServerDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue