AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeAppsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace OpsWorks
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetStackId() const{ return m_stackId; }
43 
48  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
49 
54  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
55 
60  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
61 
66  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
67 
72  inline DescribeAppsRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
73 
78  inline DescribeAppsRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
79 
84  inline DescribeAppsRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
85 
86 
92  inline const Aws::Vector<Aws::String>& GetAppIds() const{ return m_appIds; }
93 
99  inline bool AppIdsHasBeenSet() const { return m_appIdsHasBeenSet; }
100 
106  inline void SetAppIds(const Aws::Vector<Aws::String>& value) { m_appIdsHasBeenSet = true; m_appIds = value; }
107 
113  inline void SetAppIds(Aws::Vector<Aws::String>&& value) { m_appIdsHasBeenSet = true; m_appIds = std::move(value); }
114 
120  inline DescribeAppsRequest& WithAppIds(const Aws::Vector<Aws::String>& value) { SetAppIds(value); return *this;}
121 
127  inline DescribeAppsRequest& WithAppIds(Aws::Vector<Aws::String>&& value) { SetAppIds(std::move(value)); return *this;}
128 
134  inline DescribeAppsRequest& AddAppIds(const Aws::String& value) { m_appIdsHasBeenSet = true; m_appIds.push_back(value); return *this; }
135 
141  inline DescribeAppsRequest& AddAppIds(Aws::String&& value) { m_appIdsHasBeenSet = true; m_appIds.push_back(std::move(value)); return *this; }
142 
148  inline DescribeAppsRequest& AddAppIds(const char* value) { m_appIdsHasBeenSet = true; m_appIds.push_back(value); return *this; }
149 
150  private:
151 
152  Aws::String m_stackId;
153  bool m_stackIdHasBeenSet;
154 
155  Aws::Vector<Aws::String> m_appIds;
156  bool m_appIdsHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace OpsWorks
161 } // namespace Aws
Aws::OpsWorks::Model::DescribeAppsRequest::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: DescribeAppsRequest.h:48
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeAppsRequest::WithAppIds
DescribeAppsRequest & WithAppIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeAppsRequest.h:120
Aws::OpsWorks::Model::DescribeAppsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::OpsWorks::Model::DescribeAppsRequest::WithStackId
DescribeAppsRequest & WithStackId(const char *value)
Definition: DescribeAppsRequest.h:84
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
Aws::OpsWorks::Model::DescribeAppsRequest::SetAppIds
void SetAppIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeAppsRequest.h:106
Aws::OpsWorks::Model::DescribeAppsRequest::AddAppIds
DescribeAppsRequest & AddAppIds(const Aws::String &value)
Definition: DescribeAppsRequest.h:134
OpsWorksRequest.h
Aws::OpsWorks::Model::DescribeAppsRequest::AddAppIds
DescribeAppsRequest & AddAppIds(const char *value)
Definition: DescribeAppsRequest.h:148
Aws::OpsWorks::Model::DescribeAppsRequest::WithStackId
DescribeAppsRequest & WithStackId(const Aws::String &value)
Definition: DescribeAppsRequest.h:72
Aws::OpsWorks::Model::DescribeAppsRequest::WithAppIds
DescribeAppsRequest & WithAppIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeAppsRequest.h:127
Aws::OpsWorks::Model::DescribeAppsRequest::SetStackId
void SetStackId(const Aws::String &value)
Definition: DescribeAppsRequest.h:54
Aws::OpsWorks::Model::DescribeAppsRequest
Definition: DescribeAppsRequest.h:23
AWSString.h
Aws::OpsWorks::Model::DescribeAppsRequest::DescribeAppsRequest
DescribeAppsRequest()
Aws::OpsWorks::Model::DescribeAppsRequest::AddAppIds
DescribeAppsRequest & AddAppIds(Aws::String &&value)
Definition: DescribeAppsRequest.h:141
Aws::OpsWorks::Model::DescribeAppsRequest::SetAppIds
void SetAppIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeAppsRequest.h:113
Aws::OpsWorks::Model::DescribeAppsRequest::GetStackId
const Aws::String & GetStackId() const
Definition: DescribeAppsRequest.h:42
Aws::OpsWorks::Model::DescribeAppsRequest::WithStackId
DescribeAppsRequest & WithStackId(Aws::String &&value)
Definition: DescribeAppsRequest.h:78
Aws::OpsWorks::Model::DescribeAppsRequest::SetStackId
void SetStackId(const char *value)
Definition: DescribeAppsRequest.h:66
Aws::OpsWorks::Model::DescribeAppsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DescribeAppsRequest::AppIdsHasBeenSet
bool AppIdsHasBeenSet() const
Definition: DescribeAppsRequest.h:99
Aws::OpsWorks::Model::DescribeAppsRequest::SetStackId
void SetStackId(Aws::String &&value)
Definition: DescribeAppsRequest.h:60
Aws::OpsWorks::Model::DescribeAppsRequest::GetAppIds
const Aws::Vector< Aws::String > & GetAppIds() const
Definition: DescribeAppsRequest.h:92
Aws::OpsWorks::Model::DescribeAppsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAppsRequest.h:31