AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetachInstancesResult.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/autoscaling/model/ResponseMetadata.h>
10#include <aws/autoscaling/model/Activity.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace AutoScaling
26{
27namespace Model
28{
30 {
31 public:
32 AWS_AUTOSCALING_API DetachInstancesResult();
35
36
38
42 inline const Aws::Vector<Activity>& GetActivities() const{ return m_activities; }
43 inline void SetActivities(const Aws::Vector<Activity>& value) { m_activities = value; }
44 inline void SetActivities(Aws::Vector<Activity>&& value) { m_activities = std::move(value); }
45 inline DetachInstancesResult& WithActivities(const Aws::Vector<Activity>& value) { SetActivities(value); return *this;}
46 inline DetachInstancesResult& WithActivities(Aws::Vector<Activity>&& value) { SetActivities(std::move(value)); return *this;}
47 inline DetachInstancesResult& AddActivities(const Activity& value) { m_activities.push_back(value); return *this; }
48 inline DetachInstancesResult& AddActivities(Activity&& value) { m_activities.push_back(std::move(value)); return *this; }
50
52
53 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
55 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
57 inline DetachInstancesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
59 private:
60
61 Aws::Vector<Activity> m_activities;
62
63 ResponseMetadata m_responseMetadata;
64 };
65
66} // namespace Model
67} // namespace AutoScaling
68} // namespace Aws
DetachInstancesResult & AddActivities(Activity &&value)
AWS_AUTOSCALING_API DetachInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetActivities(Aws::Vector< Activity > &&value)
DetachInstancesResult & WithActivities(const Aws::Vector< Activity > &value)
const ResponseMetadata & GetResponseMetadata() const
AWS_AUTOSCALING_API DetachInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< Activity > & GetActivities() const
DetachInstancesResult & AddActivities(const Activity &value)
void SetResponseMetadata(const ResponseMetadata &value)
DetachInstancesResult & WithResponseMetadata(const ResponseMetadata &value)
void SetActivities(const Aws::Vector< Activity > &value)
DetachInstancesResult & WithActivities(Aws::Vector< Activity > &&value)
DetachInstancesResult & WithResponseMetadata(ResponseMetadata &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument