AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeElasticIpsRequest.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpsWorks
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPSWORKS_API DescribeElasticIpsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeElasticIps"; }
32
33 AWS_OPSWORKS_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
47 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
48 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline DescribeElasticIpsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
50 inline DescribeElasticIpsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
51 inline DescribeElasticIpsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
53
55
60 inline const Aws::String& GetStackId() const{ return m_stackId; }
61 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
62 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
63 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
64 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
65 inline DescribeElasticIpsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
66 inline DescribeElasticIpsRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
67 inline DescribeElasticIpsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
69
71
77 inline const Aws::Vector<Aws::String>& GetIps() const{ return m_ips; }
78 inline bool IpsHasBeenSet() const { return m_ipsHasBeenSet; }
79 inline void SetIps(const Aws::Vector<Aws::String>& value) { m_ipsHasBeenSet = true; m_ips = value; }
80 inline void SetIps(Aws::Vector<Aws::String>&& value) { m_ipsHasBeenSet = true; m_ips = std::move(value); }
81 inline DescribeElasticIpsRequest& WithIps(const Aws::Vector<Aws::String>& value) { SetIps(value); return *this;}
82 inline DescribeElasticIpsRequest& WithIps(Aws::Vector<Aws::String>&& value) { SetIps(std::move(value)); return *this;}
83 inline DescribeElasticIpsRequest& AddIps(const Aws::String& value) { m_ipsHasBeenSet = true; m_ips.push_back(value); return *this; }
84 inline DescribeElasticIpsRequest& AddIps(Aws::String&& value) { m_ipsHasBeenSet = true; m_ips.push_back(std::move(value)); return *this; }
85 inline DescribeElasticIpsRequest& AddIps(const char* value) { m_ipsHasBeenSet = true; m_ips.push_back(value); return *this; }
87 private:
88
89 Aws::String m_instanceId;
90 bool m_instanceIdHasBeenSet = false;
91
92 Aws::String m_stackId;
93 bool m_stackIdHasBeenSet = false;
94
96 bool m_ipsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace OpsWorks
101} // namespace Aws
AWS_OPSWORKS_API Aws::String SerializePayload() const override
DescribeElasticIpsRequest & WithStackId(const char *value)
DescribeElasticIpsRequest & AddIps(Aws::String &&value)
DescribeElasticIpsRequest & WithStackId(Aws::String &&value)
DescribeElasticIpsRequest & WithIps(Aws::Vector< Aws::String > &&value)
DescribeElasticIpsRequest & WithInstanceId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetIps() const
void SetIps(Aws::Vector< Aws::String > &&value)
DescribeElasticIpsRequest & AddIps(const Aws::String &value)
DescribeElasticIpsRequest & WithInstanceId(Aws::String &&value)
DescribeElasticIpsRequest & WithStackId(const Aws::String &value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeElasticIpsRequest & AddIps(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeElasticIpsRequest & WithInstanceId(const char *value)
DescribeElasticIpsRequest & WithIps(const Aws::Vector< Aws::String > &value)
void SetIps(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector