AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
46 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
47 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
48 inline DescribeServiceErrorsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
49 inline DescribeServiceErrorsRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
50 inline DescribeServiceErrorsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
52
54
59 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
60 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
61 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
62 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
63 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 inline DescribeServiceErrorsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
65 inline DescribeServiceErrorsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
66 inline DescribeServiceErrorsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
68
70
75 inline const Aws::Vector<Aws::String>& GetServiceErrorIds() const{ return m_serviceErrorIds; }
76 inline bool ServiceErrorIdsHasBeenSet() const { return m_serviceErrorIdsHasBeenSet; }
77 inline void SetServiceErrorIds(const Aws::Vector<Aws::String>& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds = value; }
78 inline void SetServiceErrorIds(Aws::Vector<Aws::String>&& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds = std::move(value); }
81 inline DescribeServiceErrorsRequest& AddServiceErrorIds(const Aws::String& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds.push_back(value); return *this; }
82 inline DescribeServiceErrorsRequest& AddServiceErrorIds(Aws::String&& value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds.push_back(std::move(value)); return *this; }
83 inline DescribeServiceErrorsRequest& AddServiceErrorIds(const char* value) { m_serviceErrorIdsHasBeenSet = true; m_serviceErrorIds.push_back(value); return *this; }
85 private:
86
87 Aws::String m_stackId;
88 bool m_stackIdHasBeenSet = false;
89
90 Aws::String m_instanceId;
91 bool m_instanceIdHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_serviceErrorIds;
94 bool m_serviceErrorIdsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace OpsWorks
99} // namespace Aws
DescribeServiceErrorsRequest & WithInstanceId(const char *value)
DescribeServiceErrorsRequest & WithStackId(const Aws::String &value)
DescribeServiceErrorsRequest & AddServiceErrorIds(Aws::String &&value)
DescribeServiceErrorsRequest & WithServiceErrorIds(const Aws::Vector< Aws::String > &value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
DescribeServiceErrorsRequest & WithInstanceId(Aws::String &&value)
DescribeServiceErrorsRequest & WithStackId(const char *value)
DescribeServiceErrorsRequest & AddServiceErrorIds(const Aws::String &value)
DescribeServiceErrorsRequest & WithStackId(Aws::String &&value)
DescribeServiceErrorsRequest & WithInstanceId(const Aws::String &value)
void SetServiceErrorIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetServiceErrorIds() const
void SetServiceErrorIds(const Aws::Vector< Aws::String > &value)
DescribeServiceErrorsRequest & AddServiceErrorIds(const char *value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeServiceErrorsRequest & WithServiceErrorIds(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