AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationState.h
1
6#pragma once
7#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/AWSMigrationHub/model/ApplicationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MigrationHub
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_MIGRATIONHUB_API ApplicationState();
39 AWS_MIGRATIONHUB_API ApplicationState(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MIGRATIONHUB_API ApplicationState& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MIGRATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
50 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
51 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
52 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
53 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
54 inline ApplicationState& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
55 inline ApplicationState& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
56 inline ApplicationState& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
58
60
63 inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; }
64 inline bool ApplicationStatusHasBeenSet() const { return m_applicationStatusHasBeenSet; }
65 inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = value; }
66 inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = std::move(value); }
68 inline ApplicationState& WithApplicationStatus(ApplicationStatus&& value) { SetApplicationStatus(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
76 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
77 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
78 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
79 inline ApplicationState& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
80 inline ApplicationState& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_applicationId;
85 bool m_applicationIdHasBeenSet = false;
86
87 ApplicationStatus m_applicationStatus;
88 bool m_applicationStatusHasBeenSet = false;
89
90 Aws::Utils::DateTime m_lastUpdatedTime;
91 bool m_lastUpdatedTimeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MigrationHub
96} // namespace Aws
AWS_MIGRATIONHUB_API ApplicationState(Aws::Utils::Json::JsonView jsonValue)
ApplicationState & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
AWS_MIGRATIONHUB_API ApplicationState & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_MIGRATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationState & WithApplicationStatus(const ApplicationStatus &value)
ApplicationState & WithApplicationId(Aws::String &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetApplicationId(const Aws::String &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const ApplicationStatus & GetApplicationStatus() const
ApplicationState & WithApplicationId(const Aws::String &value)
void SetApplicationStatus(const ApplicationStatus &value)
ApplicationState & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
ApplicationState & WithApplicationId(const char *value)
ApplicationState & WithApplicationStatus(ApplicationStatus &&value)
const Aws::String & GetApplicationId() const
void SetApplicationStatus(ApplicationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue