/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace mgn { namespace Model { class MarkAsArchivedResult { public: AWS_MGN_API MarkAsArchivedResult(); AWS_MGN_API MarkAsArchivedResult(const Aws::AmazonWebServiceResult& result); AWS_MGN_API MarkAsArchivedResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Source server application ID.

*/ inline const Aws::String& GetApplicationID() const{ return m_applicationID; } /** *

Source server application ID.

*/ inline void SetApplicationID(const Aws::String& value) { m_applicationID = value; } /** *

Source server application ID.

*/ inline void SetApplicationID(Aws::String&& value) { m_applicationID = std::move(value); } /** *

Source server application ID.

*/ inline void SetApplicationID(const char* value) { m_applicationID.assign(value); } /** *

Source server application ID.

*/ inline MarkAsArchivedResult& WithApplicationID(const Aws::String& value) { SetApplicationID(value); return *this;} /** *

Source server application ID.

*/ inline MarkAsArchivedResult& WithApplicationID(Aws::String&& value) { SetApplicationID(std::move(value)); return *this;} /** *

Source server application ID.

*/ inline MarkAsArchivedResult& WithApplicationID(const char* value) { SetApplicationID(value); return *this;} /** *

Source server ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

Source server ARN.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

Source server ARN.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

Source server ARN.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

Source server ARN.

*/ inline MarkAsArchivedResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

Source server ARN.

*/ inline MarkAsArchivedResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

Source server ARN.

*/ inline MarkAsArchivedResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

Source server data replication info.

*/ inline const DataReplicationInfo& GetDataReplicationInfo() const{ return m_dataReplicationInfo; } /** *

Source server data replication info.

*/ inline void SetDataReplicationInfo(const DataReplicationInfo& value) { m_dataReplicationInfo = value; } /** *

Source server data replication info.

*/ inline void SetDataReplicationInfo(DataReplicationInfo&& value) { m_dataReplicationInfo = std::move(value); } /** *

Source server data replication info.

*/ inline MarkAsArchivedResult& WithDataReplicationInfo(const DataReplicationInfo& value) { SetDataReplicationInfo(value); return *this;} /** *

Source server data replication info.

*/ inline MarkAsArchivedResult& WithDataReplicationInfo(DataReplicationInfo&& value) { SetDataReplicationInfo(std::move(value)); return *this;} /** *

Source server fqdn for action framework.

*/ inline const Aws::String& GetFqdnForActionFramework() const{ return m_fqdnForActionFramework; } /** *

Source server fqdn for action framework.

*/ inline void SetFqdnForActionFramework(const Aws::String& value) { m_fqdnForActionFramework = value; } /** *

Source server fqdn for action framework.

*/ inline void SetFqdnForActionFramework(Aws::String&& value) { m_fqdnForActionFramework = std::move(value); } /** *

Source server fqdn for action framework.

*/ inline void SetFqdnForActionFramework(const char* value) { m_fqdnForActionFramework.assign(value); } /** *

Source server fqdn for action framework.

*/ inline MarkAsArchivedResult& WithFqdnForActionFramework(const Aws::String& value) { SetFqdnForActionFramework(value); return *this;} /** *

Source server fqdn for action framework.

*/ inline MarkAsArchivedResult& WithFqdnForActionFramework(Aws::String&& value) { SetFqdnForActionFramework(std::move(value)); return *this;} /** *

Source server fqdn for action framework.

*/ inline MarkAsArchivedResult& WithFqdnForActionFramework(const char* value) { SetFqdnForActionFramework(value); return *this;} /** *

Source server archived status.

*/ inline bool GetIsArchived() const{ return m_isArchived; } /** *

Source server archived status.

*/ inline void SetIsArchived(bool value) { m_isArchived = value; } /** *

Source server archived status.

*/ inline MarkAsArchivedResult& WithIsArchived(bool value) { SetIsArchived(value); return *this;} /** *

Source server launched instance.

*/ inline const LaunchedInstance& GetLaunchedInstance() const{ return m_launchedInstance; } /** *

Source server launched instance.

*/ inline void SetLaunchedInstance(const LaunchedInstance& value) { m_launchedInstance = value; } /** *

Source server launched instance.

*/ inline void SetLaunchedInstance(LaunchedInstance&& value) { m_launchedInstance = std::move(value); } /** *

Source server launched instance.

*/ inline MarkAsArchivedResult& WithLaunchedInstance(const LaunchedInstance& value) { SetLaunchedInstance(value); return *this;} /** *

Source server launched instance.

*/ inline MarkAsArchivedResult& WithLaunchedInstance(LaunchedInstance&& value) { SetLaunchedInstance(std::move(value)); return *this;} /** *

Source server lifecycle state.

*/ inline const LifeCycle& GetLifeCycle() const{ return m_lifeCycle; } /** *

Source server lifecycle state.

*/ inline void SetLifeCycle(const LifeCycle& value) { m_lifeCycle = value; } /** *

Source server lifecycle state.

*/ inline void SetLifeCycle(LifeCycle&& value) { m_lifeCycle = std::move(value); } /** *

Source server lifecycle state.

*/ inline MarkAsArchivedResult& WithLifeCycle(const LifeCycle& value) { SetLifeCycle(value); return *this;} /** *

Source server lifecycle state.

*/ inline MarkAsArchivedResult& WithLifeCycle(LifeCycle&& value) { SetLifeCycle(std::move(value)); return *this;} /** *

Source server replication type.

*/ inline const ReplicationType& GetReplicationType() const{ return m_replicationType; } /** *

Source server replication type.

*/ inline void SetReplicationType(const ReplicationType& value) { m_replicationType = value; } /** *

Source server replication type.

*/ inline void SetReplicationType(ReplicationType&& value) { m_replicationType = std::move(value); } /** *

Source server replication type.

*/ inline MarkAsArchivedResult& WithReplicationType(const ReplicationType& value) { SetReplicationType(value); return *this;} /** *

Source server replication type.

*/ inline MarkAsArchivedResult& WithReplicationType(ReplicationType&& value) { SetReplicationType(std::move(value)); return *this;} /** *

Source server properties.

*/ inline const SourceProperties& GetSourceProperties() const{ return m_sourceProperties; } /** *

Source server properties.

*/ inline void SetSourceProperties(const SourceProperties& value) { m_sourceProperties = value; } /** *

Source server properties.

*/ inline void SetSourceProperties(SourceProperties&& value) { m_sourceProperties = std::move(value); } /** *

Source server properties.

*/ inline MarkAsArchivedResult& WithSourceProperties(const SourceProperties& value) { SetSourceProperties(value); return *this;} /** *

Source server properties.

*/ inline MarkAsArchivedResult& WithSourceProperties(SourceProperties&& value) { SetSourceProperties(std::move(value)); return *this;} /** *

Source server ID.

*/ inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; } /** *

Source server ID.

*/ inline void SetSourceServerID(const Aws::String& value) { m_sourceServerID = value; } /** *

Source server ID.

*/ inline void SetSourceServerID(Aws::String&& value) { m_sourceServerID = std::move(value); } /** *

Source server ID.

*/ inline void SetSourceServerID(const char* value) { m_sourceServerID.assign(value); } /** *

Source server ID.

*/ inline MarkAsArchivedResult& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;} /** *

Source server ID.

*/ inline MarkAsArchivedResult& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;} /** *

Source server ID.

*/ inline MarkAsArchivedResult& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;} /** *

Source server Tags.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Source server Tags.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Source server Tags.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

Source server Tags.

*/ inline MarkAsArchivedResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Source server Tags.

