AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeAppsRequest.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 DescribeAppsRequest() = 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 "DescribeApps"; }
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 DescribeAppsRequest& WithStackId(StackIdT&& value) { SetStackId(std::forward<StackIdT>(value)); return *this;}
50
52
57 inline const Aws::Vector<Aws::String>& GetAppIds() const { return m_appIds; }
58 inline bool AppIdsHasBeenSet() const { return m_appIdsHasBeenSet; }
59 template<typename AppIdsT = Aws::Vector<Aws::String>>
60 void SetAppIds(AppIdsT&& value) { m_appIdsHasBeenSet = true; m_appIds = std::forward<AppIdsT>(value); }
61 template<typename AppIdsT = Aws::Vector<Aws::String>>
62 DescribeAppsRequest& WithAppIds(AppIdsT&& value) { SetAppIds(std::forward<AppIdsT>(value)); return *this;}
63 template<typename AppIdsT = Aws::String>
64 DescribeAppsRequest& AddAppIds(AppIdsT&& value) { m_appIdsHasBeenSet = true; m_appIds.emplace_back(std::forward<AppIdsT>(value)); return *this; }
66 private:
67
68 Aws::String m_stackId;
69 bool m_stackIdHasBeenSet = false;
70
72 bool m_appIdsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace OpsWorks
77} // namespace Aws
DescribeAppsRequest & WithStackId(StackIdT &&value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OPSWORKS_API Aws::String SerializePayload() const override
AWS_OPSWORKS_API DescribeAppsRequest()=default
virtual const char * GetServiceRequestName() const override
DescribeAppsRequest & WithAppIds(AppIdsT &&value)
const Aws::Vector< Aws::String > & GetAppIds() const
DescribeAppsRequest & AddAppIds(AppIdsT &&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