AWS SDK for C++  1.9.108
AWS SDK for C++
UpdateDistributionBundleResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Lightsail
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const Operation& GetOperation() const{ return m_operation; }
37 
38 
39  inline void SetOperation(const Operation& value) { m_operation = value; }
40 
41 
42  inline void SetOperation(Operation&& value) { m_operation = std::move(value); }
43 
44 
45  inline UpdateDistributionBundleResult& WithOperation(const Operation& value) { SetOperation(value); return *this;}
46 
47 
48  inline UpdateDistributionBundleResult& WithOperation(Operation&& value) { SetOperation(std::move(value)); return *this;}
49 
50  private:
51 
52  Operation m_operation;
53  };
54 
55 } // namespace Model
56 } // namespace Lightsail
57 } // namespace Aws
Aws::Lightsail::Model::UpdateDistributionBundleResult::operator=
UpdateDistributionBundleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::Operation
Definition: Operation.h:37
Aws::Lightsail::Model::UpdateDistributionBundleResult::WithOperation
UpdateDistributionBundleResult & WithOperation(Operation &&value)
Definition: UpdateDistributionBundleResult.h:48
Aws::Lightsail::Model::UpdateDistributionBundleResult::WithOperation
UpdateDistributionBundleResult & WithOperation(const Operation &value)
Definition: UpdateDistributionBundleResult.h:45
Aws::Lightsail::Model::UpdateDistributionBundleResult::SetOperation
void SetOperation(const Operation &value)
Definition: UpdateDistributionBundleResult.h:39
Aws::Lightsail::Model::UpdateDistributionBundleResult::UpdateDistributionBundleResult
UpdateDistributionBundleResult()
Lightsail_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::UpdateDistributionBundleResult::UpdateDistributionBundleResult
UpdateDistributionBundleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::UpdateDistributionBundleResult::SetOperation
void SetOperation(Operation &&value)
Definition: UpdateDistributionBundleResult.h:42
Aws::Lightsail::Model::UpdateDistributionBundleResult
Definition: UpdateDistributionBundleResult.h:28
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Operation.h
Aws::Lightsail::Model::UpdateDistributionBundleResult::GetOperation
const Operation & GetOperation() const
Definition: UpdateDistributionBundleResult.h:36