*/ inline MarkAsArchivedResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Source server Tags.

*/ inline MarkAsArchivedResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Source server Tags.

*/ inline MarkAsArchivedResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Source server Tags.

*/ inline MarkAsArchivedResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Source server Tags.

*/ inline MarkAsArchivedResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Source server Tags.

*/ inline MarkAsArchivedResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Source server Tags.

*/ inline MarkAsArchivedResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Source server Tags.

*/ inline MarkAsArchivedResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

Source server user provided ID.

*/ inline const Aws::String& GetUserProvidedID() const{ return m_userProvidedID; } /** *

Source server user provided ID.

*/ inline void SetUserProvidedID(const Aws::String& value) { m_userProvidedID = value; } /** *

Source server user provided ID.

*/ inline void SetUserProvidedID(Aws::String&& value) { m_userProvidedID = std::move(value); } /** *

Source server user provided ID.

*/ inline void SetUserProvidedID(const char* value) { m_userProvidedID.assign(value); } /** *

Source server user provided ID.

*/ inline MarkAsArchivedResult& WithUserProvidedID(const Aws::String& value) { SetUserProvidedID(value); return *this;} /** *

Source server user provided ID.

*/ inline MarkAsArchivedResult& WithUserProvidedID(Aws::String&& value) { SetUserProvidedID(std::move(value)); return *this;} /** *

Source server user provided ID.

*/ inline MarkAsArchivedResult& WithUserProvidedID(const char* value) { SetUserProvidedID(value); return *this;} /** *

Source server vCenter client id.

*/ inline const Aws::String& GetVcenterClientID() const{ return m_vcenterClientID; } /** *

Source server vCenter client id.

*/ inline void SetVcenterClientID(const Aws::String& value) { m_vcenterClientID = value; } /** *

Source server vCenter client id.

*/ inline void SetVcenterClientID(Aws::String&& value) { m_vcenterClientID = std::move(value); } /** *

Source server vCenter client id.

*/ inline void SetVcenterClientID(const char* value) { m_vcenterClientID.assign(value); } /** *

Source server vCenter client id.

*/ inline MarkAsArchivedResult& WithVcenterClientID(const Aws::String& value) { SetVcenterClientID(value); return *this;} /** *

Source server vCenter client id.

*/ inline MarkAsArchivedResult& WithVcenterClientID(Aws::String&& value) { SetVcenterClientID(std::move(value)); return *this;} /** *

Source server vCenter client id.

*/ inline MarkAsArchivedResult& WithVcenterClientID(const char* value) { SetVcenterClientID(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline MarkAsArchivedResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline MarkAsArchivedResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline MarkAsArchivedResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationID; Aws::String m_arn; DataReplicationInfo m_dataReplicationInfo; Aws::String m_fqdnForActionFramework; bool m_isArchived; LaunchedInstance m_launchedInstance; LifeCycle m_lifeCycle; ReplicationType m_replicationType; SourceProperties m_sourceProperties; Aws::String m_sourceServerID; Aws::Map m_tags; Aws::String m_userProvidedID; Aws::String m_vcenterClientID; Aws::String m_requestId; }; } // namespace Model } // namespace mgn } // namespace Aws