AWS SDK for C++  1.9.153
AWS SDK for C++
UpdatePortalResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTSiteWise
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const PortalStatus& GetPortalStatus() const{ return m_portalStatus; }
40 
45  inline void SetPortalStatus(const PortalStatus& value) { m_portalStatus = value; }
46 
51  inline void SetPortalStatus(PortalStatus&& value) { m_portalStatus = std::move(value); }
52 
57  inline UpdatePortalResult& WithPortalStatus(const PortalStatus& value) { SetPortalStatus(value); return *this;}
58 
63  inline UpdatePortalResult& WithPortalStatus(PortalStatus&& value) { SetPortalStatus(std::move(value)); return *this;}
64 
65  private:
66 
67  PortalStatus m_portalStatus;
68  };
69 
70 } // namespace Model
71 } // namespace IoTSiteWise
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::UpdatePortalResult::operator=
UpdatePortalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::UpdatePortalResult::UpdatePortalResult
UpdatePortalResult()
Aws::IoTSiteWise::Model::UpdatePortalResult::SetPortalStatus
void SetPortalStatus(const PortalStatus &value)
Definition: UpdatePortalResult.h:45
Aws::IoTSiteWise::Model::UpdatePortalResult::SetPortalStatus
void SetPortalStatus(PortalStatus &&value)
Definition: UpdatePortalResult.h:51
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::UpdatePortalResult::GetPortalStatus
const PortalStatus & GetPortalStatus() const
Definition: UpdatePortalResult.h:39
Aws::IoTSiteWise::Model::UpdatePortalResult
Definition: UpdatePortalResult.h:28
Aws::IoTSiteWise::Model::UpdatePortalResult::UpdatePortalResult
UpdatePortalResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PortalStatus.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::PortalStatus
Definition: PortalStatus.h:34
Aws::IoTSiteWise::Model::UpdatePortalResult::WithPortalStatus
UpdatePortalResult & WithPortalStatus(PortalStatus &&value)
Definition: UpdatePortalResult.h:63
Aws::IoTSiteWise::Model::UpdatePortalResult::WithPortalStatus
UpdatePortalResult & WithPortalStatus(const PortalStatus &value)
Definition: UpdatePortalResult.h:57