AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeElasticIpsResult.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opsworks/model/ElasticIp.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace OpsWorks
26{
27namespace Model
28{
36 {
37 public:
38 AWS_OPSWORKS_API DescribeElasticIpsResult();
41
42
44
48 inline const Aws::Vector<ElasticIp>& GetElasticIps() const{ return m_elasticIps; }
49 inline void SetElasticIps(const Aws::Vector<ElasticIp>& value) { m_elasticIps = value; }
50 inline void SetElasticIps(Aws::Vector<ElasticIp>&& value) { m_elasticIps = std::move(value); }
51 inline DescribeElasticIpsResult& WithElasticIps(const Aws::Vector<ElasticIp>& value) { SetElasticIps(value); return *this;}
52 inline DescribeElasticIpsResult& WithElasticIps(Aws::Vector<ElasticIp>&& value) { SetElasticIps(std::move(value)); return *this;}
53 inline DescribeElasticIpsResult& AddElasticIps(const ElasticIp& value) { m_elasticIps.push_back(value); return *this; }
54 inline DescribeElasticIpsResult& AddElasticIps(ElasticIp&& value) { m_elasticIps.push_back(std::move(value)); return *this; }
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline DescribeElasticIpsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline DescribeElasticIpsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline DescribeElasticIpsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Aws::Vector<ElasticIp> m_elasticIps;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace OpsWorks
76} // namespace Aws
AWS_OPSWORKS_API DescribeElasticIpsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPSWORKS_API DescribeElasticIpsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetElasticIps(const Aws::Vector< ElasticIp > &value)
DescribeElasticIpsResult & WithRequestId(const Aws::String &value)
void SetElasticIps(Aws::Vector< ElasticIp > &&value)
DescribeElasticIpsResult & AddElasticIps(ElasticIp &&value)
DescribeElasticIpsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< ElasticIp > & GetElasticIps() const
DescribeElasticIpsResult & WithElasticIps(const Aws::Vector< ElasticIp > &value)
DescribeElasticIpsResult & AddElasticIps(const ElasticIp &value)
DescribeElasticIpsResult & WithElasticIps(Aws::Vector< ElasticIp > &&value)
DescribeElasticIpsResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue