AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 DescribeAppsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
49 inline DescribeAppsRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
50 inline DescribeAppsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
52
54
59 inline const Aws::Vector<Aws::String>& GetAppIds() const{ return m_appIds; }
60 inline bool AppIdsHasBeenSet() const { return m_appIdsHasBeenSet; }
61 inline void SetAppIds(const Aws::Vector<Aws::String>& value) { m_appIdsHasBeenSet = true; m_appIds = value; }
62 inline void SetAppIds(Aws::Vector<Aws::String>&& value) { m_appIdsHasBeenSet = true; m_appIds = std::move(value); }
63 inline DescribeAppsRequest& WithAppIds(const Aws::Vector<Aws::String>& value) { SetAppIds(value); return *this;}
64 inline DescribeAppsRequest& WithAppIds(Aws::Vector<Aws::String>&& value) { SetAppIds(std::move(value)); return *this;}
65 inline DescribeAppsRequest& AddAppIds(const Aws::String& value) { m_appIdsHasBeenSet = true; m_appIds.push_back(value); return *this; }
66 inline DescribeAppsRequest& AddAppIds(Aws::String&& value) { m_appIdsHasBeenSet = true; m_appIds.push_back(std::move(value)); return *this; }
67 inline DescribeAppsRequest& AddAppIds(const char* value) { m_appIdsHasBeenSet = true; m_appIds.push_back(value); return *this; }
69 private:
70
71 Aws::String m_stackId;
72 bool m_stackIdHasBeenSet = false;
73
75 bool m_appIdsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace OpsWorks
80} // namespace Aws
void SetAppIds(const Aws::Vector< Aws::String > &value)
DescribeAppsRequest & AddAppIds(const char *value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeAppsRequest & WithAppIds(const Aws::Vector< Aws::String > &value)
DescribeAppsRequest & WithStackId(const char *value)
DescribeAppsRequest & WithStackId(const Aws::String &value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetAppIds(Aws::Vector< Aws::String > &&value)
DescribeAppsRequest & AddAppIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAppIds() const
DescribeAppsRequest & WithAppIds(Aws::Vector< Aws::String > &&value)
DescribeAppsRequest & WithStackId(Aws::String &&value)
void SetStackId(const Aws::String &value)
DescribeAppsRequest & AddAppIds(const 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