AWS SDK for C++  1.9.160
AWS SDK for C++
DescribeLifecycleHookTypesResult.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<Aws::String>& GetLifecycleHookTypes() const{ return m_lifecycleHookTypes; }
41 
45  inline void SetLifecycleHookTypes(const Aws::Vector<Aws::String>& value) { m_lifecycleHookTypes = value; }
46 
50  inline void SetLifecycleHookTypes(Aws::Vector<Aws::String>&& value) { m_lifecycleHookTypes = std::move(value); }
51 
55  inline DescribeLifecycleHookTypesResult& WithLifecycleHookTypes(const Aws::Vector<Aws::String>& value) { SetLifecycleHookTypes(value); return *this;}
56 
60  inline DescribeLifecycleHookTypesResult& WithLifecycleHookTypes(Aws::Vector<Aws::String>&& value) { SetLifecycleHookTypes(std::move(value)); return *this;}
61 
65  inline DescribeLifecycleHookTypesResult& AddLifecycleHookTypes(const Aws::String& value) { m_lifecycleHookTypes.push_back(value); return *this; }
66 
70  inline DescribeLifecycleHookTypesResult& AddLifecycleHookTypes(Aws::String&& value) { m_lifecycleHookTypes.push_back(std::move(value)); return *this; }
71 
75  inline DescribeLifecycleHookTypesResult& AddLifecycleHookTypes(const char* value) { m_lifecycleHookTypes.push_back(value); return *this; }
76 
77 
78 
79  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 
81 
82  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 
84 
85  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 
87 
88  inline DescribeLifecycleHookTypesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
89 
90 
91  inline DescribeLifecycleHookTypesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 
93  private:
94 
95  Aws::Vector<Aws::String> m_lifecycleHookTypes;
96 
97  ResponseMetadata m_responseMetadata;
98  };
99 
100 } // namespace Model
101 } // namespace AutoScaling
102 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::WithResponseMetadata
DescribeLifecycleHookTypesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeLifecycleHookTypesResult.h:88
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::WithResponseMetadata
DescribeLifecycleHookTypesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeLifecycleHookTypesResult.h:91
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::AddLifecycleHookTypes
DescribeLifecycleHookTypesResult & AddLifecycleHookTypes(const char *value)
Definition: DescribeLifecycleHookTypesResult.h:75
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::AddLifecycleHookTypes
DescribeLifecycleHookTypesResult & AddLifecycleHookTypes(Aws::String &&value)
Definition: DescribeLifecycleHookTypesResult.h:70
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::WithLifecycleHookTypes
DescribeLifecycleHookTypesResult & WithLifecycleHookTypes(const Aws::Vector< Aws::String > &value)
Definition: DescribeLifecycleHookTypesResult.h:55
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::DescribeLifecycleHookTypesResult
DescribeLifecycleHookTypesResult()
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::operator=
DescribeLifecycleHookTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSVector.h
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult
Definition: DescribeLifecycleHookTypesResult.h:30
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::WithLifecycleHookTypes
DescribeLifecycleHookTypesResult & WithLifecycleHookTypes(Aws::Vector< Aws::String > &&value)
Definition: DescribeLifecycleHookTypesResult.h:60
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeLifecycleHookTypesResult.h:82
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeLifecycleHookTypesResult.h:79
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::SetLifecycleHookTypes
void SetLifecycleHookTypes(Aws::Vector< Aws::String > &&value)
Definition: DescribeLifecycleHookTypesResult.h:50
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
AWSString.h
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::SetLifecycleHookTypes
void SetLifecycleHookTypes(const Aws::Vector< Aws::String > &value)
Definition: DescribeLifecycleHookTypesResult.h:45
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::GetLifecycleHookTypes
const Aws::Vector< Aws::String > & GetLifecycleHookTypes() const
Definition: DescribeLifecycleHookTypesResult.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::DescribeLifecycleHookTypesResult
DescribeLifecycleHookTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::AddLifecycleHookTypes
DescribeLifecycleHookTypesResult & AddLifecycleHookTypes(const Aws::String &value)
Definition: DescribeLifecycleHookTypesResult.h:65
Aws::AutoScaling::Model::DescribeLifecycleHookTypesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeLifecycleHookTypesResult.h:85