AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeAdjustmentTypesResult.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<AdjustmentType>& GetAdjustmentTypes() const{ return m_adjustmentTypes; }
41 
45  inline void SetAdjustmentTypes(const Aws::Vector<AdjustmentType>& value) { m_adjustmentTypes = value; }
46 
50  inline void SetAdjustmentTypes(Aws::Vector<AdjustmentType>&& value) { m_adjustmentTypes = std::move(value); }
51 
55  inline DescribeAdjustmentTypesResult& WithAdjustmentTypes(const Aws::Vector<AdjustmentType>& value) { SetAdjustmentTypes(value); return *this;}
56 
60  inline DescribeAdjustmentTypesResult& WithAdjustmentTypes(Aws::Vector<AdjustmentType>&& value) { SetAdjustmentTypes(std::move(value)); return *this;}
61 
65  inline DescribeAdjustmentTypesResult& AddAdjustmentTypes(const AdjustmentType& value) { m_adjustmentTypes.push_back(value); return *this; }
66 
70  inline DescribeAdjustmentTypesResult& AddAdjustmentTypes(AdjustmentType&& value) { m_adjustmentTypes.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 DescribeAdjustmentTypesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
84 
85 
86  inline DescribeAdjustmentTypesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
87 
88  private:
89 
90  Aws::Vector<AdjustmentType> m_adjustmentTypes;
91 
92  ResponseMetadata m_responseMetadata;
93  };
94 
95 } // namespace Model
96 } // namespace AutoScaling
97 } // namespace Aws
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::SetAdjustmentTypes
void SetAdjustmentTypes(const Aws::Vector< AdjustmentType > &value)
Definition: DescribeAdjustmentTypesResult.h:45
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::DescribeAdjustmentTypesResult
DescribeAdjustmentTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::AddAdjustmentTypes
DescribeAdjustmentTypesResult & AddAdjustmentTypes(AdjustmentType &&value)
Definition: DescribeAdjustmentTypesResult.h:70
Aws::AutoScaling::Model::AdjustmentType
Definition: AdjustmentType.h:32
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::SetAdjustmentTypes
void SetAdjustmentTypes(Aws::Vector< AdjustmentType > &&value)
Definition: DescribeAdjustmentTypesResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::DescribeAdjustmentTypesResult
DescribeAdjustmentTypesResult()
AWSVector.h
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::GetAdjustmentTypes
const Aws::Vector< AdjustmentType > & GetAdjustmentTypes() const
Definition: DescribeAdjustmentTypesResult.h:40
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeAdjustmentTypesResult.h:77
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::AddAdjustmentTypes
DescribeAdjustmentTypesResult & AddAdjustmentTypes(const AdjustmentType &value)
Definition: DescribeAdjustmentTypesResult.h:65
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::WithAdjustmentTypes
DescribeAdjustmentTypesResult & WithAdjustmentTypes(Aws::Vector< AdjustmentType > &&value)
Definition: DescribeAdjustmentTypesResult.h:60
AutoScaling_EXPORTS.h
AdjustmentType.h
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeAdjustmentTypesResult.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::WithAdjustmentTypes
DescribeAdjustmentTypesResult & WithAdjustmentTypes(const Aws::Vector< AdjustmentType > &value)
Definition: DescribeAdjustmentTypesResult.h:55
ResponseMetadata.h
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::operator=
DescribeAdjustmentTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::WithResponseMetadata
DescribeAdjustmentTypesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeAdjustmentTypesResult.h:83
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeAdjustmentTypesResult.h:74
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult::WithResponseMetadata
DescribeAdjustmentTypesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeAdjustmentTypesResult.h:86
Aws::AutoScaling::Model::DescribeAdjustmentTypesResult
Definition: DescribeAdjustmentTypesResult.h:30