AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeReturnShippingLabelResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Snowball
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const ShippingLabelStatus& GetStatus() const{ return m_status; }
41 
46  inline void SetStatus(const ShippingLabelStatus& value) { m_status = value; }
47 
52  inline void SetStatus(ShippingLabelStatus&& value) { m_status = std::move(value); }
53 
58  inline DescribeReturnShippingLabelResult& WithStatus(const ShippingLabelStatus& value) { SetStatus(value); return *this;}
59 
64  inline DescribeReturnShippingLabelResult& WithStatus(ShippingLabelStatus&& value) { SetStatus(std::move(value)); return *this;}
65 
66 
70  inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
71 
75  inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDate = value; }
76 
80  inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDate = std::move(value); }
81 
85  inline DescribeReturnShippingLabelResult& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
86 
90  inline DescribeReturnShippingLabelResult& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
91 
92  private:
93 
94  ShippingLabelStatus m_status;
95 
96  Aws::Utils::DateTime m_expirationDate;
97  };
98 
99 } // namespace Model
100 } // namespace Snowball
101 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
DateTime.h
Aws::Snowball::Model::DescribeReturnShippingLabelResult::operator=
DescribeReturnShippingLabelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::DescribeReturnShippingLabelResult::SetExpirationDate
void SetExpirationDate(Aws::Utils::DateTime &&value)
Definition: DescribeReturnShippingLabelResult.h:80
Aws::Snowball::Model::DescribeReturnShippingLabelResult::SetExpirationDate
void SetExpirationDate(const Aws::Utils::DateTime &value)
Definition: DescribeReturnShippingLabelResult.h:75
Aws::Snowball::Model::DescribeReturnShippingLabelResult::WithExpirationDate
DescribeReturnShippingLabelResult & WithExpirationDate(const Aws::Utils::DateTime &value)
Definition: DescribeReturnShippingLabelResult.h:85
Aws::Snowball::Model::DescribeReturnShippingLabelResult::SetStatus
void SetStatus(ShippingLabelStatus &&value)
Definition: DescribeReturnShippingLabelResult.h:52
Aws::Snowball::Model::DescribeReturnShippingLabelResult::WithExpirationDate
DescribeReturnShippingLabelResult & WithExpirationDate(Aws::Utils::DateTime &&value)
Definition: DescribeReturnShippingLabelResult.h:90
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::DescribeReturnShippingLabelResult::GetStatus
const ShippingLabelStatus & GetStatus() const
Definition: DescribeReturnShippingLabelResult.h:40
Aws::Snowball::Model::DescribeReturnShippingLabelResult
Definition: DescribeReturnShippingLabelResult.h:29
Aws::Snowball::Model::DescribeReturnShippingLabelResult::GetExpirationDate
const Aws::Utils::DateTime & GetExpirationDate() const
Definition: DescribeReturnShippingLabelResult.h:70
ShippingLabelStatus.h
Aws::Snowball::Model::DescribeReturnShippingLabelResult::SetStatus
void SetStatus(const ShippingLabelStatus &value)
Definition: DescribeReturnShippingLabelResult.h:46
Aws::Snowball::Model::DescribeReturnShippingLabelResult::DescribeReturnShippingLabelResult
DescribeReturnShippingLabelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::DescribeReturnShippingLabelResult::WithStatus
DescribeReturnShippingLabelResult & WithStatus(ShippingLabelStatus &&value)
Definition: DescribeReturnShippingLabelResult.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::DescribeReturnShippingLabelResult::WithStatus
DescribeReturnShippingLabelResult & WithStatus(const ShippingLabelStatus &value)
Definition: DescribeReturnShippingLabelResult.h:58
Snowball_EXPORTS.h
Aws::Snowball::Model::ShippingLabelStatus
ShippingLabelStatus
Definition: ShippingLabelStatus.h:17
Aws::Snowball::Model::DescribeReturnShippingLabelResult::DescribeReturnShippingLabelResult
DescribeReturnShippingLabelResult()