AWS SDK for C++  1.9.108
AWS SDK for C++
RegisterElasticIpResult.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 OpsWorks
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
45 
49  inline void SetElasticIp(const Aws::String& value) { m_elasticIp = value; }
50 
54  inline void SetElasticIp(Aws::String&& value) { m_elasticIp = std::move(value); }
55 
59  inline void SetElasticIp(const char* value) { m_elasticIp.assign(value); }
60 
64  inline RegisterElasticIpResult& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
65 
69  inline RegisterElasticIpResult& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
70 
74  inline RegisterElasticIpResult& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
75 
76  private:
77 
78  Aws::String m_elasticIp;
79  };
80 
81 } // namespace Model
82 } // namespace OpsWorks
83 } // namespace Aws
Aws::OpsWorks::Model::RegisterElasticIpResult::GetElasticIp
const Aws::String & GetElasticIp() const
Definition: RegisterElasticIpResult.h:44
Aws::OpsWorks::Model::RegisterElasticIpResult::WithElasticIp
RegisterElasticIpResult & WithElasticIp(const Aws::String &value)
Definition: RegisterElasticIpResult.h:64
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::RegisterElasticIpResult
Definition: RegisterElasticIpResult.h:34
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::RegisterElasticIpResult::operator=
RegisterElasticIpResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::RegisterElasticIpResult::SetElasticIp
void SetElasticIp(Aws::String &&value)
Definition: RegisterElasticIpResult.h:54
Aws::OpsWorks::Model::RegisterElasticIpResult::WithElasticIp
RegisterElasticIpResult & WithElasticIp(const char *value)
Definition: RegisterElasticIpResult.h:74
AWSString.h
Aws::OpsWorks::Model::RegisterElasticIpResult::RegisterElasticIpResult
RegisterElasticIpResult()
Aws::OpsWorks::Model::RegisterElasticIpResult::RegisterElasticIpResult
RegisterElasticIpResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::RegisterElasticIpResult::SetElasticIp
void SetElasticIp(const Aws::String &value)
Definition: RegisterElasticIpResult.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::RegisterElasticIpResult::WithElasticIp
RegisterElasticIpResult & WithElasticIp(Aws::String &&value)
Definition: RegisterElasticIpResult.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::RegisterElasticIpResult::SetElasticIp
void SetElasticIp(const char *value)
Definition: RegisterElasticIpResult.h:59