AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeScalingActivitiesResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace AutoScaling
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::Vector<Activity>& GetActivities() const{ return m_activities; }
43 
48  inline void SetActivities(const Aws::Vector<Activity>& value) { m_activities = value; }
49 
54  inline void SetActivities(Aws::Vector<Activity>&& value) { m_activities = std::move(value); }
55 
60  inline DescribeScalingActivitiesResult& WithActivities(const Aws::Vector<Activity>& value) { SetActivities(value); return *this;}
61 
66  inline DescribeScalingActivitiesResult& WithActivities(Aws::Vector<Activity>&& value) { SetActivities(std::move(value)); return *this;}
67 
72  inline DescribeScalingActivitiesResult& AddActivities(const Activity& value) { m_activities.push_back(value); return *this; }
73 
78  inline DescribeScalingActivitiesResult& AddActivities(Activity&& value) { m_activities.push_back(std::move(value)); return *this; }
79 
80 
87  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 
95  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
96 
103  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
104 
111  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
112 
119  inline DescribeScalingActivitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
120 
127  inline DescribeScalingActivitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
128 
135  inline DescribeScalingActivitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
136 
137 
138 
139  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
140 
141 
142  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
143 
144 
145  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
146 
147 
148  inline DescribeScalingActivitiesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
149 
150 
151  inline DescribeScalingActivitiesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::Vector<Activity> m_activities;
156 
157  Aws::String m_nextToken;
158 
159  ResponseMetadata m_responseMetadata;
160  };
161 
162 } // namespace Model
163 } // namespace AutoScaling
164 } // namespace Aws
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::WithNextToken
DescribeScalingActivitiesResult & WithNextToken(const Aws::String &value)
Definition: DescribeScalingActivitiesResult.h:119
Aws::AutoScaling::Model::DescribeScalingActivitiesResult
Definition: DescribeScalingActivitiesResult.h:31
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::SetActivities
void SetActivities(const Aws::Vector< Activity > &value)
Definition: DescribeScalingActivitiesResult.h:48
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::WithNextToken
DescribeScalingActivitiesResult & WithNextToken(Aws::String &&value)
Definition: DescribeScalingActivitiesResult.h:127
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeScalingActivitiesResult.h:87
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::WithResponseMetadata
DescribeScalingActivitiesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeScalingActivitiesResult.h:148
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::DescribeScalingActivitiesResult
DescribeScalingActivitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::operator=
DescribeScalingActivitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSVector.h
Aws::AutoScaling::Model::Activity
Definition: Activity.h:36
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeScalingActivitiesResult.h:95
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeScalingActivitiesResult.h:145
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::WithResponseMetadata
DescribeScalingActivitiesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeScalingActivitiesResult.h:151
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeScalingActivitiesResult.h:142
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::WithNextToken
DescribeScalingActivitiesResult & WithNextToken(const char *value)
Definition: DescribeScalingActivitiesResult.h:135
Activity.h
AWSString.h
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::GetActivities
const Aws::Vector< Activity > & GetActivities() const
Definition: DescribeScalingActivitiesResult.h:42
AutoScaling_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeScalingActivitiesResult.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::WithActivities
DescribeScalingActivitiesResult & WithActivities(const Aws::Vector< Activity > &value)
Definition: DescribeScalingActivitiesResult.h:60
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeScalingActivitiesResult.h:139
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::AddActivities
DescribeScalingActivitiesResult & AddActivities(Activity &&value)
Definition: DescribeScalingActivitiesResult.h:78
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::DescribeScalingActivitiesResult
DescribeScalingActivitiesResult()
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::WithActivities
DescribeScalingActivitiesResult & WithActivities(Aws::Vector< Activity > &&value)
Definition: DescribeScalingActivitiesResult.h:66
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::AddActivities
DescribeScalingActivitiesResult & AddActivities(const Activity &value)
Definition: DescribeScalingActivitiesResult.h:72
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::SetActivities
void SetActivities(Aws::Vector< Activity > &&value)
Definition: DescribeScalingActivitiesResult.h:54
Aws::AutoScaling::Model::DescribeScalingActivitiesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeScalingActivitiesResult.h:103