AWS SDK for C++  1.9.103
AWS SDK for C++
CreateLongTermPricingResult.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 
38  inline const Aws::String& GetLongTermPricingId() const{ return m_longTermPricingId; }
39 
43  inline void SetLongTermPricingId(const Aws::String& value) { m_longTermPricingId = value; }
44 
48  inline void SetLongTermPricingId(Aws::String&& value) { m_longTermPricingId = std::move(value); }
49 
53  inline void SetLongTermPricingId(const char* value) { m_longTermPricingId.assign(value); }
54 
58  inline CreateLongTermPricingResult& WithLongTermPricingId(const Aws::String& value) { SetLongTermPricingId(value); return *this;}
59 
63  inline CreateLongTermPricingResult& WithLongTermPricingId(Aws::String&& value) { SetLongTermPricingId(std::move(value)); return *this;}
64 
68  inline CreateLongTermPricingResult& WithLongTermPricingId(const char* value) { SetLongTermPricingId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_longTermPricingId;
73  };
74 
75 } // namespace Model
76 } // namespace Snowball
77 } // namespace Aws
Aws::Snowball::Model::CreateLongTermPricingResult::WithLongTermPricingId
CreateLongTermPricingResult & WithLongTermPricingId(Aws::String &&value)
Definition: CreateLongTermPricingResult.h:63
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::CreateLongTermPricingResult::SetLongTermPricingId
void SetLongTermPricingId(const Aws::String &value)
Definition: CreateLongTermPricingResult.h:43
Aws::Snowball::Model::CreateLongTermPricingResult::WithLongTermPricingId
CreateLongTermPricingResult & WithLongTermPricingId(const Aws::String &value)
Definition: CreateLongTermPricingResult.h:58
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::CreateLongTermPricingResult::WithLongTermPricingId
CreateLongTermPricingResult & WithLongTermPricingId(const char *value)
Definition: CreateLongTermPricingResult.h:68
Aws::Snowball::Model::CreateLongTermPricingResult::SetLongTermPricingId
void SetLongTermPricingId(const char *value)
Definition: CreateLongTermPricingResult.h:53
Aws::Snowball::Model::CreateLongTermPricingResult::GetLongTermPricingId
const Aws::String & GetLongTermPricingId() const
Definition: CreateLongTermPricingResult.h:38
AWSString.h
Aws::Snowball::Model::CreateLongTermPricingResult::CreateLongTermPricingResult
CreateLongTermPricingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::CreateLongTermPricingResult::operator=
CreateLongTermPricingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::CreateLongTermPricingResult::CreateLongTermPricingResult
CreateLongTermPricingResult()
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::CreateLongTermPricingResult
Definition: CreateLongTermPricingResult.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::CreateLongTermPricingResult::SetLongTermPricingId
void SetLongTermPricingId(Aws::String &&value)
Definition: CreateLongTermPricingResult.h:48
Snowball_EXPORTS.h