AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeServiceErrorsRequest.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 "DescribeServiceErrors"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetStackId() const{ return m_stackId; }
43 
48  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
49 
54  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
55 
60  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
61 
66  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
67 
72  inline DescribeServiceErrorsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
73 
78  inline DescribeServiceErrorsRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
79 
84  inline DescribeServiceErrorsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
85 
86 
92  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
93 
99  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
100 
106  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
107 
113  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
114 
120  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
121 
127  inline DescribeServiceErrorsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
128 
134  inline DescribeServiceErrorsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
135 
141  inline DescribeServiceErrorsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
142 
143 
149  inline const Aws::Vector<Aws::String>& GetServiceErrorIds() const{ return m_serviceErrorIds; }
150 
156  inline bool ServiceErrorIdsHasBeenSet() const { return m_serviceErrorIdsHasBeenSet; }
157 
163  inline void SetServiceErrorIds(const Aws::Vector<Aws::String>& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds = value; }
164 
170  inline void SetServiceErrorIds(Aws::Vector<Aws::String>&& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds = std::move(value); }
171 
177  inline DescribeServiceErrorsRequest& WithServiceErrorIds(const Aws::Vector<Aws::String>& value) { SetServiceErrorIds(value); return *this;}
178 
184  inline DescribeServiceErrorsRequest& WithServiceErrorIds(Aws::Vector<Aws::String>&& value) { SetServiceErrorIds(std::move(value)); return *this;}
185 
191  inline DescribeServiceErrorsRequest& AddServiceErrorIds(const Aws::String& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds.push_back(value); return *this; }
192 
198  inline DescribeServiceErrorsRequest& AddServiceErrorIds(Aws::String&& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds.push_back(std::move(value)); return *this; }
199 
205  inline DescribeServiceErrorsRequest& AddServiceErrorIds(const char* value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds.push_back(value); return *this; }
206 
207  private:
208 
209  Aws::String m_stackId;
210  bool m_stackIdHasBeenSet;
211 
212  Aws::String m_instanceId;
213  bool m_instanceIdHasBeenSet;
214 
215  Aws::Vector<Aws::String> m_serviceErrorIds;
216  bool m_serviceErrorIdsHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace OpsWorks
221 } // namespace Aws
Aws::OpsWorks::Model::DescribeServiceErrorsRequest
Definition: DescribeServiceErrorsRequest.h:23
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::WithInstanceId
DescribeServiceErrorsRequest & WithInstanceId(Aws::String &&value)
Definition: DescribeServiceErrorsRequest.h:134
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SetStackId
void SetStackId(const Aws::String &value)
Definition: DescribeServiceErrorsRequest.h:54
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::WithStackId
DescribeServiceErrorsRequest & WithStackId(const char *value)
Definition: DescribeServiceErrorsRequest.h:84
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::GetServiceErrorIds
const Aws::Vector< Aws::String > & GetServiceErrorIds() const
Definition: DescribeServiceErrorsRequest.h:149
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::WithServiceErrorIds
DescribeServiceErrorsRequest & WithServiceErrorIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeServiceErrorsRequest.h:177
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::DescribeServiceErrorsRequest
DescribeServiceErrorsRequest()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::AddServiceErrorIds
DescribeServiceErrorsRequest & AddServiceErrorIds(const Aws::String &value)
Definition: DescribeServiceErrorsRequest.h:191
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::WithServiceErrorIds
DescribeServiceErrorsRequest & WithServiceErrorIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeServiceErrorsRequest.h:184
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SetStackId
void SetStackId(Aws::String &&value)
Definition: DescribeServiceErrorsRequest.h:60
OpsWorksRequest.h
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SetStackId
void SetStackId(const char *value)
Definition: DescribeServiceErrorsRequest.h:66
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::ServiceErrorIdsHasBeenSet
bool ServiceErrorIdsHasBeenSet() const
Definition: DescribeServiceErrorsRequest.h:156
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DescribeServiceErrorsRequest.h:92
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DescribeServiceErrorsRequest.h:106
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::AddServiceErrorIds
DescribeServiceErrorsRequest & AddServiceErrorIds(Aws::String &&value)
Definition: DescribeServiceErrorsRequest.h:198
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::WithStackId
DescribeServiceErrorsRequest & WithStackId(const Aws::String &value)
Definition: DescribeServiceErrorsRequest.h:72
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeServiceErrorsRequest.h:31
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SetServiceErrorIds
void SetServiceErrorIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeServiceErrorsRequest.h:163
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::GetStackId
const Aws::String & GetStackId() const
Definition: DescribeServiceErrorsRequest.h:42
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DescribeServiceErrorsRequest.h:120
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::WithInstanceId
DescribeServiceErrorsRequest & WithInstanceId(const Aws::String &value)
Definition: DescribeServiceErrorsRequest.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SetServiceErrorIds
void SetServiceErrorIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeServiceErrorsRequest.h:170
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::AddServiceErrorIds
DescribeServiceErrorsRequest & AddServiceErrorIds(const char *value)
Definition: DescribeServiceErrorsRequest.h:205
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::WithStackId
DescribeServiceErrorsRequest & WithStackId(Aws::String &&value)
Definition: DescribeServiceErrorsRequest.h:78
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DescribeServiceErrorsRequest.h:99
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DescribeServiceErrorsRequest.h:113
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: DescribeServiceErrorsRequest.h:48
Aws::OpsWorks::Model::DescribeServiceErrorsRequest::WithInstanceId
DescribeServiceErrorsRequest & WithInstanceId(const char *value)
Definition: DescribeServiceErrorsRequest.h:141