AWS SDK for C++  1.9.15
AWS SDK for C++
DetachStaticIpResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const Aws::Vector<Operation>& GetOperations() const{ return m_operations; }
42 
48  inline void SetOperations(const Aws::Vector<Operation>& value) { m_operations = value; }
49 
55  inline void SetOperations(Aws::Vector<Operation>&& value) { m_operations = std::move(value); }
56 
62  inline DetachStaticIpResult& WithOperations(const Aws::Vector<Operation>& value) { SetOperations(value); return *this;}
63 
69  inline DetachStaticIpResult& WithOperations(Aws::Vector<Operation>&& value) { SetOperations(std::move(value)); return *this;}
70 
76  inline DetachStaticIpResult& AddOperations(const Operation& value) { m_operations.push_back(value); return *this; }
77 
83  inline DetachStaticIpResult& AddOperations(Operation&& value) { m_operations.push_back(std::move(value)); return *this; }
84 
85  private:
86 
87  Aws::Vector<Operation> m_operations;
88  };
89 
90 } // namespace Model
91 } // namespace Lightsail
92 } // namespace Aws
Aws::Lightsail::Model::DetachStaticIpResult::operator=
DetachStaticIpResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::DetachStaticIpResult::WithOperations
DetachStaticIpResult & WithOperations(const Aws::Vector< Operation > &value)
Definition: DetachStaticIpResult.h:62
Aws::Lightsail::Model::Operation
Definition: Operation.h:37
Aws::Lightsail::Model::DetachStaticIpResult::AddOperations
DetachStaticIpResult & AddOperations(Operation &&value)
Definition: DetachStaticIpResult.h:83
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::DetachStaticIpResult::GetOperations
const Aws::Vector< Operation > & GetOperations() const
Definition: DetachStaticIpResult.h:41
AWSVector.h
Aws::Lightsail::Model::DetachStaticIpResult::WithOperations
DetachStaticIpResult & WithOperations(Aws::Vector< Operation > &&value)
Definition: DetachStaticIpResult.h:69
Aws::Lightsail::Model::DetachStaticIpResult::AddOperations
DetachStaticIpResult & AddOperations(const Operation &value)
Definition: DetachStaticIpResult.h:76
Aws::Lightsail::Model::DetachStaticIpResult::SetOperations
void SetOperations(Aws::Vector< Operation > &&value)
Definition: DetachStaticIpResult.h:55
Aws::Lightsail::Model::DetachStaticIpResult
Definition: DetachStaticIpResult.h:29
Lightsail_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::DetachStaticIpResult::SetOperations
void SetOperations(const Aws::Vector< Operation > &value)
Definition: DetachStaticIpResult.h:48
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Operation.h
Aws::Lightsail::Model::DetachStaticIpResult::DetachStaticIpResult
DetachStaticIpResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::DetachStaticIpResult::DetachStaticIpResult
DetachStaticIpResult()