AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeServiceErrorsRequest.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 DescribeServiceErrorsRequest() = default;
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_OPSWORKS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetStackId() const { return m_stackId; }
44 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
45 template<typename StackIdT = Aws::String>
46 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet = true; m_stackId = std::forward<StackIdT>(value); }
47 template<typename StackIdT = Aws::String>
48 DescribeServiceErrorsRequest& WithStackId(StackIdT&& value) { SetStackId(std::forward<StackIdT>(value)); return *this;}
50
52
57 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
58 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
59 template<typename InstanceIdT = Aws::String>
60 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
61 template<typename InstanceIdT = Aws::String>
62 DescribeServiceErrorsRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
64
66
71 inline const Aws::Vector<Aws::String>& GetServiceErrorIds() const { return m_serviceErrorIds; }
72 inline bool ServiceErrorIdsHasBeenSet() const { return m_serviceErrorIdsHasBeenSet; }
73 template<typename ServiceErrorIdsT = Aws::Vector<Aws::String>>
74 void SetServiceErrorIds(ServiceErrorIdsT&& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds = std::forward<ServiceErrorIdsT>(value); }
75 template<typename ServiceErrorIdsT = Aws::Vector<Aws::String>>
76 DescribeServiceErrorsRequest& WithServiceErrorIds(ServiceErrorIdsT&& value) { SetServiceErrorIds(std::forward<ServiceErrorIdsT>(value)); return *this;}
77 template<typename ServiceErrorIdsT = Aws::String>
78 DescribeServiceErrorsRequest& AddServiceErrorIds(ServiceErrorIdsT&& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds.emplace_back(std::forward<ServiceErrorIdsT>(value)); return *this; }
80 private:
81
82 Aws::String m_stackId;
83 bool m_stackIdHasBeenSet = false;
84
85 Aws::String m_instanceId;
86 bool m_instanceIdHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_serviceErrorIds;
89 bool m_serviceErrorIdsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace OpsWorks
94} // namespace Aws
DescribeServiceErrorsRequest & WithStackId(StackIdT &&value)
DescribeServiceErrorsRequest & AddServiceErrorIds(ServiceErrorIdsT &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
DescribeServiceErrorsRequest & WithInstanceId(InstanceIdT &&value)
AWS_OPSWORKS_API DescribeServiceErrorsRequest()=default
const Aws::Vector< Aws::String > & GetServiceErrorIds() const
DescribeServiceErrorsRequest & WithServiceErrorIds(ServiceErrorIdsT &&value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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