AWS SDK for C++  1.9.109
AWS SDK for C++
CreateReturnShippingLabelResult.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 Snowball
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const ShippingLabelStatus& GetStatus() const{ return m_status; }
40 
45  inline void SetStatus(const ShippingLabelStatus& value) { m_status = value; }
46 
51  inline void SetStatus(ShippingLabelStatus&& value) { m_status = std::move(value); }
52 
57  inline CreateReturnShippingLabelResult& WithStatus(const ShippingLabelStatus& value) { SetStatus(value); return *this;}
58 
63  inline CreateReturnShippingLabelResult& WithStatus(ShippingLabelStatus&& value) { SetStatus(std::move(value)); return *this;}
64 
65  private:
66 
67  ShippingLabelStatus m_status;
68  };
69 
70 } // namespace Model
71 } // namespace Snowball
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::CreateReturnShippingLabelResult::GetStatus
const ShippingLabelStatus & GetStatus() const
Definition: CreateReturnShippingLabelResult.h:39
Aws::Snowball::Model::CreateReturnShippingLabelResult::SetStatus
void SetStatus(const ShippingLabelStatus &value)
Definition: CreateReturnShippingLabelResult.h:45
Aws::Snowball::Model::CreateReturnShippingLabelResult::CreateReturnShippingLabelResult
CreateReturnShippingLabelResult()
Aws::Snowball::Model::CreateReturnShippingLabelResult
Definition: CreateReturnShippingLabelResult.h:28
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
ShippingLabelStatus.h
Aws::Snowball::Model::CreateReturnShippingLabelResult::WithStatus
CreateReturnShippingLabelResult & WithStatus(const ShippingLabelStatus &value)
Definition: CreateReturnShippingLabelResult.h:57
Aws::Snowball::Model::CreateReturnShippingLabelResult::CreateReturnShippingLabelResult
CreateReturnShippingLabelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::CreateReturnShippingLabelResult::WithStatus
CreateReturnShippingLabelResult & WithStatus(ShippingLabelStatus &&value)
Definition: CreateReturnShippingLabelResult.h:63
Aws::Snowball::Model::CreateReturnShippingLabelResult::SetStatus
void SetStatus(ShippingLabelStatus &&value)
Definition: CreateReturnShippingLabelResult.h:51
Snowball_EXPORTS.h
Aws::Snowball::Model::ShippingLabelStatus
ShippingLabelStatus
Definition: ShippingLabelStatus.h:17
Aws::Snowball::Model::CreateReturnShippingLabelResult::operator=
CreateReturnShippingLabelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)