AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeScalingProcessTypesResult.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 
40  inline const Aws::Vector<ProcessType>& GetProcesses() const{ return m_processes; }
41 
45  inline void SetProcesses(const Aws::Vector<ProcessType>& value) { m_processes = value; }
46 
50  inline void SetProcesses(Aws::Vector<ProcessType>&& value) { m_processes = std::move(value); }
51 
55  inline DescribeScalingProcessTypesResult& WithProcesses(const Aws::Vector<ProcessType>& value) { SetProcesses(value); return *this;}
56 
60  inline DescribeScalingProcessTypesResult& WithProcesses(Aws::Vector<ProcessType>&& value) { SetProcesses(std::move(value)); return *this;}
61 
65  inline DescribeScalingProcessTypesResult& AddProcesses(const ProcessType& value) { m_processes.push_back(value); return *this; }
66 
70  inline DescribeScalingProcessTypesResult& AddProcesses(ProcessType&& value) { m_processes.push_back(std::move(value)); return *this; }
71 
72 
73 
74  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
75 
76 
77  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 
79 
80  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
81 
82 
83  inline DescribeScalingProcessTypesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
84 
85 
86  inline DescribeScalingProcessTypesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
87 
88  private:
89 
90  Aws::Vector<ProcessType> m_processes;
91 
92  ResponseMetadata m_responseMetadata;
93  };
94 
95 } // namespace Model
96 } // namespace AutoScaling
97 } // namespace Aws
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult
Definition: DescribeScalingProcessTypesResult.h:30
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::AddProcesses
DescribeScalingProcessTypesResult & AddProcesses(const ProcessType &value)
Definition: DescribeScalingProcessTypesResult.h:65
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::SetProcesses
void SetProcesses(Aws::Vector< ProcessType > &&value)
Definition: DescribeScalingProcessTypesResult.h:50
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeScalingProcessTypesResult.h:74
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ProcessType.h
Aws::AutoScaling::Model::ProcessType
Definition: ProcessType.h:35
AWSVector.h
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::DescribeScalingProcessTypesResult
DescribeScalingProcessTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::WithProcesses
DescribeScalingProcessTypesResult & WithProcesses(const Aws::Vector< ProcessType > &value)
Definition: DescribeScalingProcessTypesResult.h:55
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeScalingProcessTypesResult.h:80
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::DescribeScalingProcessTypesResult
DescribeScalingProcessTypesResult()
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::operator=
DescribeScalingProcessTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::WithProcesses
DescribeScalingProcessTypesResult & WithProcesses(Aws::Vector< ProcessType > &&value)
Definition: DescribeScalingProcessTypesResult.h:60
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::WithResponseMetadata
DescribeScalingProcessTypesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeScalingProcessTypesResult.h:86
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeScalingProcessTypesResult.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::AddProcesses
DescribeScalingProcessTypesResult & AddProcesses(ProcessType &&value)
Definition: DescribeScalingProcessTypesResult.h:70
ResponseMetadata.h
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::GetProcesses
const Aws::Vector< ProcessType > & GetProcesses() const
Definition: DescribeScalingProcessTypesResult.h:40
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::WithResponseMetadata
DescribeScalingProcessTypesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeScalingProcessTypesResult.h:83
Aws::AutoScaling::Model::DescribeScalingProcessTypesResult::SetProcesses
void SetProcesses(const Aws::Vector< ProcessType > &value)
Definition: DescribeScalingProcessTypesResult.h:45