AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeRaidArraysRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace OpsWorks
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "DescribeRaidArrays"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 
50  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
51 
57  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
58 
64  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
65 
71  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
72 
78  inline DescribeRaidArraysRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
79 
85  inline DescribeRaidArraysRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
86 
92  inline DescribeRaidArraysRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
93 
94 
98  inline const Aws::String& GetStackId() const{ return m_stackId; }
99 
103  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
104 
108  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
109 
113  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
114 
118  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
119 
123  inline DescribeRaidArraysRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
124 
128  inline DescribeRaidArraysRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
129 
133  inline DescribeRaidArraysRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
134 
135 
141  inline const Aws::Vector<Aws::String>& GetRaidArrayIds() const{ return m_raidArrayIds; }
142 
148  inline bool RaidArrayIdsHasBeenSet() const { return m_raidArrayIdsHasBeenSet; }
149 
155  inline void SetRaidArrayIds(const Aws::Vector<Aws::String>& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds = value; }
156 
162  inline void SetRaidArrayIds(Aws::Vector<Aws::String>&& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds = std::move(value); }
163 
169  inline DescribeRaidArraysRequest& WithRaidArrayIds(const Aws::Vector<Aws::String>& value) { SetRaidArrayIds(value); return *this;}
170 
176  inline DescribeRaidArraysRequest& WithRaidArrayIds(Aws::Vector<Aws::String>&& value) { SetRaidArrayIds(std::move(value)); return *this;}
177 
183  inline DescribeRaidArraysRequest& AddRaidArrayIds(const Aws::String& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(value); return *this; }
184 
190  inline DescribeRaidArraysRequest& AddRaidArrayIds(Aws::String&& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(std::move(value)); return *this; }
191 
197  inline DescribeRaidArraysRequest& AddRaidArrayIds(const char* value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(value); return *this; }
198 
199  private:
200 
201  Aws::String m_instanceId;
202  bool m_instanceIdHasBeenSet;
203 
204  Aws::String m_stackId;
205  bool m_stackIdHasBeenSet;
206 
207  Aws::Vector<Aws::String> m_raidArrayIds;
208  bool m_raidArrayIdsHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace OpsWorks
213 } // namespace Aws
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DescribeRaidArraysRequest.h:64
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::OpsWorks::Model::DescribeRaidArraysRequest::WithInstanceId
DescribeRaidArraysRequest & WithInstanceId(const Aws::String &value)
Definition: DescribeRaidArraysRequest.h:78
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::DescribeRaidArraysRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DescribeRaidArraysRequest.h:50
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeRaidArraysRequest::WithStackId
DescribeRaidArraysRequest & WithStackId(const char *value)
Definition: DescribeRaidArraysRequest.h:133
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SetRaidArrayIds
void SetRaidArrayIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeRaidArraysRequest.h:155
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::OpsWorks::Model::DescribeRaidArraysRequest::GetStackId
const Aws::String & GetStackId() const
Definition: DescribeRaidArraysRequest.h:98
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DescribeRaidArraysRequest.h:57
Aws::OpsWorks::Model::DescribeRaidArraysRequest
Definition: DescribeRaidArraysRequest.h:23
Aws::OpsWorks::Model::DescribeRaidArraysRequest::WithStackId
DescribeRaidArraysRequest & WithStackId(const Aws::String &value)
Definition: DescribeRaidArraysRequest.h:123
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SetStackId
void SetStackId(const char *value)
Definition: DescribeRaidArraysRequest.h:118
OpsWorksRequest.h
Aws::OpsWorks::Model::DescribeRaidArraysRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DescribeRaidArraysRequest.h:43
Aws::OpsWorks::Model::DescribeRaidArraysRequest::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: DescribeRaidArraysRequest.h:103
AWSString.h
Aws::OpsWorks::Model::DescribeRaidArraysRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeRaidArraysRequest.h:31
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DescribeRaidArraysRequest.h:71
Aws::OpsWorks::Model::DescribeRaidArraysRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SetRaidArrayIds
void SetRaidArrayIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeRaidArraysRequest.h:162
Aws::OpsWorks::Model::DescribeRaidArraysRequest::WithRaidArrayIds
DescribeRaidArraysRequest & WithRaidArrayIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeRaidArraysRequest.h:176
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeRaidArraysRequest::DescribeRaidArraysRequest
DescribeRaidArraysRequest()
Aws::OpsWorks::Model::DescribeRaidArraysRequest::WithRaidArrayIds
DescribeRaidArraysRequest & WithRaidArrayIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeRaidArraysRequest.h:169
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DescribeRaidArraysRequest::AddRaidArrayIds
DescribeRaidArraysRequest & AddRaidArrayIds(const char *value)
Definition: DescribeRaidArraysRequest.h:197
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SetStackId
void SetStackId(Aws::String &&value)
Definition: DescribeRaidArraysRequest.h:113
Aws::OpsWorks::Model::DescribeRaidArraysRequest::WithStackId
DescribeRaidArraysRequest & WithStackId(Aws::String &&value)
Definition: DescribeRaidArraysRequest.h:128
Aws::OpsWorks::Model::DescribeRaidArraysRequest::SetStackId
void SetStackId(const Aws::String &value)
Definition: DescribeRaidArraysRequest.h:108
Aws::OpsWorks::Model::DescribeRaidArraysRequest::AddRaidArrayIds
DescribeRaidArraysRequest & AddRaidArrayIds(Aws::String &&value)
Definition: DescribeRaidArraysRequest.h:190
Aws::OpsWorks::Model::DescribeRaidArraysRequest::AddRaidArrayIds
DescribeRaidArraysRequest & AddRaidArrayIds(const Aws::String &value)
Definition: DescribeRaidArraysRequest.h:183
Aws::OpsWorks::Model::DescribeRaidArraysRequest::WithInstanceId
DescribeRaidArraysRequest & WithInstanceId(Aws::String &&value)
Definition: DescribeRaidArraysRequest.h:85
Aws::OpsWorks::Model::DescribeRaidArraysRequest::RaidArrayIdsHasBeenSet
bool RaidArrayIdsHasBeenSet() const
Definition: DescribeRaidArraysRequest.h:148
Aws::OpsWorks::Model::DescribeRaidArraysRequest::GetRaidArrayIds
const Aws::Vector< Aws::String > & GetRaidArrayIds() const
Definition: DescribeRaidArraysRequest.h:141
Aws::OpsWorks::Model::DescribeRaidArraysRequest::WithInstanceId
DescribeRaidArraysRequest & WithInstanceId(const char *value)
Definition: DescribeRaidArraysRequest.h:92