AWS SDK for C++  1.9.109
AWS SDK for C++
GetJobUnlockCodeResult.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 
40  inline const Aws::String& GetUnlockCode() const{ return m_unlockCode; }
41 
47  inline void SetUnlockCode(const Aws::String& value) { m_unlockCode = value; }
48 
54  inline void SetUnlockCode(Aws::String&& value) { m_unlockCode = std::move(value); }
55 
61  inline void SetUnlockCode(const char* value) { m_unlockCode.assign(value); }
62 
68  inline GetJobUnlockCodeResult& WithUnlockCode(const Aws::String& value) { SetUnlockCode(value); return *this;}
69 
75  inline GetJobUnlockCodeResult& WithUnlockCode(Aws::String&& value) { SetUnlockCode(std::move(value)); return *this;}
76 
82  inline GetJobUnlockCodeResult& WithUnlockCode(const char* value) { SetUnlockCode(value); return *this;}
83 
84  private:
85 
86  Aws::String m_unlockCode;
87  };
88 
89 } // namespace Model
90 } // namespace Snowball
91 } // namespace Aws
Aws::Snowball::Model::GetJobUnlockCodeResult::SetUnlockCode
void SetUnlockCode(const Aws::String &value)
Definition: GetJobUnlockCodeResult.h:47
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::GetJobUnlockCodeResult
Definition: GetJobUnlockCodeResult.h:28
Aws::Snowball::Model::GetJobUnlockCodeResult::WithUnlockCode
GetJobUnlockCodeResult & WithUnlockCode(Aws::String &&value)
Definition: GetJobUnlockCodeResult.h:75
Aws::Snowball::Model::GetJobUnlockCodeResult::WithUnlockCode
GetJobUnlockCodeResult & WithUnlockCode(const char *value)
Definition: GetJobUnlockCodeResult.h:82
Aws::Snowball::Model::GetJobUnlockCodeResult::GetUnlockCode
const Aws::String & GetUnlockCode() const
Definition: GetJobUnlockCodeResult.h:40
Aws::Snowball::Model::GetJobUnlockCodeResult::WithUnlockCode
GetJobUnlockCodeResult & WithUnlockCode(const Aws::String &value)
Definition: GetJobUnlockCodeResult.h:68
Aws::Snowball::Model::GetJobUnlockCodeResult::SetUnlockCode
void SetUnlockCode(Aws::String &&value)
Definition: GetJobUnlockCodeResult.h:54
Aws::Snowball::Model::GetJobUnlockCodeResult::operator=
GetJobUnlockCodeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::GetJobUnlockCodeResult::SetUnlockCode
void SetUnlockCode(const char *value)
Definition: GetJobUnlockCodeResult.h:61
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
AWSString.h
Aws::Snowball::Model::GetJobUnlockCodeResult::GetJobUnlockCodeResult
GetJobUnlockCodeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::GetJobUnlockCodeResult::GetJobUnlockCodeResult
GetJobUnlockCodeResult()
Snowball_EXPORTS.h