AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeAppsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace OpsWorks
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<App>& GetApps() const{ return m_apps; }
46 
50  inline void SetApps(const Aws::Vector<App>& value) { m_apps = value; }
51 
55  inline void SetApps(Aws::Vector<App>&& value) { m_apps = std::move(value); }
56 
60  inline DescribeAppsResult& WithApps(const Aws::Vector<App>& value) { SetApps(value); return *this;}
61 
65  inline DescribeAppsResult& WithApps(Aws::Vector<App>&& value) { SetApps(std::move(value)); return *this;}
66 
70  inline DescribeAppsResult& AddApps(const App& value) { m_apps.push_back(value); return *this; }
71 
75  inline DescribeAppsResult& AddApps(App&& value) { m_apps.push_back(std::move(value)); return *this; }
76 
77  private:
78 
79  Aws::Vector<App> m_apps;
80  };
81 
82 } // namespace Model
83 } // namespace OpsWorks
84 } // namespace Aws
Aws::OpsWorks::Model::DescribeAppsResult::AddApps
DescribeAppsResult & AddApps(const App &value)
Definition: DescribeAppsResult.h:70
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::DescribeAppsResult::operator=
DescribeAppsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::DescribeAppsResult::SetApps
void SetApps(const Aws::Vector< App > &value)
Definition: DescribeAppsResult.h:50
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeAppsResult::WithApps
DescribeAppsResult & WithApps(Aws::Vector< App > &&value)
Definition: DescribeAppsResult.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeAppsResult::SetApps
void SetApps(Aws::Vector< App > &&value)
Definition: DescribeAppsResult.h:55
Aws::OpsWorks::Model::DescribeAppsResult::AddApps
DescribeAppsResult & AddApps(App &&value)
Definition: DescribeAppsResult.h:75
Aws::OpsWorks::Model::DescribeAppsResult
Definition: DescribeAppsResult.h:35
Aws::OpsWorks::Model::App
Definition: App.h:40
Aws::OpsWorks::Model::DescribeAppsResult::WithApps
DescribeAppsResult & WithApps(const Aws::Vector< App > &value)
Definition: DescribeAppsResult.h:60
Aws::OpsWorks::Model::DescribeAppsResult::GetApps
const Aws::Vector< App > & GetApps() const
Definition: DescribeAppsResult.h:45
Aws::OpsWorks::Model::DescribeAppsResult::DescribeAppsResult
DescribeAppsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeAppsResult::DescribeAppsResult
DescribeAppsResult()
App.h