AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeApplicationStateResult.h
1
6#pragma once
7#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
8#include <aws/AWSMigrationHub/model/ApplicationStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.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 MigrationHub
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MIGRATIONHUB_API DescribeApplicationStateResult();
35
36
38
41 inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; }
42 inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatus = value; }
43 inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatus = std::move(value); }
47
49
52 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
53 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
54 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline DescribeApplicationStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline DescribeApplicationStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline DescribeApplicationStateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 ApplicationStatus m_applicationStatus;
72
73 Aws::Utils::DateTime m_lastUpdatedTime;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace MigrationHub
80} // namespace Aws
DescribeApplicationStateResult & WithRequestId(Aws::String &&value)
AWS_MIGRATIONHUB_API DescribeApplicationStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApplicationStateResult & WithApplicationStatus(ApplicationStatus &&value)
DescribeApplicationStateResult & WithRequestId(const Aws::String &value)
DescribeApplicationStateResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
DescribeApplicationStateResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
AWS_MIGRATIONHUB_API DescribeApplicationStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeApplicationStateResult & WithRequestId(const char *value)
DescribeApplicationStateResult & WithApplicationStatus(const ApplicationStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue