AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterElasticIpResult.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace OpsWorks
24{
25namespace Model
26{
34 {
35 public:
36 AWS_OPSWORKS_API RegisterElasticIpResult();
39
40
42
45 inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
46 inline void SetElasticIp(const Aws::String& value) { m_elasticIp = value; }
47 inline void SetElasticIp(Aws::String&& value) { m_elasticIp = std::move(value); }
48 inline void SetElasticIp(const char* value) { m_elasticIp.assign(value); }
49 inline RegisterElasticIpResult& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
50 inline RegisterElasticIpResult& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
51 inline RegisterElasticIpResult& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
53
55
56 inline const Aws::String& GetRequestId() const{ return m_requestId; }
57 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
58 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
59 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline RegisterElasticIpResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline RegisterElasticIpResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline RegisterElasticIpResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
66 Aws::String m_elasticIp;
67
68 Aws::String m_requestId;
69 };
70
71} // namespace Model
72} // namespace OpsWorks
73} // namespace Aws
RegisterElasticIpResult & WithRequestId(const char *value)
AWS_OPSWORKS_API RegisterElasticIpResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterElasticIpResult & WithElasticIp(const char *value)
RegisterElasticIpResult & WithRequestId(const Aws::String &value)
RegisterElasticIpResult & WithRequestId(Aws::String &&value)
RegisterElasticIpResult & WithElasticIp(const Aws::String &value)
RegisterElasticIpResult & WithElasticIp(Aws::String &&value)
AWS_OPSWORKS_API RegisterElasticIpResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue