AWS SDK for C++  1.9.108
AWS SDK for C++
ExitStandbyResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace AutoScaling
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<Activity>& GetActivities() const{ return m_activities; }
42 
47  inline void SetActivities(const Aws::Vector<Activity>& value) { m_activities = value; }
48 
53  inline void SetActivities(Aws::Vector<Activity>&& value) { m_activities = std::move(value); }
54 
59  inline ExitStandbyResult& WithActivities(const Aws::Vector<Activity>& value) { SetActivities(value); return *this;}
60 
65  inline ExitStandbyResult& WithActivities(Aws::Vector<Activity>&& value) { SetActivities(std::move(value)); return *this;}
66 
71  inline ExitStandbyResult& AddActivities(const Activity& value) { m_activities.push_back(value); return *this; }
72 
77  inline ExitStandbyResult& AddActivities(Activity&& value) { m_activities.push_back(std::move(value)); return *this; }
78 
79 
80 
81  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
82 
83 
84  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
85 
86 
87  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
88 
89 
90  inline ExitStandbyResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
91 
92 
93  inline ExitStandbyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
94 
95  private:
96 
97  Aws::Vector<Activity> m_activities;
98 
99  ResponseMetadata m_responseMetadata;
100  };
101 
102 } // namespace Model
103 } // namespace AutoScaling
104 } // namespace Aws
Aws::AutoScaling::Model::ExitStandbyResult::operator=
ExitStandbyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::ExitStandbyResult::ExitStandbyResult
ExitStandbyResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::ExitStandbyResult::GetActivities
const Aws::Vector< Activity > & GetActivities() const
Definition: ExitStandbyResult.h:41
Aws::AutoScaling::Model::ExitStandbyResult
Definition: ExitStandbyResult.h:30
Aws::AutoScaling::Model::ExitStandbyResult::SetActivities
void SetActivities(const Aws::Vector< Activity > &value)
Definition: ExitStandbyResult.h:47
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AutoScaling::Model::ExitStandbyResult::SetActivities
void SetActivities(Aws::Vector< Activity > &&value)
Definition: ExitStandbyResult.h:53
Aws::AutoScaling::Model::ExitStandbyResult::WithActivities
ExitStandbyResult & WithActivities(Aws::Vector< Activity > &&value)
Definition: ExitStandbyResult.h:65
AWSVector.h
Aws::AutoScaling::Model::Activity
Definition: Activity.h:36
Aws::AutoScaling::Model::ExitStandbyResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ExitStandbyResult.h:87
Aws::AutoScaling::Model::ExitStandbyResult::WithResponseMetadata
ExitStandbyResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ExitStandbyResult.h:90
Aws::AutoScaling::Model::ExitStandbyResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ExitStandbyResult.h:81
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Activity.h
Aws::AutoScaling::Model::ExitStandbyResult::ExitStandbyResult
ExitStandbyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AutoScaling_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::ExitStandbyResult::AddActivities
ExitStandbyResult & AddActivities(Activity &&value)
Definition: ExitStandbyResult.h:77
Aws::AutoScaling::Model::ExitStandbyResult::AddActivities
ExitStandbyResult & AddActivities(const Activity &value)
Definition: ExitStandbyResult.h:71
ResponseMetadata.h
Aws::AutoScaling::Model::ExitStandbyResult::WithActivities
ExitStandbyResult & WithActivities(const Aws::Vector< Activity > &value)
Definition: ExitStandbyResult.h:59
Aws::AutoScaling::Model::ExitStandbyResult::WithResponseMetadata
ExitStandbyResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ExitStandbyResult.h:93
Aws::AutoScaling::Model::ExitStandbyResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ExitStandbyResult.h:84