AWS SDK for C++  1.9.16
AWS SDK for C++
GetRegionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 
10 namespace Aws
11 {
12 namespace Lightsail
13 {
14 namespace Model
15 {
16 
20  {
21  public:
23 
24  // Service request name is the Operation name which will send this request out,
25  // each operation should has unique request name, so that we can get operation's name from this request.
26  // Note: this is not true for response, multiple operations may have the same response name,
27  // so we can not get operation's name from response.
28  inline virtual const char* GetServiceRequestName() const override { return "GetRegions"; }
29 
30  Aws::String SerializePayload() const override;
31 
33 
34 
40  inline bool GetIncludeAvailabilityZones() const{ return m_includeAvailabilityZones; }
41 
47  inline bool IncludeAvailabilityZonesHasBeenSet() const { return m_includeAvailabilityZonesHasBeenSet; }
48 
54  inline void SetIncludeAvailabilityZones(bool value) { m_includeAvailabilityZonesHasBeenSet = true; m_includeAvailabilityZones = value; }
55 
61  inline GetRegionsRequest& WithIncludeAvailabilityZones(bool value) { SetIncludeAvailabilityZones(value); return *this;}
62 
63 
69  inline bool GetIncludeRelationalDatabaseAvailabilityZones() const{ return m_includeRelationalDatabaseAvailabilityZones; }
70 
76  inline bool IncludeRelationalDatabaseAvailabilityZonesHasBeenSet() const { return m_includeRelationalDatabaseAvailabilityZonesHasBeenSet; }
77 
83  inline void SetIncludeRelationalDatabaseAvailabilityZones(bool value) { m_includeRelationalDatabaseAvailabilityZonesHasBeenSet = true; m_includeRelationalDatabaseAvailabilityZones = value; }
84 
90  inline GetRegionsRequest& WithIncludeRelationalDatabaseAvailabilityZones(bool value) { SetIncludeRelationalDatabaseAvailabilityZones(value); return *this;}
91 
92  private:
93 
94  bool m_includeAvailabilityZones;
95  bool m_includeAvailabilityZonesHasBeenSet;
96 
97  bool m_includeRelationalDatabaseAvailabilityZones;
98  bool m_includeRelationalDatabaseAvailabilityZonesHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace Lightsail
103 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::GetRegionsRequest::WithIncludeAvailabilityZones
GetRegionsRequest & WithIncludeAvailabilityZones(bool value)
Definition: GetRegionsRequest.h:61
Aws::Lightsail::Model::GetRegionsRequest
Definition: GetRegionsRequest.h:20
Aws::Lightsail::Model::GetRegionsRequest::SetIncludeRelationalDatabaseAvailabilityZones
void SetIncludeRelationalDatabaseAvailabilityZones(bool value)
Definition: GetRegionsRequest.h:83
LightsailRequest.h
Aws::Lightsail::Model::GetRegionsRequest::GetIncludeRelationalDatabaseAvailabilityZones
bool GetIncludeRelationalDatabaseAvailabilityZones() const
Definition: GetRegionsRequest.h:69
Aws::Lightsail::Model::GetRegionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::GetRegionsRequest::WithIncludeRelationalDatabaseAvailabilityZones
GetRegionsRequest & WithIncludeRelationalDatabaseAvailabilityZones(bool value)
Definition: GetRegionsRequest.h:90
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRegionsRequest::IncludeRelationalDatabaseAvailabilityZonesHasBeenSet
bool IncludeRelationalDatabaseAvailabilityZonesHasBeenSet() const
Definition: GetRegionsRequest.h:76
Aws::Lightsail::Model::GetRegionsRequest::GetRegionsRequest
GetRegionsRequest()
Aws::Lightsail::Model::GetRegionsRequest::GetIncludeAvailabilityZones
bool GetIncludeAvailabilityZones() const
Definition: GetRegionsRequest.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetRegionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRegionsRequest.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetRegionsRequest::SetIncludeAvailabilityZones
void SetIncludeAvailabilityZones(bool value)
Definition: GetRegionsRequest.h:54
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetRegionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::GetRegionsRequest::IncludeAvailabilityZonesHasBeenSet
bool IncludeAvailabilityZonesHasBeenSet() const
Definition: GetRegionsRequest.h:47