AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRaidArraysRequest.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 DescribeRaidArraysRequest();
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_OPSWORKS_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
47 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
48 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline DescribeRaidArraysRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
50 inline DescribeRaidArraysRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
51 inline DescribeRaidArraysRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
53
55
58 inline const Aws::String& GetStackId() const{ return m_stackId; }
59 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
60 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
61 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
62 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
63 inline DescribeRaidArraysRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
64 inline DescribeRaidArraysRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
65 inline DescribeRaidArraysRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
67
69
74 inline const Aws::Vector<Aws::String>& GetRaidArrayIds() const{ return m_raidArrayIds; }
75 inline bool RaidArrayIdsHasBeenSet() const { return m_raidArrayIdsHasBeenSet; }
76 inline void SetRaidArrayIds(const Aws::Vector<Aws::String>& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds = value; }
77 inline void SetRaidArrayIds(Aws::Vector<Aws::String>&& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds = std::move(value); }
79 inline DescribeRaidArraysRequest& WithRaidArrayIds(Aws::Vector<Aws::String>&& value) { SetRaidArrayIds(std::move(value)); return *this;}
80 inline DescribeRaidArraysRequest& AddRaidArrayIds(const Aws::String& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(value); return *this; }
81 inline DescribeRaidArraysRequest& AddRaidArrayIds(Aws::String&& value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(std::move(value)); return *this; }
82 inline DescribeRaidArraysRequest& AddRaidArrayIds(const char* value) { m_raidArrayIdsHasBeenSet = true; m_raidArrayIds.push_back(value); return *this; }
84 private:
85
86 Aws::String m_instanceId;
87 bool m_instanceIdHasBeenSet = false;
88
89 Aws::String m_stackId;
90 bool m_stackIdHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_raidArrayIds;
93 bool m_raidArrayIdsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace OpsWorks
98} // namespace Aws
DescribeRaidArraysRequest & WithStackId(const Aws::String &value)
DescribeRaidArraysRequest & WithInstanceId(const Aws::String &value)
DescribeRaidArraysRequest & AddRaidArrayIds(const char *value)
DescribeRaidArraysRequest & AddRaidArrayIds(Aws::String &&value)
DescribeRaidArraysRequest & WithInstanceId(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetRaidArrayIds() const
void SetRaidArrayIds(const Aws::Vector< Aws::String > &value)
DescribeRaidArraysRequest & AddRaidArrayIds(const Aws::String &value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
DescribeRaidArraysRequest & WithStackId(Aws::String &&value)
DescribeRaidArraysRequest & WithStackId(const char *value)
DescribeRaidArraysRequest & WithInstanceId(Aws::String &&value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRaidArraysRequest & WithRaidArrayIds(Aws::Vector< Aws::String > &&value)
void SetRaidArrayIds(Aws::Vector< Aws::String > &&value)
DescribeRaidArraysRequest & WithRaidArrayIds(const 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